Commit graph

349 commits

Author SHA1 Message Date
drewgil
11b666acee Add nuget command to dotnet cli 2016-08-16 09:27:55 -07:00
Justin Emgarten
51ea2e6014 Adding Restore3 command for msbuild restore support. 2016-08-12 00:05:21 -07:00
Livar Cunha
b7b90175f4 Removing the public types from InternalAbstractions. 2016-08-10 13:39:49 -07:00
Eric Erhardt
d5179f9168 Temporarily copy the dotnet/buildtools tasks we use into dotnet/cli to allow us to move up to a newer MSBuild. 2016-08-09 08:28:23 -05:00
Piotr Puszkiewicz
5f60c2cf37 Move CLI Build to MSBuild 00024-160610 2016-08-09 01:12:29 -07:00
Eric Erhardt
b3e69b139e Update NuGet to 3.5.0-rc1-1697 2016-08-01 13:58:04 -05:00
Eric Erhardt
6eabeb9be0 Generate runtimeconfig.json and runtimeconfig.dev.json from MSBuild
Moves generating the runtimeconfig files to a separate MSBuild target which is only dependent on project.lock.json.

Also, moving up our NuGet dependency to 3.5.0-rc1-1653, since that brings in the LockFile.PackageFolders property, which is needed for runtimeconfig.dev.json.
2016-07-26 20:53:17 -05:00
Bryan Thornbury
7707ad970c small fix 2016-07-26 16:04:14 -07:00
Bryan Thornbury
3bc1aa9128 Consume dotnet-deb-tool in cli 2016-07-26 15:26:44 -07:00
Piotr Puszkiewicz
5ebc6a1ceb Decompose Crossgen, remove CleanPublishOutput, replace ExtractArchive with *FileExtractToDirectory (#3927)
* Eliminate CleanPublishOutput

* Decompose Crossgen Task

* WiP

* TarGzFileExtractToDirectory

* FixModeFlags --> CHMod

Also various eliminations of dead code

* Tasks cleanup

Move all tasks to .tasks file. There is little value in keepint them in each source file as they are already being used assumptively by files that happen to get executed later.

Also eliminating uses of <Exec> for DotNet invocations

* Move to BuildTools implementation of TarGzCreateFromDirectory

* Eliminate Command.cs and helpers

* Remove dead code

* Revert TarGz from BuildTools

Latest build tools package has not picked up the task, though it is checked in.

* Disable ChMod on Windows

* Windows bug fix

* PR Feedback

* Finish changing Chmod caps
2016-07-26 00:29:59 -04:00
Piotr Puszkiewicz
1bf9795374 Replaces custom archiving tasks with build_tools implementation (#3905)
* TarGzFileCreateFromDirectory

* Replace ArchiveDirectory with BuildTools implementation

* Fix archive naming

* Because sometimes XML cares about whitespace...

* Create Packages Directory

* Cleanup
2016-07-22 19:01:32 -04:00
Piotr Puszkiewicz
9446a81a25 Move CheckPrereqs to MSBuild (#3895)
* Move CheckPrereqs to MSBuild

* Tabs to Spaces

* PR feedback
2016-07-20 23:42:23 -04:00
Piotr Puszkiewicz
24d2e638d5 Build Cleanup: Part 2 (#3890)
* Remove deprecated build_projects sources

* Remove BuildSetup, StandardGoals, and Target Attributes

* Incremental restore of tasks dll

* CheckPreReq conforms with MSBuild Error Handling guidelines

* Eliminate deprecated content

* PR Feedback
2016-07-19 17:01:02 -04:00
Eric Erhardt
d2db776d87 Merge rel/1.0.0 into feature/msbuild. 2016-07-18 14:44:06 -05:00
Eric Erhardt
eada6913c4 PR feedback 2016-07-15 19:52:20 -05:00
Eric Erhardt
a27d02eb66 Move to buildtools' VersionTools for update-dependencies. 2016-07-15 19:41:29 -05:00
Livar
3f52e83daf Merge pull request #3872 from livarcocc/publish_msbuild
Publish msbuild
2016-07-15 15:05:49 -07:00
Livar Cunha
01b4981461 Addressing code review comments 2016-07-15 13:44:11 -07:00
Livar Cunha
03a17a9b76 Adding a task to set the blob properties correctly based on type. 2016-07-15 11:40:56 -07:00
Piotr Puszkiewicz
5059e9c61b CLI Build Cleanup: Round 1 (#3869)
* dotnet-cli-build non-runnable

* Usings + License
2016-07-15 08:31:50 -07:00
Piotr Puszkiewicz
a477fe7253 Incremental build of test projects (#3859)
* If restore incrementality fails, clean out all lock files to re-enable incrementality.

* Incremental build of TestProjects

* Remove reduntant build of test projects

* Fix CI

* Fix list of executable tests

* Msi tests on net46

* Path Separators

* PR Feedback

* Win Diag

* Let's try a hack!

* And another!

* Mor Diag

* McHack

* Slashety slash slash

* One more hack
2016-07-15 00:20:23 -07:00
Livar Cunha
6d7f110122 Uploading assets using msbuild.
Copying Microsoft.WindowsAzure.Storage.dll to the sdk stage0 folder to get around issue https://github.com/Microsoft/msbuild/issues/658.
2016-07-14 16:56:20 -07:00
Bryan Thornbury
003e6ba282 Deb Package Targets 2016-07-13 11:07:14 -07:00
Piotr Puszkiewicz
16bedef2c5 Piotrp msft/msbuild/incremental test (#3842)
* Incremental Testing - Part 1

* Fix 'clean' bug

* Remove --fallbacksource from TestAssetPackage restore.
2016-07-12 17:10:48 -07:00
Piotr Puszkiewicz
08e9bc903e CLI Testing via msbuild (#3779)
* Rebase

* Remove Multi-Project Validator

* Remove projectmodelserver tests

* Enable test package creation

* Incremental test restore

* WiP

* Enable Test Asset Project restore

* Build Test Assets & Restore Test Projects

* Build Test projects

* Enable Test Execution

also moves Test Targets to a well-known CLI Version [Stage 2]

* Pass throuh existing telemetry profile

* 2-space tabs

* Revert TestTargets.cs

* WiP PR feedback

* Refactoring

* Fix naming of RestoreTestAssetPackages

* DotNetTest task

* Fix merge issue

* ExecuteWithCapturedOutput

MSBuild considers StdErr output to be failures. This causes output of any test command which is expected to produce an error to be swallowed in the test.

* Workaround for always-on tracing functionality in dotnet-test

* Fix Path Separator Windows/Unix

* Seperate package build from pack

* Windows Pathing issues

* PR Feedback

* Workaround for msbuild #773

https://github.com/Microsoft/msbuild/issues/773
2016-07-11 12:46:27 -07:00
Livar Cunha
5d40e8b734 Fixing Ubuntu packaging issue, part 99 of hopefully 99. 2016-07-06 16:45:41 -07:00
Livar Cunha
cdddc2e432 Addressing code review comments. Fixing issue with compile where we were not copying the msbuild files to the right place. Fixed an issue where we were trying to download installers for OSes that don't have installers. Added init-tools scripts. 2016-07-06 12:03:16 -07:00
Livar Cunha
aebb42335c Changed dotnet stage0 to no longer pivot on OS. We just place it under dotnet_stage0/ 2016-07-05 16:28:00 -07:00
Livar Cunha
cc1bb54f1a Removing build scripts from dotnet-cli-build. Moving the stage0 to a run_build scripts and invoking dotnet build3 build.proj for the build. 2016-07-05 15:09:39 -07:00
Livar Cunha
3c789c8230 Addressing more code review comments 2016-07-01 11:09:11 -07:00
Livar Cunha
5302a63aa3 Addressing more code review comments and removing the incrementality from BuildProjectsForNuGetPackages. All it does is invoke dotnet build, which already has incremental builds. I will let it handle this one. 2016-07-01 10:37:01 -07:00
Livar Cunha
9135be75f4 Addressing code review comments and making incremental build work. 2016-07-01 10:35:40 -07:00
Livar Cunha
b8ccb0d1ae Adding CompileTargets.cs back. I got ahead of myself by removing it. We haven't switched our official builds to msbuild yet. 2016-07-01 10:34:29 -07:00
Livar Cunha
76728be4cb CompileTargets moved to MSBuild
CompileTargets moved to MSBuild. Still need to work on input/outputs, refactoring of targets, specially around CompileStage and moving some of the tasks back to msbuild instead of C# code.
2016-07-01 10:33:30 -07:00
Bryan Thornbury
5cfecec2e9 nuget version 2016-07-01 07:06:27 -07:00
Piotr Puszkiewicz
c7d3f24be0 MakeRelative Task (#3750)
* MakeRelative Task

* PR Feedback

* Fix naming conflict
2016-06-30 17:11:33 -07:00
PiotrP
5ed1371cd9 Remove Project Model Server 2016-06-30 14:31:08 -07:00
Eric Erhardt
15642cfd2a Finish converting 'Prepare' to MSBuild.
Implement DownloadHostAndSharedFxArtifacts
Implement ZipTemplates
Switch the Prepare target to use all the MSBuild targets.
2016-06-29 19:19:58 -05:00
Bryan Thornbury
2ed5363187 Merge pull request #3696 from brthor/brthor/msbuild-package-targets
msbuild package targets
2016-06-29 16:51:58 -07:00
Bryan Thornbury
e6905da2b3 ToUpper 2016-06-29 15:59:35 -07:00
Bryan Thornbury
ddb3637c26 PR Feedback 2016-06-29 15:56:13 -07:00
Bryan Thornbury
fa97921a4d change to properties, artifact names 2016-06-29 15:12:58 -07:00
Eric Erhardt
bf172df39b Respond to PR feedback and fix CommitCount not being padded with zeros. 2016-06-28 18:59:15 -05:00
Eric Erhardt
aff23d00f4 Implement RestorePackages in MSBuild.
This adds the DotNetTool custom task, with `dotnet restore` implemented.
2016-06-28 18:22:15 -05:00
Eric Erhardt
038758acf4 Convert 'Init' to MSBuild. 2016-06-27 21:39:19 -05:00
Bryan Thornbury
4d8ed818e5 base init infra 2016-06-27 12:56:15 -07:00
Petr Onderka
c5d68ac0b0 Don't use black color in the console (#3687)
In the standard white text on black background console,
text printed like this is invisible.
2016-06-24 11:08:28 -07:00
Eric Erhardt
15b2a9d9db Convert all CLI build targets to MSBuild Tasks. (#3690) 2016-06-24 11:06:13 -07:00
Eric Erhardt
cec5bacaad Merge branch 'feature/msbuild' of https://github.com/dotnet/cli.git 2016-06-23 17:52:51 -05:00
Bryan Thornbury
400e1db3b9 dotnet-build3 Adding msbuild execution command to cli 2016-06-23 13:57:33 -07:00
Eric Erhardt
d88546e523 Fix the FinalizeBuild publish artifacts.
There was a mix-up in the trailing slashes, causing assets to go into an unnamed folder.
2016-06-22 22:46:14 -05:00
Eric Erhardt
ba1715b8a6 Fix dotnet-install for the new Azure Publish layout. 2016-06-22 22:46:13 -05:00
Piotr Puszkiewicz
9d01e3bc2e Merge rel/1.0.0-preview2 to rel/1.0.0 (#3677)
* Update README.md

* Moving Ubuntu 16.04 to be next to Ubuntu 14.04

* Adding Oracle Linux and Linux Mint to the titles

Adding Oracle Linux and Linux Mint to the titles next to their compatible binaries.

* Remove showing firsttime eula for non verbs.

* Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.

Fix #3345

* Use NugetCache Sentinel for Telemetry setting.

* Fix Oracle Linux version in README.md

Oracle Linux 7 -> Oracle Linux 7.1

* Fix README to use hostfxr download links (#3622)

Also fix a rebase error from b524fd079e6dcdd744faeb6061ccbfe99d1f810f#diff-04c6e90faac2675aa89e2176d2eec7d8

* Remove the VS2012 CRT dependency from docs (#3632)

* fix typo in dotnet-install file

This was needed to rebuild the CLI with the updated Roslyn NuGet packages.

Thanks goes to @akoken for the fix.
2016-06-22 15:17:54 -07:00
Eric Erhardt
aafc700d73 Fixing AzurePublisher to upload files to the correct URL.
Previously it was duplicating the full URL inside of the blob container.
2016-06-22 15:54:07 -05:00
Eric Erhardt
80332c8fc3 Port https://github.com/dotnet/core-setup/pull/168 to CLI. 2016-06-21 19:18:48 -05:00
Eric Erhardt
4f1d9c4e23 Fixing up build publishing to be more organized
Partly fixes #3120 by organizing the output files in blob storage according to the design in the bug
2016-06-21 17:21:04 -05:00
Eric Erhardt
15a5c34149 Add Serviceable assembly attribute and nuspec attributes for all shipping CLI assemblies.
Fix #3345
2016-06-15 14:14:25 -05:00
Bryan Thornbury
d717b84ec8 merge rel/1.0.0-preview2 into rel/1.0.0 2016-06-15 10:20:50 -07:00
Bryan Thornbury
638e4c7d00 Fix HostFXR in dotnet-dev package 2016-06-14 13:33:06 -07:00
PiotrP
e0444d5a94 Temporarily disable dotnet-compile-fsc
https://github.com/dotnet/cli/issues/3558
2016-06-14 07:29:35 -07:00
Bryan Thornbury
f75ee876d8 Enable ubuntu16 deb creation and publishing 2016-06-14 02:32:39 -07:00
Bryan Thornbury
2663d03dc9 Fix cherrypick error 2016-06-14 02:21:59 -07:00
Senthil
b81ef0fbd6 Fix .deb package name to include versions 2016-06-14 02:10:16 -07:00
Senthil
263b80ecbb Add HostFXR to UpdateDependencies 2016-06-14 02:09:59 -07:00
Senthil
a8f05f2914 Remove the hostfxr debian target 2016-06-14 02:09:45 -07:00
Senthil
716ff73f69 Fix target chaining into hostfxr 2016-06-14 02:09:35 -07:00
Bryan Thornbury
0f640a32e3 download fxr installer file, use it in pkg targets 2016-06-14 02:09:12 -07:00
schellap
e3c53c18fd Bring Host FXR MSI 2016-06-14 02:08:58 -07:00
jacalvar
635c3331df Update to Json.NET 9.0.1 2016-06-14 03:21:56 -05:00
Eric Erhardt
a4cef6d367 Updating NuGet to beta2-1484 2016-06-14 03:19:04 -05:00
Eric Erhardt
f25f047376 Updating CoreFX, CoreCLR, Roslyn, CoreSetup to stable versions. 2016-06-14 03:14:53 -05:00
Eric Erhardt
dfe99ca45d Port https://github.com/dotnet/core-setup/pull/159 to CLI 2016-06-14 03:03:55 -05:00
Bryan Thornbury
42e890db79 reenable deb 2016-06-13 10:49:24 -07:00
Livar
9f2bb66198 Merge pull request #3485 from livarcocc/offline
Offline feature work
2016-06-12 00:58:26 -07:00
Eric Erhardt
b201b8d97f Merge pull request #3524 from dotnet/eerhardt-patch-1
System.Private.CoreLib.dll IL binary is getting crossgen'd mistakenly.
2016-06-11 19:59:17 -05:00
Eric Erhardt
3c5e51adb2 System.Private.CoreLib.dll IL binary is getting crossgen'd mistakenly.
This causes both the IL ".dll" and the native image "ni.dll" to be the same size in the Shared Framework. This is incorrect, as the IL binary is much smaller.

The fix is to add ".dll" to the excludedLibraries list in the Crossgen util.

Fix #3522
2016-06-11 12:36:00 -05:00
Eric Erhardt
c1c7ca06c2 Update NuGet to 3.5.0-beta2-1480 2016-06-11 12:23:24 -05:00
eerhardt
2aa3dd0843 Updating CoreFx, CoreClr, Roslyn, CoreSetup to rc3-24210-10, rc3-24210-10, beta1-20160610-04, rc3-3004459-00 respectively 2016-06-11 04:29:58 +00:00
Livar Cunha
686e09d5e9 Removed the CompileCliSdkAndGenerateNuGetPackagesArchive method from CompileTargets and replaced with CompileCliSDk. Also used stage1 to generate the archive for stage2. 2016-06-10 19:52:37 -07:00
Andrew Stanton-Nurse
762a259e9f fix #3469 by correcting overflow and enabling tests (#3471)
* fix #3469 by correcting overflow and enabling tests

* pr feedback
2016-06-10 17:28:23 -07:00
Livar Cunha
ed7e583ab6 Addressing code review comments and adding a DOTNET_SKIP_FIRST_TIME_EXPERIENCE env variable to have a way to turn off the feature. 2016-06-10 16:54:37 -07:00
Livar Cunha
bcadd6ff01 Fixing identation and spaces in a few files. 2016-06-10 16:54:31 -07:00
Livar Cunha
69f43beccd Adding the code to extract the archive in the first use of dotnet an
d added the first time use welcome text as well as some E2E tests.
2016-06-10 16:54:16 -07:00
Livar Cunha
5f220a1677 Generating the archive in the sdk folder of stage2. 2016-06-10 16:54:14 -07:00
Livar Cunha
84f63029fe Almost all of the code to prime the NuGet cache from the archive.
- Created a Configurer class that is responsible for deciding when to run the dotnet first time use
experience and invoke the NuGetCachePrimer.
- Added the NuGetCachePrimer which extract the archive and primes the cache.
-- This is just missing creating the sentinel once restore succeeds.
- Added a shell for the NugetPackagesArchiver, which will be responsible for expanding the archive (likely
replaced in the future by an abstraction from Eric's code or its implementation will simply call Eric's code).
- Added a TemporaryFolder abstration to Internal Abstractions that handles deleting the temporary folder once
we are done with it.
2016-06-10 16:53:55 -07:00
Bryan Thornbury
a3447617f9 Merge pull request #3464 from brthor/brthor/3400
update product monikers from rc2
2016-06-10 14:33:36 -07:00
eerhardt
7b51f28c7f Updating CoreFx, CoreClr, CoreSetup to rc3-24210-06, rc3-24210-01, rc3-3004449-00 respectively 2016-06-10 15:05:30 +00:00
Eric Erhardt
dc8f59e29b Fix the VersionRepoUpdater to handle symbols.nupkg files correctly. 2016-06-10 03:16:25 -05:00
Eric Erhardt
ef4a8e85ef Updating CoreSetup to rc3-004443-00. 2016-06-10 01:09:46 -05:00
eerhardt
cd9bcd40b3 Updating CoreFx, CoreClr, CoreSetup to rc3-24209-08, rc3-24208-04, rc3-3004442-00 respectively 2016-06-09 21:14:15 -05:00
Eric Erhardt
be2a94f136 Merge pull request #3470 from eerhardt/Symbols
Publish symbol.nupkg files to myget.
2016-06-09 17:16:48 -05:00
Bryan Thornbury
1dc6b0e2dd Make the nuget cache local to the repo (#3370)
* fixes #3368

* Update build nuget cache to be in the repo
2016-06-09 15:05:27 -07:00
Eric Erhardt
abcaa595de Publish symbol.nupkg files to myget.
Fix #3445
2016-06-09 15:38:23 -05:00
Bryan Thornbury
6ad383666a update product monikers to rc2 2016-06-09 11:25:14 -07:00
Zhi Li
9a9864bf68 Update NuGet Version to 3.5.0-beta2-1451 2016-06-09 07:52:00 -05:00
Eric Erhardt
f43aad780c Updating CoreFx, CoreClr, Roslyn, CoreSetup, DiaSymReader to rc3-24208-04, rc3-24208-04, beta1-20160608-03, rc3-004425, rc2-60608-04 respectively 2016-06-08 22:56:25 -05:00
Eric Erhardt
0eb24de0a8 CLI dotnet/versions build info files should be separated between the branches.
Adding a "BranchName" branchinfo.txt variable like we have in core-setup. This allows to update the correct path under dotnet/versions/build-info.

Also, moving UpdateVersionsRepo into FinalizeBuild.
2016-06-08 18:02:59 -05:00
Eric Erhardt
6802e23d77 Merge pull request #3433 from svick/build-console-output
Use ordinal comparison when searching for escape sequence in build framework console
2016-06-08 13:55:12 -05:00
Ajay Bhargav Baaskaran
4a88cff185 [Fixes #3255] Added a web template to dotnet new 2016-06-08 11:31:08 -07:00
Petr Onderka
da72031a42 Improve usage listing of build scripts
- sort options by importance
- add missing -Architecture to Usage in build.ps1
- remove redundant and confusing TARGETS line in build.sh
2016-06-08 18:39:38 +02:00
Petr Onderka
53eb94e89c Use ordinal comparison when searching for escape sequence
Fixes #3431
2016-06-08 10:54:56 +00:00
Eric Erhardt
d2f1fa0300 Updating CoreFx, CoreClr, CoreSetup to rc3-24207-03, rc3-24207-03, rc3-004415 respectively. 2016-06-07 18:24:30 -05:00
Eric Erhardt
82ef0304bb Crossgen now requires a Jit package to be specified.
Port Crossgen fix from core-setup.

See a2857af7e3
2016-06-07 18:22:52 -05:00
Eric Erhardt
748516bb0d Add CoreClr dependency to CLI's update-dependencies. 2016-06-07 18:22:52 -05:00
Eric Erhardt
72fa4f6cf3 Fix Ubuntu build break.
Ubuntu is currently broken because we added a new channel, and a switch statement wasn't expecting the new channel.

The fix is to eliminate the switch statement on the channel and always return "dotnet-dev-<version>" for the debian sdk package name.
2016-06-07 18:02:33 -05:00
Jonathan Miller
cdf4407419 Bumping JSON.NET to 9.0.1 2016-06-07 15:04:17 -07:00
Eric Erhardt
2e7c467aad Merge pull request #3407 from dotnet/dev-ragrawal-updatenuget
update nuget to 3.5.0-beta2-1392
2016-06-07 15:50:13 -05:00
Eric Erhardt
334b079995 Updating CoreSetup, Roslyn, DiaSymReader to rc3-004408, beta1-20160606-02, 1.0.8-rc2-60606-01 respectively. 2016-06-06 18:56:24 -05:00
Rohit Agrawal
5378f5a697 update nuget to 3.5.0-beta2-1392 2016-06-06 14:14:20 -07:00
Eric Erhardt
c3b1bb05f6 Change CHANNEL for the rel/1.0.0 branch
So it publishes builds to separate channel than rel/1.0.0-preview2.
2016-06-06 13:44:47 -05:00
Eric Erhardt
90fbc3bb53 Merge pull request #3399 from eerhardt/UpdateSharedFX
Updating CoreSetup to rc3-004406
2016-06-06 12:13:53 -05:00
Eric Erhardt
8a97cd74b3 Merge pull request #3397 from eerhardt/FixExecSilentEnvVar
Pass env into ExecCore
2016-06-06 11:58:32 -05:00
Eric Erhardt
42938f180f Updating CoreSetup to rc3-004406 2016-06-06 11:15:07 -05:00
Eric Erhardt
f34788898d Pass env into ExecCore 2016-06-06 10:31:44 -05:00
eerhardt
354b1d38d5 Updating CoreFx, CoreSetup to rc3-24206-00, rc3-004404 respectively 2016-06-06 14:24:51 +00:00
eerhardt
ea8ae8d1c7 Updating CoreFx, CoreSetup to rc3-24204-00, rc3-004400 respectively 2016-06-04 18:32:34 +00:00
Eric Erhardt
4f95bc0010 Update CoreSetup to rc3-004397 2016-06-04 00:00:28 -05:00
Eric Erhardt
9ffe91f367 Move dependency from Microsoft.NETCore.Runtime to Microsoft.NETCore.Runtime.CoreCLR. 2016-06-03 16:35:00 -05:00
Eric Erhardt
f16f2e64eb Updating CoreFx, CoreSetup, Roslyn to rc3-24201-00, rc3-004391, beta1-20160602-01 2016-06-03 07:27:42 -05:00
Eric Erhardt
0366576dba Merge pull request #3361 from eerhardt/AddRoslynDependency
Add Roslyn as a dependency in update-dependencies.
2016-06-03 07:21:27 -05:00
Eric Erhardt
5e6ae9cd48 Add Roslyn as a dependency in update-dependencies. 2016-06-03 01:03:48 -05:00
MichaelSimons
c622debad0 Removed publish logic that triggered dotnet-preview Docker builds. This logic has been moved to Maestro. 2016-06-02 19:07:16 -07:00
Eric Erhardt
0577337cdc Merge pull request #3351 from dotnet/preview2
Updating CoreSetup to rc3-004373
2016-06-02 15:47:00 -05:00
Eric Erhardt
351255dda1 Updating CoreSetup to rc3-004373 2016-06-02 14:45:00 -05:00
Eric Erhardt
74a9594634 Small fixes to update-dependencies.
Fix stage0 location to be the same as build.

Fix ReplaceDependencyVersion to only mark IsUpdated = true when the version was actually updated.

Point to core-setup/release/1.0.0.
2016-06-02 14:09:50 -05:00
Bryan Thornbury
64508f08ab fixes #2408 stop using corehost to activate projectdependencycommands 2016-06-02 10:50:38 -07:00
Livar
48b3b02d3c Merge pull request #3334 from livarcocc/skip_installer_for_ubuntu_16
We need to prevent downloading deb packages on Ubuntu16.04 since we d…
2016-06-01 21:39:10 -07:00
Livar Cunha
5f791ff9c5 We need to prevent downloading deb packages on Ubuntu16.04 since we don't have them there yet. This is a hack and the right fix would be to not use a enum with the BuildPlatform, but something that allowed us to express the platform and the version of the platform. 2016-06-01 17:17:59 -07:00
Bryan Thornbury
1ed73046f4 Fix the location of sharedfx + sharedhost pkgs downloaded from core-setup for the sdk pkg build 2016-06-01 15:34:47 -07:00
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Matt Ellis
20f9811741 Fix versioned BuildPlatforms logic 2016-05-31 15:15:56 -07:00
Matt Ellis
2155a419ad Generate correct badges filenames 2016-05-31 15:15:56 -07:00
Livar Cunha
a80dcbe5be Adding fedora 23 and ubuntu 16.04 to the Update-dependencies project. 2016-05-31 15:15:56 -07:00
Livar Cunha
baf98263f0 Fixing a missing $ for a string formatting 2016-05-31 15:15:08 -07:00
Livar Cunha
ca326cb4ec Removing dotnet-core from the NuGet.Config and add --disable-parallel to RestoreTestPackages. It was causing issues when reading global.json in Ubuntu and Fedora 2016-05-31 15:15:08 -07:00
Matt Ellis
6ccc40e146 Use different moniker for the new distros 2016-05-31 15:15:08 -07:00
Livar Cunha
7963018d3d Small changes that I noticed when diffing the files 2016-05-31 15:15:08 -07:00
Livar Cunha
e634fedae8 Adding Fedora 23 2016-05-31 15:15:08 -07:00
Livar Cunha
84d1b60ffe Adding docker files, modifying scripts and code to handle ubuntu 16.04 2016-05-31 15:15:08 -07:00
eerhardt
657c03b625 Updating CoreFx, CoreSetup to rc3-24131-00, rc3-004363 respectively 2016-05-31 20:27:46 +00:00
Eric Erhardt
d50068a5e4 Updating CoreFx, CoreSetup to rc3-24128-00, rc3-004338 respectively 2016-05-31 12:55:36 -05:00
Eric Erhardt
fad7477ea5 Microsoft.NETCore.App no longer supports netstandard
Any project that references Microsoft.NETCore.App must target netcoreapp1.0.

Moving app projects to netcoreapp1.0; moving library projects to reference NETStandard.Library.
2016-05-31 09:54:28 -05:00
eerhardt
a087de2f87 Updating CoreFx, CoreSetup to rc3-24127-01, rc3-004336 respectively 2016-05-28 00:48:49 +00:00
Bryan Thornbury
f31472764f Sync build_projects/shared-build-targets-utils with Core-Setup 2016-05-27 13:24:39 -07:00
eerhardt
80820a638b Updating CoreFx, CoreSetup to rc3-24127-00, rc3-004324 respectively 2016-05-27 18:12:45 +00:00
Eric Erhardt
3fd06948fb Merge pull request #3264 from eerhardt/UpdateDependencies20160527080508
Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively
2016-05-27 13:04:01 -05:00
eerhardt
ef76efa02c Updating CoreFx, CoreSetup to rc3-24126-01, rc3-004322 respectively 2016-05-27 08:05:08 +00:00
Livar Cunha
5d0aefe59f Clean up from the move to RC3 packages. Removed the dotnet-core dependency on NuGet.Config now that we have RC3 packages in the cli-deps feed. Re-enabled crossgen for windows now that we added JITPath to the crossgen call. 2016-05-27 00:18:37 -05:00
Bryan Thornbury
f73351cf6e Merge pull request #3258 from dotnet/brthor/download-sharedfx
Stop downloading core setup dependencies in every build
2016-05-26 18:16:28 -07:00
Eric Erhardt
f46be283f1 Merge pull request #3260 from eerhardt/UpdateDependencies
Update CoreFx, SharedFx, Roslyn to rc3-24126-00, rc3-004312, beta1-20160525-03
2016-05-26 18:06:53 -05:00
Eric Erhardt
08a3ffe3aa Move to netstandard1.6
This is needed because DependencyModel uses the AppContext.GetData API, which is only available in netstandard1.6 as of CoreFX build rc3-24126.
2016-05-26 15:42:30 -05:00
Bryan Thornbury
7909c6a3d5 Stop downloading core setup dependencies in every build, when we already have them. 2016-05-26 13:32:14 -07:00
Eric Erhardt
409ccb2c9c Add WorkingDirectory to output when a command fails for easier debugging. 2016-05-26 15:00:54 -05:00
Bryan Thornbury
a365414f01 Merge pull request #3257 from dotnet/brthor/stop-nuking-latest
stop nuking latest binaries
2016-05-26 11:56:32 -07:00
Eric Erhardt
cc178d425f Update CoreFx, SharedFx to rc3-24126-00, rc3-004312 2016-05-26 13:11:22 -05:00
Bryan Thornbury
66381098dd stop nuking latest binaries 2016-05-26 10:20:14 -07:00
Eric Erhardt
70ed305171 Update dotnet-new project.json templates
Now that Microsoft.NETCore.App is built in a separate repo, we don't need the project.json.pretemplate files.
2016-05-26 09:44:21 -05:00
Eric Erhardt
06ec7ddf47 Add core-setup to update-dependencies.
Update-dependencies will now update all the shared framework and host dependencies in CLI.
2016-05-26 09:44:19 -05:00
Eric Erhardt
8e1b587d34 Merge pull request #3241 from eerhardt/UpdateCoreFX
Enhance update-dependencies
2016-05-26 07:50:09 -05:00
Senthil
e9e4427b42 Update core-setup dependency versions (#3231)
Pick up host with JIT_PATH property
2016-05-25 23:12:19 -07:00
Eric Erhardt
bbd5f7549e Fix build failure in PublishTargets.
InitPublish is trying to access a BuildContext variable that is no longer there. It doesn't need that variable, so removing it.
2016-05-25 22:32:10 -05:00
Eric Erhardt
a7fccf8508 Fix update-dependencies.ps1 and build scripts to no longer use restore --infer-runtimes.
Also, update-dependencies.ps1 doesn't use $PSScriptRoot everywhere.  Instead use $RepoRoot.
2016-05-25 22:06:59 -05:00
Eric Erhardt
ee7372c2a1 Move update-dependencies under build_projects. 2016-05-25 22:06:59 -05:00
Bryan Thornbury
5359e16bf4 Re-enable tests 2016-05-25 15:10:43 -07:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -07:00
Piotr Puszkiewicz
8ffba3c029 Set DOTNET_CLI_TELEMETRY_PROFILE for CLI Repo builds (#3228) 2016-05-25 09:21:08 -07:00
Eric Erhardt
2a870ee6c3 Remove updating dotnet/versions repo with the latest shared framework version. This is breaking the build, and it should be done in core-setup instead. 2016-05-24 16:53:35 -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
e47f407a25 Disable Kestrel.Tests until we can get an ASP.NET RC3 build.
See #3216
2016-05-24 09:37:43 -05:00
schellap
c037cf321e Revert "Merge pull request #3191 from schellap/deps-clean"
This reverts commit b2c7140b2a, reversing
changes made to d307537eb8.
2016-05-23 19:05:03 -07:00
Livar Cunha
d7a8860041 Exclude System.Private.CoreLib from crossgen 2016-05-23 18:06:34 -07:00
Livar Cunha
78bea7df84 Adding JITPath parameter to crossgen 2016-05-23 17:58:03 -07:00
Livar Cunha
a9e12e0336 Updating core packages to rc3-24123-01 2016-05-23 17:19:11 -07:00
Sridhar Periyasamy
0c463c281f Remove '--infer-runtimes' option for 'dotnet restore' when restoring
TestAssets.
2016-05-23 17:04:32 -07:00
Sridhar Periyasamy
baf28233f4 Address PR feedback. 2016-05-23 17:04:29 -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
Eric Erhardt
ca8cf5e4b7 Merge pull request #3182 from eerhardt/PackagesFromFinalize
Move PullNupkgFilesFromBlob into FinalizeBuild.
2016-05-23 18:07:10 -05:00
schellap
410b5c01ee Pin stage0 versions to 1.0.0-preview2-002818 2016-05-22 14:16:40 -07:00
schellap
dafda03832 Revert "Merge pull request #3020 from schellap/deps-clean"
This reverts commit d307537eb8, reversing
changes made to 54ab5b8385.
2016-05-22 13:35:44 -07:00
Senthil
dd07f0f1ed Strict deps resolution else fail fast 2016-05-22 00:50:11 -07:00
Eric Erhardt
78e34c6eb7 Move PullNupkgFilesFromBlob into FinalizeBuild.
Also, update dotnet/versions for the DotNetHost and NetCore.App packages.

Fix #3031
2016-05-21 23:18:13 -05:00
Senthil
d61e982011 Merge pull request #3106 from schellap/fx-version
Add --fx-version option to the muxer
2016-05-20 20:43:45 -07:00
Eric Erhardt
9af3edfeda Merge pull request #3134 from eerhardt/OMGBuild
Change stub packages to no longer contain any dependencies.
2016-05-19 12:05:13 -05:00
Eric Erhardt
4b14c8471c Change stub packages to no longer contain any dependencies. Instead they just contain a dummy.txt file. 2016-05-19 10:46:46 -05:00
Senthil
aa578bc08e Merge pull request #3104 from schellap/sccs
Fix build minor and add sccsid
2016-05-19 00:12:52 -07:00
Eric Erhardt
85a4e44fa2 Merge pull request #3092 from eerhardt/LatestPackages
Update github.com/dotnet/versions when new CLI builds are produced.
2016-05-18 18:33:58 -05:00
Eric Erhardt
dfafcd96cf Merge pull request #3107 from dotnet/eerhardt/FixBuildAgain
Fix stub package generation to just depend on System.Console.
2016-05-18 17:21:19 -05:00
Sridhar Periyasamy
dad916499a Disable partial NGen
Fixes - #3053
2016-05-18 13:03:49 -07:00
Eric Erhardt
f53da52a3d Remove --infer-runtimes for RestoreLockedCoreHost. 2016-05-18 14:17:38 -05:00
Eric Erhardt
e28450e5a3 Move GITHUB_PASSWORD env var check out of VersionRepoUpdater. 2016-05-18 14:14:50 -05:00
Eric Erhardt
d0a1e239dc Address PR feedback:
- Dispose of the HttpClient
- Use the Regex to get the Prerelease version info.
2016-05-18 11:15:28 -05:00
schellap
c9d0b29d9e Add --fx-version option to the muxer 2016-05-18 08:17:33 -07:00
Senthil
9b17ca75d7 Fix build minor and add sccsid 2016-05-17 21:18:02 -07:00
Eric Erhardt
4394cfa358 Update github.com/dotnet/versions when new CLI builds are produced. 2016-05-17 21:24:00 -05:00
Eric Erhardt
5e947c5fcd Merge pull request #3074 from eerhardt/FixBuild
Move RestorePackages to Prepare, not Init.
2016-05-17 14:08:13 -05:00
Eric Erhardt
2f4ab8d554 Update the StubPackageBuilder NETStandardLibrary version number to match the current CoreFX version number. 2016-05-17 11:02:08 -05:00
Eric Erhardt
7cb7b660d8 Move RestorePackages to Prepare, not Init.
RestorePackages will fail if the 'artifacts\rid\corehost` folder doesn't exist. So other targets that depend on Init can't run unless the host has been built.
2016-05-17 10:36:02 -05:00
Eric Erhardt
14ed7a3e45 Fix warnings in our build projects so VSO powershell scripts don't fail. 2016-05-16 18:30:56 -05:00
Bryan
7bf08c5bd5 Bring Host build into separate project 2016-05-16 14:55:15 -05:00