Commit graph

52 commits

Author SHA1 Message Date
Eric Erhardt
928c510c84 Clean up unused build code. 2017-05-11 08:59:38 -05:00
Eric Erhardt
a7becbe6d8 Fix passing /p:DISABLE_CROSSGEN on cli.
When passing a property using the commandline, it is not flown through to "dotnet publish" calls.  So instead of using "dotnet publish", just use the MSBuild task to invoke the Publish target on the reidst project.  This way properties flow correctly.

I also did a little cleaning of unused build logic.
2017-04-04 17:50:28 -05:00
Eric Erhardt
21471aa956 Fix UpdateVersionsRepo to always write the files correctly.
We were only building nupkgs on windows, which meant if a non-windows machine was the last leg to finish, we were writing a blank file to the versions repo.

Fix #4399
2017-03-03 21:43:38 -06:00
Piotr Puszkiewicz
d55a8f8188 Add missing copyright headers to all cs files 2017-03-02 21:04:03 -08:00
Eric Erhardt
b64068291b Remove OpenSUSE13 and Fedora23 since they are end of lifed. 2017-03-01 15:27:50 -06:00
Piotr Puszkiewicz
85b2a129db Merge branch 'rel/1.0.0'
Conflicts:
	TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj
	TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj
	TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj
	TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj
	TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj
	build.proj
	build/Compile.targets
	build/Microsoft.DotNet.Cli.Compile.targets
	build/Microsoft.DotNet.Cli.DependencyVersions.props
	build/Microsoft.DotNet.Cli.Monikers.props
	build/Microsoft.DotNet.Cli.Prepare.targets
	build/package/Microsoft.DotNet.Cli.Nupkg.targets
	build/package/Nupkg.targets
	build/test/TestPackageProjects.targets
	build_projects/dotnet-cli-build/GenerateBuildVersionInfo.cs
	build_projects/dotnet-cli-build/GetCommitCount.cs
	build_projects/dotnet-cli-build/dotnet-cli-build.csproj
	build_projects/shared-build-targets-utils/Utils/BuildVersion.cs
	src/dotnet-archive/dotnet-archive.csproj
	src/tool_msbuild/tool_msbuild.csproj
	src/tool_nuget/tool_nuget.csproj
	test/ArgumentForwardingTests/ArgumentForwardingTests.csproj
	test/ArgumentsReflector/ArgumentsReflector.csproj
	test/EndToEnd/EndToEnd.csproj
	test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
	test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs
	test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
	test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
	test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj
	test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
	test/binding-redirects.Tests/binding-redirects.Tests.csproj
	test/crossgen.Tests/crossgen.Tests.csproj
	test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
	test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
	test/dotnet-build.Tests/dotnet-build.Tests.csproj
	test/dotnet-help.Tests/dotnet-help.Tests.csproj
	test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
	test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
	test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
	test/dotnet-new.Tests/dotnet-new.Tests.csproj
	test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
	test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
	test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
	test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
	test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
	test/dotnet-run.Tests/dotnet-run.Tests.csproj
	test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
	test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
	test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
	test/dotnet-test.Tests/dotnet-test.Tests.csproj
	test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
	test/dotnet.Tests/dotnet.Tests.csproj
	test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
	tools/Archiver/Archiver.csproj
2017-02-17 02:00:05 -08:00
Livar Cunha
35fc8c1d0e Step one of introducing a flag to drop the suffix out of our build versions. 2017-02-08 15:26:47 -08:00
Livar
a442449c55 Updating the branding on rel/1.0.0 to rc4. (#5267) 2017-01-12 13:14:57 -08:00
Eric Erhardt
c481ad9cdc Merge all hard-coded versions and version suffixes to be defined in a single spot. 2017-01-10 20:54:11 -06:00
Livar Cunha
b7b90175f4 Removing the public types from InternalAbstractions. 2016-08-10 13:39:49 -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
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
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
Bryan Thornbury
fa97921a4d change to properties, artifact names 2016-06-29 15:12:58 -07:00
Eric Erhardt
15b2a9d9db Convert all CLI build targets to MSBuild Tasks. (#3690) 2016-06-24 11:06:13 -07:00
Bryan Thornbury
d717b84ec8 merge rel/1.0.0-preview2 into rel/1.0.0 2016-06-15 10:20:50 -07:00
Senthil
b81ef0fbd6 Fix .deb package name to include versions 2016-06-14 02:10:16 -07:00
Bryan Thornbury
0f640a32e3 download fxr installer file, use it in pkg targets 2016-06-14 02:09:12 -07:00
Livar
9f2bb66198 Merge pull request #3485 from livarcocc/offline
Offline feature work
2016-06-12 00:58:26 -07: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
Livar Cunha
5f220a1677 Generating the archive in the sdk folder of stage2. 2016-06-10 16:54:14 -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
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
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
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
Livar Cunha
7652335195 Addressing code review comments and adding opensuse 13.2 2016-05-31 15:15:57 -07:00
Matt Ellis
2155a419ad Generate correct badges filenames 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
Matt Ellis
6ccc40e146 Use different moniker for the new distros 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
Bryan Thornbury
f31472764f Sync build_projects/shared-build-targets-utils with Core-Setup 2016-05-27 13:24:39 -07: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
7909c6a3d5 Stop downloading core setup dependencies in every build, when we already have them. 2016-05-26 13:32:14 -07:00
Bryan
aa01110c33 Remove The host build, consume the host build from core-setup 2016-05-25 14:49:12 -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 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
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
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
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
Sridhar Periyasamy
dad916499a Disable partial NGen
Fixes - #3053
2016-05-18 13:03:49 -07:00
Eric Erhardt
e28450e5a3 Move GITHUB_PASSWORD env var check out of VersionRepoUpdater. 2016-05-18 14:14:50 -05:00
Senthil
9b17ca75d7 Fix build minor and add sccsid 2016-05-17 21:18:02 -07:00