Commit graph

922 commits

Author SHA1 Message Date
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