Commit graph

4216 commits

Author SHA1 Message Date
Livar Cunha
7601f66328 Reducing the test method name sizes in an attempt to get it passing on Windows. 2016-10-16 18:42:57 -07:00
Piotr Puszkiewicz
ad19f5ecb7 Prevent paths with escapable characters like @ (#4418)
Thanks for the investigation, @cdmihai
2016-10-14 16:42:33 -07:00
Livar Cunha
ce812a64c2 Removing DotnetFiles from Cli.Utils. 2016-10-14 15:46:52 -07:00
Eric Erhardt
f83c199244 Removing the old Microsoft.NuGet.targets in ImportsBefore/After.
These files are no longer part of the CLI, so these imports are no longer needed.
2016-10-14 17:43:49 -05:00
Eric Erhardt
c3ddbba163 Rename restore3 --recursive to --no-dependencies to match the build3 option. 2016-10-14 17:28:58 -05:00
Livar Cunha
dab19ce57c Fixing msbuild.exe casing 2016-10-14 14:58:36 -07:00
Livar Cunha
8ad1982013 Handling configuration when the env variable is not set. 2016-10-14 14:36:09 -07:00
Livar Cunha
58bc3b5853 Making the tests aware of the Configuration used in the build. 2016-10-14 12:56:18 -07:00
Livar Cunha
99d6b1fd6d Adding some more tracing to tools command resolvers. 2016-10-14 12:56:18 -07:00
Livar Cunha
d8a10024e5 Addressing code review comments by removing unnecessary test artifacts. 2016-10-14 12:56:18 -07:00
Livar Cunha
d779ab3e3f Fixing the tool used in the test that I changed when trying things out and fixing the code that sets environment variables in the command to check if the environment variable already exists before adding it. 2016-10-14 12:56:18 -07:00
Livar Cunha
318c9f3e44 Making ProjectDependenciesCommandResolver handle msbuild projects as well by using the ProjectFactory and IProject.
Moving the CommandResolution classes that depend on msbuild back into Cli.Utils.

Updating the src projects to a netstandard compatible with Cli.Utils moving to netstandard1.5
2016-10-14 12:56:18 -07:00
Justin Goshi
a97d44eded Merge branch 'dev/jgoshi/switchToMsbuild' into rel/1.0.0 2016-10-14 12:32:50 -07:00
Justin Goshi
a3deb373e1 Merge branch 'rel/1.0.0' into dev/jgoshi/switchToMsbuild 2016-10-14 12:31:53 -07:00
Justin Emgarten
bc82b16a01 Merge pull request #4406 from dotnet/emgarten/solutionRestore
Adding recursive restore and solution level restore
2016-10-14 11:18:24 -07:00
Piotr Puszkiewicz
439e733b6e Update CLI developer guide (#4401)
* Update CLI developer guide

* PR Feedback
2016-10-14 10:57:09 -07:00
Piotr Puszkiewicz
02a19aff56 dotnet-new csproj templates (#4382)
Make csproj templates first-class in dotnet-new.
2016-10-14 00:06:35 -07:00
Justin Emgarten
53b436c5d5 Updating NuGet to 3.6.0-rc-1984 2016-10-13 19:31:15 -07:00
Justin Emgarten
fcdc23233e Recursive restore and solution restore support
This change adds support for restoring solution files with msbuild /t:Restore and dotnet restore3.
Restoring a project file will now recursively restore all dependency projects to match build.

Fixes https://github.com/dotnet/cli/issues/4252
Related to: https://github.com/NuGet/Home/issues/2993
2016-10-13 19:18:02 -07:00
Justin Goshi
18bc875dca Change cli build to csproj files (First step on one project)
First doing this just for dotnet-cli-build
2016-10-13 18:09:30 -07:00
Bryan Thornbury
1926d0e4a4 fix null ref when only one item (#4390) 2016-10-12 16:01:22 -07:00
Bryan Thornbury
f79d78703b remove autounify, fix langversion (#4387)
* remove autounify, fix langversion

* PR feedback
2016-10-12 14:59:36 -07:00
Nate Amundson
3ae14ab618 Upload checksums for installation artifacts (#4191)
The checksums are SHA-512 hashes, which users can use to verify file
integrity and authenticity.
2016-10-12 14:25:06 -05:00
Livar
3e1eb008e2 Merge pull request #4301 from Faizan2304/clitest3verb
Implementation of test3 verb
2016-10-12 11:57:18 -07:00
Faizan Ahmad
578edc9350 Rebase with rel/1.0.0 2016-10-12 22:53:43 +05:30
Eric Erhardt
90a51bdd00 Merge pull request #4385 from dotnet/emgarten/1979
Updating NuGet to 3.6.0-rc-1979
2016-10-12 07:50:49 -05:00
Faizan Ahmad
4dd685a45c Addressed livar PR comment 2016-10-12 15:20:07 +05:30
Justin Emgarten
f2eef338db Updating NuGet to 3.6.0-rc-1979 2016-10-12 00:49:44 -07:00
Faizan Ahmad
391fff1f20 Merge branch 'rel/1.0.0' into clitest3verb 2016-10-12 11:57:46 +05:30
Justin Goshi
07418af874 Fixes #4293
https://github.com/dotnet/cli/issues/4293
2016-10-11 18:25:47 -10:00
Eric Erhardt
ea092717ac Merge pull request #4369 from eerhardt/SingleTFM
Move all CLI libraries to be single-TFM targeting netstandard1.3 where possible.
2016-10-11 20:59:48 -05:00
Justin Goshi
59f2483fd3 https://github.com/dotnet/cli/issues/4293
Improve help text for commands that shell out to msbuild.
2016-10-11 17:29:09 -07:00
Eric Erhardt
742d48b596 Fix binding-redirects.Tests to work with net46. 2016-10-11 18:30:15 -05:00
Eric Erhardt
acbef441b1 fixup Cli.Utils.Tests for latest code from rel/1.0.0 2016-10-11 17:31:18 -05:00
Bryan Thornbury
924c2c2954 Fix Migration Imports (#4350)
* Fix Migration Imports

* turn tests back on

* turn other tests back on

* test update

* update nuget version

* fix string join

* bump nuget version

* undo

* undo

* undo
2016-10-11 15:22:18 -07:00
Eric Erhardt
b8dbdc29ae Merging Test.Utilties with the latest code from rel/1.0.0. 2016-10-11 17:20:15 -05:00
Eric Erhardt
b5329995d8 Merge branch 'rel' 2016-10-11 17:01:33 -05:00
Eric Erhardt
00f543d089 Fix dotnet-tests to run tests on net46, since we only support netstandard1.3 in ProjectModel. 2016-10-11 16:59:58 -05:00
Eric Erhardt
7618cce420 Remove GivenADesktopAppWhichUsesCommandCreateDotnet, since Cli.Utils will only support netstandard1.5 going forward. 2016-10-11 16:16:44 -05:00
Eric Erhardt
38753d42b0 Fix the tests for targeting netstandard1.3. 2016-10-11 16:01:03 -05:00
Justin Goshi
19abf66412 Fixes issue #4313
Improve error messages for the migrate command
2016-10-11 10:58:49 -10:00
Livar
4780eb667b Merge pull request #4374 from livarcocc/update_msbuild_to_316
Updating the MSBuild version to 15.1.316-preview5.
2016-10-11 11:40:17 -07:00
Piotr Puszkiewicz
28193c5f75 Merge pull request #4303 from dasMulli/feature/dotnet-clean-verb
Added clean3 verb for msbuild based projects.
2016-10-11 11:36:27 -07:00
Justin Goshi
70a8872f45 Address CR comments for the new migration tests
Changing the tests to also verify the error messages.
2016-10-11 11:19:04 -07:00
Livar Cunha
7dec493a8a Updating the MSBuild version to 15.1.316-preview5. 2016-10-11 10:35:40 -07:00
Bryan Thornbury
0a889b2feb Merge pull request #4371 from brthor/brthor/typebuild
Fix Migration type:build
2016-10-11 10:09:28 -07:00
Eric Erhardt
edf2fc1f53 Merge pull request #4367 from eerhardt/NewSdk
Update Microsoft.NETCore.Sdk => Microsoft.NET.Sdk.
2016-10-10 20:31:58 -05:00
Justin Goshi
5016aea90c Add tests 2016-10-10 18:01:59 -07:00
Livar
40c7144fc2 Merge pull request #4364 from mendhak/proxy
Allow dotnet-install.ps1 to work behind an outbound proxy
2016-10-10 17:15:52 -07:00
Bryan Thornbury
0bdd3bd59f type build, suppress parent, include, exclude working 2016-10-10 16:21:55 -07:00