Commit graph

3371 commits

Author SHA1 Message Date
Livar Cunha
174eeed45e Adding System namespace to packagedependencyprovidertest, required by StringComparer. 2016-07-28 21:57:00 -07:00
Livar Cunha
dca7a4fd41 Need to restore the build tools CLI before trying to use it. Now we use it for both restore/publish of build tools. 2016-07-28 21:43:09 -07:00
Livar Cunha
da688f71c2 Fixing the path to the Build Tools CLI for publisbing tools_runtime 2016-07-28 21:27:46 -07:00
Livar Cunha
b05b0e6dc5 After NuGet started lower casing the packages, we started hitting issues where we failed to locate dependencies under our list of libraries due to different casing in the libraries names. The fix here is to compare the library names ignoring casing. 2016-07-28 21:17:32 -07:00
Piotr Puszkiewicz
ad66b8935c Merge pull request #3957 from dotnet/piotrpMSFT/fixbuild
print all files
2016-07-28 03:03:12 -04:00
Piotr Puszkiewicz
ed0f29fde4 print all files 2016-07-28 00:01:14 -07:00
Piotr Puszkiewicz
4d21dc40cf Merge pull request #3956 from dotnet/piotrpMSFT/fixbuild
Full verbosity for build_tools restore
2016-07-28 02:41:43 -04:00
Piotr Puszkiewicz
001504fcec Full verbosity for build_tools restore 2016-07-27 23:40:47 -07:00
Piotr Puszkiewicz
527aee89c0 Merge pull request #3955 from dotnet/piotrpMSFT/fixbuild
Expose init_tools full verbosity
2016-07-28 02:38:12 -04:00
Piotr Puszkiewicz
fd9451d758 Expose init_tools full verbosity 2016-07-27 23:37:08 -07:00
Piotr Puszkiewicz
1a45eaeb8c Merge pull request #3954 from dotnet/piotrpMSFT/fixbuild
improve diagnostic output
2016-07-28 02:28:11 -04:00
Piotr Puszkiewicz
63b11f0690 fix fix 2016-07-27 23:26:28 -07:00
Piotr Puszkiewicz
beb549916f Merge pull request #3953 from dotnet/piotrpMSFT/fixbuild
init tools diagnostics
2016-07-28 02:24:11 -04:00
Piotr Puszkiewicz
3d2217c50d init tools diagnostics 2016-07-27 23:21:26 -07:00
Piotr Puszkiewicz
322eb72b86 Merge pull request #3952 from livarcocc/fix_publish
Fix publish
2016-07-27 19:59:38 -04:00
Livar Cunha
567cd8e1b5 Adding the trailing slash in the directory property. BuildTools needs it like that and that is the pattern in MSBuild. 2016-07-27 15:59:55 -07:00
Livar Cunha
f31a135264 Loading Build.Common.targets, a common targets for BuildTools. We need it to fix the Publish failures we have been hitting. 2016-07-27 15:18:59 -07:00
Piotr Puszkiewicz
673dca4064 Merge pull request #3945 from dotnet/piotrpMSFT/FixBuildTools
Define build-tools required prop ToolsDir.
2016-07-27 00:47:37 -04:00
Eric Erhardt
0d7c722189 Merge pull request #3937 from eerhardt/msbuild-runtimeconfig
Generate runtimeconfig.json and runtimeconfig.dev.json from MSBuild
2016-07-26 23:19:47 -05:00
Eric Erhardt
104ca5219d Ensure additional probing paths don't have a trailing slash.
Workaround for https://github.com/dotnet/core-setup/issues/228.
2016-07-26 22:27:25 -05:00
Eric Erhardt
ba0f71f5a5 Use object serialization to write the runtime config files. 2016-07-26 21:56:47 -05:00
Eric Erhardt
efc0efe4f9 Workaround native deps resolver not lower casing the file paths into the NuGet cache.
This is needed until https://github.com/dotnet/core-setup/pull/64 is merged.
2016-07-26 21:00:14 -05:00
Eric Erhardt
74da44a2bf Temporarily restoring in-between compilation stages in order to use the current NuGet restore implementation. 2016-07-26 21:00:14 -05:00
Eric Erhardt
a48def9ade Fix package code for new NuGet.
The new NuGet uses tolower paths, and we need to react to it.

Port https://github.com/dotnet/cli/pull/2722
Port https://github.com/dotnet/cli/pull/3554
2016-07-26 20:53:20 -05:00
Eric Erhardt
d54bba96cd Fix Microsoft.DotNet.Tools.Tests.Utillities.xproj name to match folder.
Also fixing GivenAProjectDependenciesCommandFactory test to expect a lower case path, since that is what the new NuGet does.
2016-07-26 20:53:19 -05:00
Eric Erhardt
2ac8ca0e07 Update Microsoft.NuGet.Build.Tasks to 1.0.0-alpha-000002, which has the casing fix for Microsoft.Net.Compilers.netcore dependency. 2016-07-26 20:53:19 -05:00
Eric Erhardt
369a6894dd Fix the casing of Microsoft.Net.Compilers.netcore since the latest NuGet cares about this now. 2016-07-26 20:53:18 -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
PiotrP
97bc5e3cb7 Define build-tools required prop ToolsDir. 2016-07-26 18:22:58 -07:00
Jonathan Miller
006ab56248 Merge pull request #3925 from sokket/run
Bringing run.exe into the repo and starting with the clean command
2016-07-26 17:12:59 -07:00
Piotr Puszkiewicz
730a59ad17 Merge pull request #3943 from dotnet/rel/1.0.0
fix up git history
2016-07-26 19:27:05 -04:00
Piotr Puszkiewicz
dd43ccb688 Piotrp msft/merge2msbuild (#3941)
* Add Test for removing readonly flag when copying readonly library assets

* change namespace

* PR Feedback

* Fix newlines in the first run experience message

The newlines in the first run experience were missing which made the text
look a little squashed.

Fixes #3909

* Update README.md (#3904)

* Update README.md

* Responding to PR feedback

* Responding to PR feedback
2016-07-26 19:22:12 -04:00
Jonathan Miller
3a6e15309e Bringing run.exe into the repo and starting with the clean command 2016-07-26 16:15:36 -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
Bryan Thornbury
ee8a01b8d6 Merge pull request #3924 from brthor/brthor/msbuild-vers
change feature-msbuild versions.
2016-07-25 14:37:36 -07:00
Bryan Thornbury
7c71af8db5 get Eric's change 2016-07-25 14:06:46 -07:00
Bryan Thornbury
5d96412b14 change feature-msbuild branch versions 2016-07-25 14:05:41 -07:00
Eric Erhardt
eaa771edca Merge pull request #3918 from blackdwarf/frefix
Fix newlines in the first run experience message
2016-07-25 10:11:34 -05:00
Piotr Puszkiewicz
fe5119fde4 Piotrp msft/merge2msbuild (#3923)
* Add Test for removing readonly flag when copying readonly library assets

* change namespace

* PR Feedback

* Update README.md (#3904)

* Update README.md

* Responding to PR feedback

* Responding to PR feedback
2016-07-23 13:38:31 -04:00
Eric Erhardt
fd8bbdcb63 Merge pull request #3911 from eerhardt/msbuild-E2E
MSBuild end to end
2016-07-22 18:49:22 -05: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
Zlatko Knezevic
77136a11ee Update README.md (#3904)
* Update README.md

* Responding to PR feedback

* Responding to PR feedback
2016-07-22 14:21:15 -07:00
Bryan Thornbury
30557a179a Merge pull request #3914 from brthor/brthor/readonlytest
Add Test for removing readonly flag when copying readonly library assets
2016-07-22 10:18:48 -07:00
Eric Erhardt
1f8facc7c5 Fix TestSdkDeb to run tests against the installed dotnet. 2016-07-22 07:04:25 -05:00
Eric Erhardt
c317c92691 Correcting the casing of Microsoft.Common.targets directory 2016-07-22 07:04:24 -05:00
Eric Erhardt
3a446ec5d4 Fixing the Sdk.props to work correctly for Release config and xplat pdb creation. 2016-07-22 07:04:24 -05:00
Eric Erhardt
5296b28db7 Removing all PlatformTarget setting in the default Sdk.props file.
This value is passed in by the CLI.
2016-07-22 07:04:23 -05:00
Zlatko Knezevic
d14fda084b Fix newlines in the first run experience message
The newlines in the first run experience were missing which made the text
look a little squashed.

Fixes #3909
2016-07-21 23:00:26 -07:00
Bryan Thornbury
5cb8be5143 PR Feedback 2016-07-21 22:09:07 -07:00
Bryan Thornbury
f829d8cb93 change namespace 2016-07-21 21:12:50 -07:00