Commit graph

3726 commits

Author SHA1 Message Date
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
Eric Erhardt
eca827e0d4 Merge pull request #3922 from blackdwarf/templatesfix
Remove namespace and public from console app
2016-07-27 07:53:23 -05: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
Bryan Thornbury
e100c1f046 Merge pull request #3312 from dotnet/brthor/consume-dotnet-deb-tool-2
Consume dotnet-deb-tool in cli
2016-07-26 16:41:53 -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
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
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
Zlatko Knezevic
6766017ffb Responding to PR feedback 2016-07-22 12:11:01 -07:00
Zlatko Knezevic
252be27100 Remove namespace and public from console app
Fixes #745, #3531
2016-07-22 11:56:05 -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
Bryan Thornbury
e1c5c7a43d Add Test for removing readonly flag when copying readonly library assets 2016-07-21 19:36:45 -07:00
Eric Erhardt
e908ffec91 Fix build3 tests. 2016-07-21 18:29:35 -05:00
Eric Erhardt
69619c0716 PR feedback. 2016-07-21 18:17:20 -05:00
Eric Erhardt
72c59c4d05 Add test for MSBuild End to End. 2016-07-21 16:02:57 -05:00
Eric Erhardt
f0afc7eb79 Minor cleanup. 2016-07-21 12:41:20 -05:00
Eric Erhardt
0eeb58f4eb Clean up the temporary TestAsset changes. 2016-07-21 12:23:51 -05:00
Eric Erhardt
9751b3203c Remove the Sdk nuget package. 2016-07-21 12:18:00 -05:00
Eric Erhardt
b068687413 Implement 'run3' command which will execute the MSBuild project.
Also create a 'dotnet new -t msbuild' template.
2016-07-21 11:57:20 -05:00
Eric Erhardt
bccff16c18 Round 2: rename the SDK NuGet package and add ImportBeforeAfter files to load them. 2016-07-21 11:57:19 -05:00