Commit graph

1105 commits

Author SHA1 Message Date
Krzysztof Wicher
2a84c13817 add -SharedRuntime switch support 2016-05-27 12:19:53 -07:00
Eric Erhardt
ee7372c2a1 Move update-dependencies under build_projects. 2016-05-25 22:06:59 -05:00
Eric Erhardt
c97648e684 Add support to update-dependencies to not update the dependencies in a folder.
Folders can opt-in to not getting their dependencies updated by placing a '.noautoupdate' file in the folder of their project.json.
2016-05-25 22:05:06 -05:00
Eric Erhardt
6fe3f86140 Fix update-dependencies to read all package versions from Latest_Packages.txt. 2016-05-25 22:05:06 -05:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Eric Erhardt
1de1ecc4cb Merge pull request #3217 from eerhardt/FixBuild
Add NUGET and GITHUB environment variables to the dockerrun.sh file.
2016-05-24 13:22:32 -05:00
Livar
fe7b519722 Merge pull request #3215 from eerhardt/netcore-rc3
Upgrade to CoreFX rc3
2016-05-24 10:33:59 -07:00
Eric Erhardt
f9d266157d Add NUGET and GITHUB environment variables to the dockerrun.sh file. 2016-05-24 09:45:20 -05:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Livar Cunha
f1d781a675 Fixing a couple of dependency versions for the update-tool and dotnet 2016-05-23 17:04:36 -07:00
Sridhar Periyasamy
d2188cd95a Move the CLI corefx dependencies from RC2 to RC3 - rc3-24113-00.
- Disable crossgen for windows.Tracked by - https://github.com/dotnet/cli/issues/3059
- And also fix #2974
2016-05-23 17:04:29 -07:00
Krzysztof Wicher
5a77b03f36 add path to the front of the variable instead of the back 2016-05-23 12:48:53 -07:00
Eric Erhardt
78a70f049a Remove duplicated install scripts.
Please use `dotnet-install` instead.
2016-05-20 22:09:36 -05:00
Krzysztof Wicher
b939c88e0c remove check for gettext dependency in install.sh 2016-05-20 10:59:12 -07:00
Eric Erhardt
4711f5983f Merge pull request #3139 from eerhardt/InstallChannel
Change the default channel in `dotnet-install` scripts to "preview".
2016-05-19 19:07:04 -05:00
Bill Wert
ed3bd312cf Fix warnings in project.json
PR #2493 introduced the new project.json schema. The tree has 118 files
with the old schema, which added several hundred warnings.

This change can't go in until PR #2864 does - it relies on those bug
fixes.
2016-05-19 11:51:49 -07:00
Eric Erhardt
bf9b5a9288 Change the default channel in dotnet-install scripts to "preview". 2016-05-19 13:36:24 -05:00
Bryan Thornbury
99aa2b8c9a Merge pull request #3042 from dotnet/rich-script
Update uninstall script to correctly target install root
2016-05-18 10:07:00 -07:00
Bryan
584bd3e72d Clean + fixup 2016-05-18 09:32:48 -07:00
Eric Erhardt
da41168a12 Fix the update-dependencies project so it builds and runs again. 2016-05-16 19:10:04 -05:00
Bryan
7bf08c5bd5 Bring Host build into separate project 2016-05-16 14:55:15 -05:00
Richard Lander
13d760c6a4 Remove .nuget dir on uninstall 2016-05-14 23:57:25 -07:00
Richard Lander
48712f9e54 Change to correct variable 2016-05-14 21:46:25 -07:00
Senthil
93233fd496 Merge pull request #3018 from schellap/mxr-hlp
Help message for dotnet
2016-05-14 21:40:47 -07:00
Senthil
547b97a195 Help message for dotnet 2016-05-14 03:35:56 -07:00
Bryan Thornbury
b23feed7c8 debian package uninstallation script (#3027)
* debian package uninstallation script

* Script to remove/uninstall dotnet pkgs from a OSX machine.

* name change of deb uninstall script

* Address PR feedback

Changes to fail the script if the 'pkgutil --forget' command fails.
2016-05-13 20:37:20 -07:00
Eric Erhardt
eb7054c90d Merge pull request #3013 from eerhardt/StreamForwarder
Console.Write() doesn't show output until a newline
2016-05-13 22:09:55 -05:00
Eric Erhardt
c8c8dbb2e7 Merge pull request #3028 from eerhardt/FixPublish
Fix publish CoreHost NuGet packages
2016-05-13 20:26:56 -05:00
Eric Erhardt
9b80eda72a Address PR review. 2016-05-13 18:13:34 -05:00
Eric Erhardt
572d68de7e Fixing where the CoreHost packages are published to the correct version folder.
Also fixing 'PullNupkgFilesFromBlob' target to no longer include the hack looking for the CoreHost packages under a "preview" version folder.

Fix #3012
2016-05-13 14:43:08 -05:00
Eric Erhardt
01b7bb439a Merge remote-tracking branch 'upstream/weshaggard-PublishPackagesToNuget' into FixPublish 2016-05-13 14:02:05 -05:00
Bryan
f0cc32e1ee move all return statements to exit 0 2016-05-13 11:39:28 -07:00
Eric Erhardt
6bf59ffde6 Console.Write() doesn't show output until a newline
When running an app with `dotnet run`, we are redirecting the standard out and error just to print it out to our standard out and error. However, we are batching the output until we hit a newline, which isn't ideal for console apps.

To fix this, `dotnet run` no longer redirects the standard out and error.

Fix #2777
2016-05-13 09:03:35 -05:00
Sridhar Periyasamy
a6cc2b07dd Update nuget version to 3.5.0-rc-1285
This is required to update the corefx dependencies from RC2 to RC3. Some
of the corefx libs have 'netstandard1.6' as TFM and this version of Nuget
supports that TFM.

Also the 'VersionRange.IncludePrerelease' has been removed from nuget and by
default 'VersionRange.Satisfies' returns true for any prerelease version.
2016-05-12 21:56:56 -07:00
Pavel Krymets
b8dff69cc1 Revert "Revert "Add performance tests"" (#2820) 2016-05-12 10:33:32 -07:00
PiotrP
d906524dec Fix install scripts to deal with content type change. 2016-05-12 10:25:49 -05:00
Eric Erhardt
1923b1ffdf Merge pull request #2745 from dotnet/set-content-type-for-versions
set-content-type-for-versions
2016-05-11 13:00:50 -05:00
Sridhar Periyasamy
2d435ac880 Update the install scripts to use the preview channel.
Also the default now is the beta channel which has the latest 'preview1'
builds.
2016-05-10 15:35:10 -07:00
Sridhar Periyasamy
1b2b83b6db Upgrade the RC2 branding to RC3.
The following packages are changing:

Microsoft.NetCore.App: 1.0.0-rc2-3002702 -> 1.0.0-rc3-002702
Microsoft.NETCore.DotNetHost: 1.0.1-rc2-002702-00 -> 1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostPolicy: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00
Microsoft.NETCore.DotNetHostResolver: 1.0.1-rc2-002702-00 ->
1.0.1-rc3-002702-00

Also publishing the *deb file to teh debian repo feed is disabled -
https://github.com/dotnet/cli/issues/2973
2016-05-10 13:36:20 -07:00
Sridhar Periyasamy
5496d92144 Add the correct channel to get the debian package names. 2016-05-09 11:48:36 -07:00
Piotr Puszkiewicz
1033e61d57 preview1 --> preview2
Moves CLI version suffix from preview1 to preview2
Sets channel for preview2 to 1.0.0-preview2, abandoning the Beta channel to the 1.0.0-preview1 release. Once @sokket's publishing cleanup work is complete we can re-converge the channels if desired.
2016-05-09 02:41:11 -07:00
Sridhar Periyasamy
566a76e5d3 Pass the correct version suffix in the build scripts 2016-05-07 23:23:31 -07:00
Eric Erhardt
c867787675 Fixing the PullNupkgFilesFromBlob script to look for the corehost and metapackage nupkgs under "preview1" instead of
finding the old "rc2" packages.
2016-05-07 14:57:28 -05:00
Bryan
abc155e273 make versions consistent for PackCommand, add back * to test packages, remove --version-suffix from publish 2016-05-05 11:06:02 -07:00
Piotr Puszkiewicz
51968b7105 Remove redundant ReleaseSuffix 2016-05-05 11:06:01 -07:00
PiotrP
fdf70b7a51 Cleaning up ARP entries. 2016-05-05 11:06:00 -07:00
Bryan
94840de4e1 fixup all references to the right version suffixes 2016-05-05 11:05:59 -07:00
Sridhar Periyasamy
8b55c50011 Fix PublishTargets to use the correct Shared Host Nuget Version.
Also update the VersionSuffix to use the ReleaseSuffix as before.
2016-05-05 11:05:58 -07:00
Bryan
d1cd3703ac update rc2-preview1 to preview1 2016-05-05 11:05:58 -07:00
Bryan
5bcc4c91c5 add suffix to projectmodel.workspaces, use commit count in pack so version suffix is untouched. 2016-05-05 11:05:57 -07:00
Sridhar Periyasamy
a01fda9856 Fix host version through out the builds.
Refactor HostVersion into its own class and use it everywhere host
artifacts are created. This includes the
- host nuget packages
- host installers (msi, pkg, deb)
2016-05-05 11:05:56 -07:00
Piotr Puszkiewicz
c3fe0d062f Fix package versions 2016-05-05 11:05:55 -07:00
PiotrP
82e6b0408a WiP 2016-05-05 11:05:54 -07:00
Eric Erhardt
c0aeb91d61 Merge pull request #2878 from rrelyea/rrelyea/updateNugetVersions
Update version number of Nuget binaries to 3.5.0-beta
2016-05-04 18:04:31 -05:00
Rob Relyea
804b0eea97 Update version number of Nuget binaries to 3.5.0-beta (now w/o buildnumbers) 2016-05-04 13:14:02 -07:00
Krzysztof Wicher
b18df1c51c fix default INSTALL_DIR issue in dotnet-install.sh 2016-05-04 11:55:06 -07:00
Alex Panov
0d6b3c8482 Update NuGet to 3.5.0-beta-1246 2016-05-03 17:34:46 -07:00
Sridhar Periyasamy
3b48b6b4e9 Merge pull request #2560 from Sridhar-MS/crossgen-tests
Add crossgen tests
2016-05-03 14:09:55 -07:00
Piotr Puszkiewicz
34a8a5ad11 Merge pull request #2789 from Sridhar-MS/msi-2713
Change the host MSI dependency key for correct reference counting.
2016-05-03 13:43:20 -07:00
Sridhar Periyasamy
b567bc82c3 Add crossgen tests
Simple tests which does static analysis of managed assemblies metadata to
make sure that they are crossgened. Currently it verifies that all the
assemblies in CLI SDK and SharedFx directroty are crossgened.
2016-05-03 11:35:16 -07:00
Andrew Stanton-Nurse
08c4aae6a9 trim build dependencies from output 2016-05-02 19:51:12 -07:00
Sridhar Periyasamy
b35ba10ec3 Change the host MSI dependency key for correct reference counting.
Earlier the host MSI dependency key changed for every version. Therefore
the following stesp uninstalled host aggresively.
- Install a older dotnet CLI bundle (say v1)
- Install a newer dotnet CLI bundle (say v2)
- Uninstall the newer CLI bundle. This removes the host completely and
  leaves the older version v1 unusable.

With this fix all the versions of the CLI in the machine will reference
count the host correctly.

Fixes - #2713
2016-05-02 12:13:26 -07:00
Piotr Puszkiewicz
c907d52451 Merge pull request #2809 from eerhardt/UpdateNuGet
Updating NuGet references from beta to rc.
2016-05-02 11:40:10 -07:00
Troy Dai
f32683cbab refactor WorkspaceContext (#2736)
this removes a regression in ProjectModelServer behavior

also added a test to cover target framework change in DTH
2016-05-02 11:32:24 -07:00
Piotr Puszkiewicz
2e22c3ac4b Merge pull request #2816 from sokket/installers
Pushing latest sfx and installers on Finalize
2016-05-02 11:29:36 -07:00
Pavel Krymets
5d164b5a2f Merge pull request #2757 from dotnet/pakrym/shared-refs
Trim non split assemblies from published `refs` folder.
2016-05-02 11:14:20 -07:00
Jonathan Miller
6f435c0047 Fixing bug where installers and sfx wouldn't be pushed to latest 2016-05-02 10:54:01 -07:00
Piotr Puszkiewicz
5adc31ca17 Merge pull request #2813 from sokket/publish
Fixing semaphore locking during build finalization
2016-05-02 10:39:45 -07:00
Jonathan Miller
7fb7a122c4 Fixing semaphore locking during build finalization 2016-05-02 10:12:04 -07:00
Jonathan Miller
222df674bf Fixing semaphore locking during build finalization 2016-05-02 09:54:10 -07:00
Pavel Krymets
dc249cb94b Move efs to shared runtime 2016-05-02 09:36:02 -07:00
Eric Erhardt
9d1d937ced Updating NuGet references from beta to rc. 2016-05-02 09:29:51 -05:00
Piotr Puszkiewicz
638fcf25fc Fix Publish Delete, ReleaseLease URLs 2016-05-02 01:03:31 -07:00
Piotr Puszkiewicz
0bfd94e998 Fix install-dotnet.sh to deal with trailing newline 2016-05-02 00:52:21 -07:00
Piotr Puszkiewicz
d9d6cbd6f1 TryDeleteBlob
Builds are currently failing because we try to delete blobs that don't exist. This change logs & ignores the exception.
2016-05-01 19:54:06 -07:00
Justin Emgarten
69f1bc9937 Merge pull request #2778 from rohit21agrawal/rel/1.0.0
Update nuget version to 3.5.0-beta-1233
2016-04-29 19:53:48 -07:00
Pranav K
f8631fa4b7 Merge pull request #2747 from dotnet/prkrishn/remove-platformabstractions
Replaces references to Microsoft.Extensions.PlatformAbstractions
2016-04-29 17:54:22 -07:00
Jonathan Miller
ead9441318 Merge pull request #2774 from sokket/publish
Fixing error where lock could not be taken on build folder
2016-04-29 17:51:53 -07:00
Piotr Puszkiewicz
ce3eed0306 Revert "Add performance tests" 2016-04-29 16:35:27 -07:00
Pranav K
1e753f7781 Replaces references to Microsoft.Extensions.PlatformAbstractions with Microsoft.Extensions.PlatformAbstractions.Internal 2016-04-29 16:06:23 -07:00
Rohit Agrawal
e0567e976f Updating NuGet to version 3.5.0-beta-1233 2016-04-29 15:04:54 -07:00
Jonathan Miller
3e690cbbf6 Fixing error where lock could not be taken on build folder 2016-04-29 14:05:41 -07:00
Senthil
af5a889477 Merge pull request #2749 from schellap/commit-sha
Add commit hash to dotnet
2016-04-29 13:27:28 -07:00
Pavel Krymets
dfa071de21 Merge pull request #2663 from dotnet/pakrym/perf-tests
Add performance tests
2016-04-29 11:18:50 -07:00
Sridhar Periyasamy
19ec330c20 Merge pull request #2704 from Sridhar-MS/msi-branding
Fix the branding in CLI windows installer
2016-04-29 09:50:31 -07:00
Pavel Krymets
1104e56895 Rebase 2016-04-29 09:09:23 -07:00
Senthil
9f05d51ddb Add commit hash to dotnet 2016-04-28 18:18:34 -07:00
Bryan Thornbury
7b4298a95e set-content-type-for-versions 2016-04-28 16:55:55 -07:00
Piotr Puszkiewicz
6cd56257fc Merge pull request #2703 from sokket/publish
Fixing publish scripts to only push to Latest when all bits are there
2016-04-28 16:20:40 -07:00
Jonathan Miller
c4d7251efb Fixing publish scripts to only push to Latest when all bits are there 2016-04-28 11:55:55 -07:00
Sridhar Periyasamy
779d608ea2 Update debian package branding. 2016-04-28 11:35:31 -07:00
Senthil
62eda6c2d7 Lock down muxer 2016-04-27 18:15:10 -07:00
Sridhar Periyasamy
bb56f4f838 Update OSX branding.
And also address PR feedback.
2016-04-27 17:21:43 -07:00
Sridhar Periyasamy
aa512b771c Fix the branding in CLI windows installer
- All the branding is moved to Monikers.cs
- Fixed the bundle and msi to use that.

TODO: Do the same for OSx and Debian installers.
2016-04-27 17:21:43 -07:00
eerhardt
f8a155a4e6 Updating CoreFx to rc2-24027 2016-04-27 05:41:53 +00:00
Matt Ellis
5b1eadc2d9 Only publish SharedFramework + SDK for Windows
We don't build the combined framework + SDK tarball for any Unix
platforms, but we were incorrectly trying to publish it. Make the
publish step for this artifact specific to Windows as well.
2016-04-26 14:33:40 -07:00
Matt Ellis
ba99019af1 Merge pull request #2670 from ellismg/fix-2655
Archive muxer MSI and generate SF+SDK zips
2016-04-26 10:39:27 -07:00
Sridhar Periyasamy
c1fbf18059 Disable test due to issue - https://github.com/dotnet/cli/issues/2632
Also fix code where the tests were not getting run.
2016-04-25 11:06:14 -07:00
Sridhar Periyasamy
c82d3cc08d Add Binding redirects tests 2016-04-25 11:06:13 -07:00
Pranav K
4974df41ee Merge pull request #2527 from dotnet/prkrishn/run-all-the-tests
Modify dotnet-test to run testRunner for all tfms
2016-04-24 21:51:57 -07:00
Matt Ellis
426ecda078 Archive muxer MSI and generate SF+SDK zips
Fixes #2655
2016-04-24 13:02:53 -07:00
Pranav K
4e496c3523 Modify dotnet-test to run testRunner for all tfms
Fixes #2506
2016-04-22 16:40:03 -07:00
Rohit Agrawal
7509e4d175 Update nuget version to 3.5.0-beta-1199 2016-04-22 15:27:00 -07:00
Andrew Stanton-Nurse
ef0ca39da1 Memory usage improvements in build (#2626)
* Use a WorkspaceContext in dotnet-build to cache project data across
multiple compilations in a single build action
* Dramatically reduce string and object duplication by introducing a
"Symbol Table" that shares instances of NuGetVersion, NuGetFramework,
VersionRange and string across multiple lock-file parses

Test Results:
* Testing was done by compiling Microsoft.AspNetCore.Mvc (and it's
dependencies) and taking memory snapshots after each compilation in
dotMemory
* We used to allocate ~3MB and deallocate ~2.5MB on EACH compilation in
a single build action. This has been reduced to ~120KB
allocated/deallocated
* After introducing WorkspaceContext, total memory usage spiked from 6MB
across the whole build action to about 13MB, introducing the symbol
table dropped it back to about 5-6MB.
2016-04-22 15:01:56 -07:00
Eric Erhardt
e420515c2b Updating CoreFX to rc2-24022 2016-04-22 10:58:43 -05:00
moozzyk
1aac8fb643 Fixing ProjectDependenciesCommandFactory to resolve tools
if the package name is different from the dll name

Addresses #2592
2016-04-21 19:15:54 -07:00
Eric Erhardt
a2f3c531fb Merge pull request #2411 from eerhardt/FixUpdateDeps
Fix update deps
2016-04-21 11:42:56 -05:00
Pavel Krymets
8313400465 Merge pull request #2614 from dotnet/pakrym/speedup-build
Speedup build of CLI repo
2016-04-20 20:46:24 -07:00
Pavel Krymets
c3984443cd Speedup build 2016-04-20 17:04:22 -07:00
Eric Erhardt
d06418509d Merge pull request #2606 from eerhardt/UpdateAspDeps
Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
2016-04-20 18:37:16 -05:00
Eric Erhardt
bc619cb9be Move ASP.NET package references to rc2-20581 from the aspnetrelease feed.
The places where I removed a dependency is because a lower package (InternalAbstrations) was already bringing in that dependency.

Fix #2567
2016-04-20 13:50:34 -05:00
Bryan Thornbury
e8eaebdaeb Merge pull request #2591 from dotnet/brthor/deb-version-quick
Fixes #2589
2016-04-20 10:42:29 -07:00
Bryan
02e5e0ed63 Fixes #2589 2016-04-19 15:43:26 -07:00
Bryan
56194a8e12 Add a test case for a desktop app using Command.CreateDotnet, expecting to fail 2016-04-19 13:38:37 -07:00
Piotr Puszkiewicz
bc8b0c065f Merge pull request #2548 from dotnet/piotrpMSFT/issue2499/importDnxcore50
import dnxcore50
2016-04-19 13:09:33 -07:00
Piotr Puszkiewicz
d45032c9d7 Unit test added and Red 2016-04-19 11:22:45 -07:00
Bryan Thornbury
83d78129db t Convert Test Assets to Microsoft.NETCore.App
fix dotnet-compile-fsc failures

fix test failures
2016-04-19 11:08:27 -07:00
eerhardt
eb4952df27 Updating CoreFx to rc2-24018 2016-04-18 05:23:16 +00:00
Piotr Puszkiewicz
37f00f24e9 Merge pull request #2517 from Sridhar-MS/crossgen-cli
Enable crossgen for CLI SDK binaries.
2016-04-15 16:08:22 -07:00
Piotr Puszkiewicz
e765d572da Merge pull request #2530 from Sridhar-MS/msi-rc2-fixes
Fix MSI bugs
2016-04-15 16:07:03 -07:00
Piotr Puszkiewicz
859a2220f1 Merge pull request #2472 from MichaelSimons/debianbuild
Add support for Debian CLI builds
2016-04-15 16:02:23 -07:00
Andrew Stanton-Nurse
852446e859 Improve resource file support (#2511)
* Add satellite assemblies to deps file with locale data
* Publish satellite assemblies to output during publish
* Copy satellite assemblies from project-to-project dependencies on
build and publish
2016-04-15 14:45:51 -07:00
Joel Verhagen
fbe5a23318 Take the latest NuGet build 2016-04-15 12:37:45 -07:00
Sridhar Periyasamy
47816da80d Remove any 'beta' string from the MSI installers.
Fixes #2463
2016-04-15 12:11:10 -07:00
Sridhar Periyasamy
16dcd770f9 Address PR feedback
- Use the right path separator char for unix.
- Contruct some of the args to crossgen outside the loop.
- Add the null check inside Command.Environment.
2016-04-15 10:31:17 -07:00
MichaelSimons
0c1db5d3e3 Updating package publish with Debian 2016-04-15 10:05:56 -05:00
eerhardt
070650ebac Updating CoreFx to rc2-24015 2016-04-15 05:25:53 +00:00
Sridhar Periyasamy
afafe80084 Fix unix bug.
crossgen fails on unix if there is an empty path passed as input to
"-platform_assemblies_paths".
2016-04-14 18:54:25 -07:00
Sridhar Periyasamy
59f81484bb Disable partial crossgen.
This will crossgen all the methods but the size of aseemblies increase.
2016-04-14 18:36:33 -07:00
Sridhar Periyasamy
d6fe71d4dd Enable crossgen for CLI SDK binaries.
TODO: Write tests to make sure aseemblies are crossgened.
2016-04-14 18:02:26 -07:00
Michael Simons
7bb27eafee Merge branch 'rel/1.0.0' of https://github.com/MichaelSimons/cli into debianbuild 2016-04-14 18:59:54 -05:00
Sridhar Periyasamy
5ea0d2c665 Remove check for previous versions of CLI SDK.
In the MSI we used to check for any previous installation and we prevent any
installation of 'Release' version on top of 'Nightly' version and vice
versa. This is no longer needed since CLI SxS now. This is reminiscent of
pre-sharedFx CLI.

Fixes - #2467
2016-04-14 11:47:51 -07:00
Andrew Stanton-Nurse
71d5738fff re-restore test projects at their destination
since NuGet now stores the relative path to dependent projects in the lock file, projects need to be restored when they are moved
2016-04-13 17:56:51 -07:00
Andrew Stanton-Nurse
2956446864 update nuget to 1160 2016-04-13 17:56:50 -07:00
Piotr Puszkiewicz
3f7cd8853a Merge pull request #2471 from krwq/fix_2446
Remove appdepssdk from sdk directory
2016-04-13 16:32:29 -07:00
Piotr Puszkiewicz
8504006842 Merge pull request #2439 from Sridhar-MS/host-bins-sign
Bifurcate the compile CoreHost and nuget packing step into two.
2016-04-13 16:30:23 -07:00
Krzysztof Wicher
0b55ca324b Remove appdepssdk from sdk directory 2016-04-13 13:08:15 -07:00
MichaelSimons
5c0cf55623 Initial changes to support building on Debian 2016-04-13 13:49:32 -05:00
Andrew Stanton-Nurse
f2bf60d06f add separate test for publish layout 2016-04-12 16:09:53 -07:00
Andrew Stanton-Nurse
14770ae5ba Add tests for "half-portable" scenario 2016-04-12 16:09:53 -07:00
Pavel Krymets
2d3a1fd177 Make desktop publishing "half-portable" by default 2016-04-12 16:09:53 -07:00
Sridhar Periyasamy
574222d06a Bifurcate the compile CoreHost and nuget packing step into two.
This is needed to insert a signing step between them where hostfxr.dll and
hostpolicy.dll will be signed.

Fixes - #2413
2016-04-12 14:14:32 -07:00
Bryan Thornbury
709f7b7d14 Enable Cross Publishing and add tests
WIP

WIP

WIP

Test out not publishing runtimeAssets

WIP

WiP x-publish

update cross-publish-test

Update Cross Publish tests

remove --config from restore

fix build

update cross publish tests

fix test compilation error

test failure fix

fix test failure

update tests

tracing

fix desktop publishing

do publish with no build, call build manually

fix

Make host publish optional, fix faux libraries?

update

Cross Publish test working

try changing test to netcore.app

fallback to host from current platform

revert change to project.json to target Microsoft.NETCore.App

fallback to compilation build output

update kestrel standalone app project.json

Make project tools command resolver test more self-contained.

make Kestrel Standalone restore against N-1
2016-04-12 13:00:04 -07:00
Piotr Puszkiewicz
0128033afd Merge pull request #2340 from krwq/install_scripts_rename
rename install.ps1/sh to dotnet-install.ps1/sh to match documentation
2016-04-12 10:17:40 -07:00
Eric Erhardt
d0fe815ae9 Add pretemplates to UpdateFiles script.
The pretemplate files can still have CoreFX versions in them, which need to be updated.
2016-04-11 14:01:59 -05:00
Eric Erhardt
bdea82e7d5 Making Config values lazy loaded so UpdateFiles can be run without setting the GitHub env vars. 2016-04-11 13:51:35 -05:00
Wes Haggard
0b77c8730c Fix condition on message about missing runtime packages 2016-04-08 21:44:36 -07:00
Wes Haggard
f5466be4a7 Update PullNupkgFilesFromBlob target
Add support to enable polling to watch for new builds. It will
try to publish the last 10 builds by default. If the build has
all the necessary runtime packages and doesn't have the packages.pushed
semaphore file.

Also add support for forcing the publish of a given build set in the
following environment variable FORCE_PUBLISH_BLOB_BUILD_VERSION. This will
blindly try to pull all the nupkgs for the given build ignoring if they
were already published or have all the runtimes specified.
2016-04-08 21:36:32 -07:00
Andrew Stanton-Nurse
803fef6a8b fix equality issue in DependencyContextLoader (#2379)
When checking if the provided assembly is the Entry Point Assembly, we
previously just checked if the AssemblyNames were equal, but it turns
out AssemblyName doesn't implement Equals, so it was using Reference
Equality, which fails. This change uses Assembly.Equals, which has an
Equals implementation that works.

Also adds some tests to ensure it's working.

This unblocks scenarios where the EntityFramework `dotnet-ef` command
was trying to read DependencyContext.Default but receiving a null
reference.
2016-04-08 15:33:32 -07:00
Krzysztof Wicher
11e3fa36af rename install.ps1/sh to dotnet-install.ps1/sh to match documentation 2016-04-08 10:51:16 -07:00
Wes Haggard
0b913968b6 Update PullNupkgFilesFromBlob to find the latest Azure blob drop
that contains all the runtime packages
2016-04-08 08:57:24 -07:00
Eric Erhardt
7d6d74bba2 Fixing dotnet-test.Tests to use a portable test app - ProjectWithTests.
The ProjectWithTests needed to be moved outside of TestAssets\TestProjects because it can't be restored --infer-runtimes and it has to be built with netcoreapp1.0.
2016-04-08 09:35:06 -05:00
Eric Erhardt
6ae044e5e1 Fix non-windows builds of Microsoft.NETCore.App.
Fix all test project.jsons to be portable apps.
2016-04-08 09:31:55 -05:00
Eric Erhardt
99371436f3 Consume NETCore.App 2016-04-08 09:27:23 -05:00
Matt Ellis
d0ac16129d Update package dependencies to rc2-24008 2016-04-08 04:05:26 -07:00
Matt Ellis
930b0f8093 Update paths based on repo refactoring 2016-04-08 04:05:26 -07:00
Wes Haggard
d7376f84c3 Add PullNupkgFilesFromBlob target
This target pulls all the nupkgs from the matching azure storage
and then copies them into the artifact\$(RID)\packages folder.
2016-04-07 17:25:37 -07:00
Piotr Puszkiewicz
b9d6a0c911 Merge pull request #2325 from dotnet/piotrpMSFT/Issue2288/Beta2RC2
Moves version suffix from beta to rc2
2016-04-07 14:13:38 -07:00
Wes Haggard
4af7437aa6 Merge pull request #2323 from weshaggard/UpdateNetCoreAppVersionScheme
Update net core app version scheme
2016-04-06 16:56:02 -07:00
Piotr Puszkiewicz
347e7a3987 Moves version suffix from beta to rc2 2016-04-06 15:45:21 -07:00
Wes Haggard
318a60deaa Add some logging to see if nupkgs get build and published
These writelines can be removed once it is confirmed to work in
official builds.
2016-04-06 15:28:12 -07:00
Bryan Thornbury
09e383e876 Merge pull request #2294 from dotnet/brthor/fix-package-upload-json
fix the name of debian packages in packageUpload.json
2016-04-06 15:21:14 -07:00
Sridhar Periyasamy
b772db9b29 Merge pull request #2269 from Sridhar-MS/kestrel-tests2
Add kestrel tests.
2016-04-06 14:25:15 -07:00
Wes Haggard
3ab4a30eb8 Add support for pkgprojs in cli repp
- Move src\corehost\packaging to pkg\ directory.
- Renamed PackageCoreHost to PackagePkgProjects and removed blocker
- Updated copy of packages in PackagePkgProjects target to override (because there is no proper clean)
- Update dir.props to match the package version for the runtime.json
- Moved all CoreHost packages under  Microsoft.NETCore.DotNetHost directory
- Add the license files to the packages

Add support for building Microsoft.NETCore.App meta-package
- VersionNumber will be of form 1.0.0-rc2-<NETSTandard.Library build#>-<CLIbuild#>
EX: 1.0.0-rc2-23931-002203
2016-04-06 10:34:23 -07:00
Bryan Thornbury
af32cff24e fix the name of debian packages in packageUpload.json 2016-04-05 18:48:02 -07:00
Dan Quirk
7a79a16c8d CR feedback 2016-04-05 18:03:06 -07:00
Dan Quirk
a797d93660 Cleanup 2016-04-05 18:03:06 -07:00
Dan Quirk
561f856e36 Add postinstall script to debian package for telemetry notification 2016-04-05 18:03:06 -07:00
Bryan Thornbury
fa01c9a154 Merge pull request #2215 from dotnet/brthor/version-manpages
Enable SxS Installation of the SDK debian packages
2016-04-05 15:41:11 -07:00
Sridhar Periyasamy
91adaa2b8c Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into kestrel-tests2 2016-04-05 14:40:07 -07:00
Eric Erhardt
5e617bbb43 Merge pull request #2283 from eerhardt/NewNuGet
Update NuGet to 3.5.0-beta-1130
2016-04-05 15:29:10 -05:00
Bryan Thornbury
e64d4fc81b Merge pull request #2272 from dotnet/brthor/ship-pdbs
Publish an Archive with the SDK Pdbs
2016-04-05 12:13:01 -07:00
Eric Erhardt
ed82fd2e66 Update NuGet to 3.5.0-beta-1130 2016-04-05 13:42:16 -05:00
Eric Erhardt
00a0668a5e Merge pull request #2268 from eerhardt/UpdateDepsMessage
Enhance the update-dependencies script
2016-04-05 12:39:32 -05:00
Matt Ellis
f757468dde Merge pull request #1939 from ellismg/chain-vc-redist
Chain in VC Redist
2016-04-05 10:03:06 -07:00
Eric Erhardt
e0542adf51 Add corehost/packaging/dir.props CoreFX version replacement to the UpdateDependencies script. 2016-04-05 10:50:35 -05:00
Pavel Krymets
8831bb4a8b Do not trim refs 2016-04-05 08:06:17 -07:00
Bryan Thornbury
10aeb9e6f1 Add a Sdk Debug Archive 2016-04-04 20:13:13 -07:00
Sridhar Periyasamy
8f00b95783 Add kestrel tests.
Tests will 'build', 'run', 'publish' and 'execute' a Kestrel Hello World server as a PortableFatApp and as a Standalone app.
2016-04-04 17:57:12 -07:00
Eric Erhardt
e7718b7163 Enhance the update-dependencies script:
- Add the new version number to the commit and PR message.
- Check if anything has been updated and no-op if there wasn't anything updated.
- Add support to CC indviduals on the PR.
2016-04-04 19:37:36 -05:00
Joel Verhagen
f6fa1cf060 Enable parallel restore 2016-04-04 09:11:15 -07:00
Justin Emgarten
9c31501deb Updating nuget to beta-1123 2016-04-01 21:09:05 -07:00
Bryan Thornbury
7de3b95bbd version the manpages before packing them for the sdk deb package
update

Update

fix
2016-04-01 15:42:01 -07:00
Sridhar Periyasamy
389c405ed0 Merge pull request #2163 from Sridhar-MS/installer-fixes
Fix installer issues
2016-04-01 13:41:36 -07:00
Justin Emgarten
219a0539b0 Updating to NuGet 1105 2016-03-31 18:13:25 -07:00
Bryan
0fd81e0a2d Extract dotnet-compile-fsc into a standalone command
Add basic Tests for dotnet-compile-fsc

Package Targets execute before TestTargets. Use Generated Nuget Packages in TestTargets. Generate Nuget packages on all platforms, and in C#

Fix bug in dotnet-restore, change fsharp new template, add support for native assets in DependencyContextCsvReader

copy fsc.exe to temp directory instead of package cache

fix rebase error

fix issue

fixes

fixes

fix

temporarily disable debian package e2e testing

fixes

bump fsc version

update fsc version

fix rebase errors

WIP update fsc tool

WIP, rebased and working again, need to solve issues with System.CommandLine

Working state for packaged, command, fsc.exe bugging out with dlopen(, 1): no suitable image found.

execute fsc like a unpublished standalone app

fixup after rebase

working? internet is out

working

cleanup

More cleanup, and run the debian package tests during the Test phase of the build.

update FSharp Test Projects NetStandard Library Version

Update Version Suffix when packing TestPackages. This will enable packing with the right dependency versions on Windows.

update dotnet-test version

Undo the reordering of the build

fix test package project pathsj

ignore net451 build failures for test packages which we need to build on non-windows

update dependency of desktop test app

add dotnetcli feed to nuget config for fsharp dotnet new

update deps after rebase

update dependency of dotnet-compile-fsc

pass args before commandPath when using muxer for tools

adjust testpackage cleaning not to clean packages which are also generated as part of the product from the nuget cache.

undo

Pass projectJson to pack instead of using WorkingDirectory

fix path separators using depsjsoncommandresolver on windows, fix building only specific frameworks for testpackages on non-windows.

PR Feedback

rebase

overwrite fsc runtimeconfig
2016-03-31 14:01:08 -07:00
Matt Ellis
e957736721 Don't use PowerShell to download WiX
- Don't use PowerShell to download WiX, instead just use HttpClient.
- Rehome WiX on our Azure blob storage, not only does this remove an
  dependency of our build, it also fixes an issue where CodePlex 302's
  from HTTPS to HTTP which HttpClient doesn't like.
- Bake version numbers into paths, to help in cases where we upgrade WiX
  tool versions but the artifacts folder is not cleaned between builds.
2016-03-31 11:03:13 -07:00
Sridhar Periyasamy
988fe85c19 Fix installer issues
- Sign the Sharedfx bundle correctly.
- Fix the installer title for SharedFx bundle. Fixes #2100
- Fix the installer title for SharedFx pkg. Fixes #2161
2016-03-31 10:02:12 -07:00
eerhardt
3afd85068a Updating dependencies from last known good builds 2016-03-31 11:57:21 -05:00
Bryan Thornbury
164a235a20 Merge pull request #2151 from dotnet/brthor/remove-oob-commands
Remove OOB Commands and Pdbs from stage2
2016-03-30 21:28:27 -07:00
Senthil
9c67627b43 Merge pull request #2150 from schellap/simple
Disable corehost packaging in VSO
2016-03-30 20:33:10 -07:00
Bryan
58be4c447e prep for commands we'll be shipping as tools
add cleanup step to build, remove oob commands

only clean the sdk directory

Incorporate PR Feedback
2016-03-30 19:23:42 -07:00
Pavel Krymets
58299db161 Infer rids for build script restore 2016-03-30 18:39:57 -07:00
Senthil
3b6d91b039 Disable VSO build of host nupkgs 2016-03-30 18:02:29 -07:00
Senthil
2ce0a934a3 Revert "Merge pull request #2111 from dotnet/revnupkg"
This reverts commit ac4c6702d5, reversing
changes made to 4bb7c1a6d4.
2016-03-30 17:59:16 -07:00
Pavel Krymets
a21e0ea6b4 Merge pull request #2148 from dotnet/pakrym/remove-inference
Remove rid inference
2016-03-30 17:36:45 -07:00
Pavel Krymets
9b9725ac38 Remove rid inference 2016-03-30 16:58:02 -07:00
Eric Erhardt
8816664062 Merge pull request #2136 from eerhardt/UpdateDependencies20160330021008
Updating CoreFX from rc2-23929 to rc2-23930
2016-03-30 18:32:17 -05:00
Pavel Krymets
c8a632bac1 Remove csv deps 2016-03-30 14:39:36 -07:00
eerhardt
ea984c50c7 Updating dependencies from last known good builds 2016-03-30 11:49:37 -05:00
eerhardt
7eb9d07fb5 Updating dependencies from last known good builds 2016-03-29 15:59:19 +00:00
schellap
a30078c691 Revert "Merge pull request #2080 from schellap/nupkg2"
This reverts commit a6bf3b416b, reversing
changes made to b0e457559d.
2016-03-29 01:58:51 -07:00
Piotr Puszkiewicz
4bb7c1a6d4 Merge pull request #2105 from dotnet/anurse/fix-build
no longer need to crossgen the CLI
2016-03-29 00:06:05 -07:00
Piotr Puszkiewicz
e07e0c12ed Merge pull request #2102 from Sridhar-MS/version_badges
Fix version badges to display Nuget Version of cli.
2016-03-28 22:28:52 -07:00
Andrew Stanton-Nurse
794be31af3 herp de derp 2016-03-28 21:43:43 -07:00
Andrew Stanton-Nurse
bca338801a no longer need to crossgen the CLI
thank you shared framework!
2016-03-28 21:42:04 -07:00
Pavel Krymets
e06a479748 Merge pull request #2036 from dotnet/pakrym/portable-cli
Make dotnet cli sdk portable
2016-03-28 20:35:22 -07:00
Piotr Puszkiewicz
5572326e0a Merge pull request #2087 from dotnet/piotrpMSFT/Issue2020/DesktopCommands
Enable execution of Target-specific commands
2016-03-28 20:07:09 -07:00
Senthil
a6bf3b416b Merge pull request #2080 from schellap/nupkg2
Packaging work for corehost
2016-03-28 20:01:14 -07:00
Pavel Krymets
18436e325e Make dotnet cli portable 2016-03-28 19:16:02 -07:00
Sridhar Periyasamy
8bb35349f9 Fix version badges to display Nuget Version of cli.
We started using the nuget version in rest of our build scripts.
Fixes - #2099
2016-03-28 17:51:36 -07:00
Piotr Puszkiewicz
14aa53eeff Fix build break on Windows 2016-03-28 17:25:52 -07:00
piotrp
a23568b4e5 Fix build break on non-Windows
And PR Feedback
2016-03-28 17:25:52 -07:00
piotrp
c5258cd782 Make portable test package windows-only due to its dependencies 2016-03-28 17:25:52 -07:00
piotrp
203b56509d Disable creating test packages on non-Windows platforms. 2016-03-28 17:25:52 -07:00
piotrp
d85e516c23 Test Infra 2016-03-28 17:25:52 -07:00
eerhardt
cefed77ca9 Updating dependencies from last known good builds 2016-03-28 17:27:54 +00:00
Senthil
a8eaa9c787 Package corehost 2016-03-28 00:21:27 -07:00
Sridhar Periyasamy
4e5fb96a50 Merge pull request #2048 from Sridhar-MS/msi-changes
Windows Installer changes
2016-03-27 20:49:46 -07:00
Justin Emgarten
86ee8a561b Updating nuget to 3.5.0.1083 2016-03-25 16:37:12 -07:00
Sridhar Periyasamy
bf38353c39 Merge pull request #2068 from Sridhar-MS/pkg-fixes
Fix OSx Pkg installers
2016-03-25 15:36:59 -07:00
Eric Erhardt
77f4d9955c Merge pull request #2067 from eerhardt/UpdateDependencies23925
Updating CoreFX to rc2-23925
2016-03-25 17:21:14 -05:00
Sridhar Periyasamy
b3cbd9e766 Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into host-pkg-path 2016-03-25 14:59:32 -07:00
Andrew Stanton-Nurse
4f0c6e94d1 Merge pull request #2065 from dotnet/anurse/remove-dot-install-dir
Remove '.' from default Windows install dir
2016-03-25 14:51:49 -07:00
Eric Erhardt
49c16e8823 Overwrite dotnet.exe during our build.
New CoreFX now has dotnet.exe in the shared framework. We need to overwrite it when we copy corehost.
2016-03-25 16:48:40 -05:00
eerhardt
ed887d183a Updating dependencies from last known good builds 2016-03-25 16:48:25 -05:00
Eric Erhardt
46db1a69bd Fix install path for update-dependencies.ps1. 2016-03-25 16:47:59 -05:00
Sridhar Periyasamy
4e68c19323 Fix OSx Pkg installers
- Make the .Net CLI SDK install SxS.
- Make the .Net Host upgrade till RTM(v.1.0.0).
- Make the .Net Core Sharedfx pkg to use the SharedFx Nuget version instead CLI version.
2016-03-25 14:46:04 -07:00
Piotr Puszkiewicz
c798a8ff97 Merge pull request #1891 from dotnet/piotrpMSFT/InstallerBranding
Fix installer branding dotnet --> .NET
2016-03-25 14:45:41 -07:00
Andrew Stanton-Nurse
9f3727d1a7 fix OSX issue in VSO build
also, make it possible to have more verbose build runs when needed
2016-03-25 12:49:53 -07:00
Andrew Stanton-Nurse
f87440a0fd Remove '.' from default Windows install dir 2016-03-25 12:19:46 -07:00
Piotr Puszkiewicz
1efdd24ce7 Further OS X branding changes 2016-03-25 12:09:45 -07:00
Bryan Thornbury
811db45cf3 Merge pull request #2043 from dotnet/brthor/deb-updates
fix deb versions
2016-03-25 09:38:28 -07:00
Eric Erhardt
30346443fb Merge pull request #2035 from eerhardt/Version
Changing --version in the CLI
2016-03-24 21:15:09 -05:00
Sridhar Periyasamy
ccef10b70c Windows Installer changes
- Make CLI SDK MSI non-upgradable. It must alwasy be installed SxS.
- The CLI bundle and SharedFx bundle are non-upgradeable.They are also
  installed SxS.
- Make host\muxer upgradeable. It will be upgradeable till v1.0.0 RTM.
  Post RTM will be installed SxS with v.1.0.0.
- SharedFx MSI was using the CLI MSI version. Fixing it to use the
  SharedFx version.
- Do not allow bundles to uninstall. User will be able to uninstall the
  individual MSIs.
2016-03-24 18:39:28 -07:00
Matt Ellis
5bf6088a47 Merge pull request #2015 from ellismg/fix-2004
Fix permissions when packaging artifacts
2016-03-24 17:23:00 -07:00
Andrew Stanton-Nurse
822f70f742 Merge pull request #2040 from dotnet/anurse/eerhardt-UpdateDependencies
Anurse/eerhardt update dependencies
2016-03-24 17:22:18 -07:00
Krzysztof Wicher
cd35ba2a1a Merge pull request #2041 from krwq/local_sdk_version_detection
install scripts, detect if sdk already installed
2016-03-24 16:54:21 -07:00
Bryan Thornbury
2223da1a5c fix versions on the deb packages 2016-03-24 16:35:42 -07:00
Krzysztof Wicher
217922da14 don't redownload sdk in install.sh if package already installed 2016-03-24 15:15:24 -07:00
Krzysztof Wicher
688de72eb7 detecting that sdk is already installed (install.ps1) 2016-03-24 15:15:23 -07:00
Bryan Thornbury
8d4d9a3b12 Merge branch 'rel/1.0.0' into brthor/add_back_docker_hub 2016-03-24 14:39:10 -07:00
Eric Erhardt
1febe48d71 Updating CoreFX version to rc2-23924 2016-03-24 16:05:24 -05:00
Eric Erhardt
a5813791d5 Updating CoreFX version to rc2-23923 2016-03-24 16:04:37 -05:00
Eric Erhardt
fd0ebb1bab Fix the RuntimeGraphGenerator
1. It was using the wrong version of System.Runtime.Serialization.Json
2. When invoking it during the build, we weren't ensuring it was successful, which allows the build to continue when it fails.
2016-03-24 16:03:21 -05:00
Eric Erhardt
3186432ebd Fix up the project.json files for CoreFX build rc2-23922.
- ProjectModel uses AssemblyLoadContext which is only available in netstandard1.5. Moving ProjectModel and all its dependencies up to netstandard1.5.
- Work around our dependencies still being on old CoreFX builds by hoisting System.Runtime.Serialization.Primitives, System.Private.DataContractSerialization, System.Linq.Expressions, and System.Xml.XmlSerializer references to the current version.
2016-03-24 16:03:19 -05:00
eerhardt
9bc478660a Updating dependencies from last known good builds 2016-03-24 16:02:33 -05:00
Eric Erhardt
c560e9af3c Changing --version in the CLI
`dotnet --version` returns just the version number. This helps tools get this information without having to parse the full info.
Introduce a new argument `--info` that returns the current "long form". With this, we also change the long form to say "RID" instead of "Runtime ID" simply because that would avoid any future localization issues and thus make the parsing easier.

Fix #1607 #1882
2016-03-24 15:44:25 -05:00
Andrew Stanton-Nurse
0a369aa6d5 update to new nuget and turn inference on 2016-03-24 11:43:37 -07:00
Bryan
f441fedf4f add back docker hub builds trigger 2016-03-24 10:50:29 -07:00