Commit graph

3876 commits

Author SHA1 Message Date
Eric Erhardt
1b6502848e Respond to PR feedback. 2016-10-17 21:03:09 -05:00
Eric Erhardt
b32aedde5a Add /p:SkipInvalidConfigurations=true to fix the test 2016-10-17 21:03:08 -05:00
Eric Erhardt
469f7be5c3 Add test for dotnet run with multiple frameworks. 2016-10-17 21:03:08 -05:00
Eric Erhardt
cbeb5b9912 Report a meaningful error when trying to run a multi-TFM project.
Add `--no-build` option to `dotnet run3` since even incrementally building a project takes a non-trivial amount of time.
2016-10-17 21:00:58 -05:00
Justin Goshi
71666cc9b5 Auto add referenced assemblies for desktop migration
* https://github.com/dotnet/cli/issues/4351

Auto add referenced assemblies for desktop migration. Adds the same ones
that the build for project.json does.

* Address PR comments

* Address CR comments

* Address CR comment

Use .ToList() instead of new List

* Fix a build break

Needed .noautobuild file in my test asset project

* Change the migrate test for desktop framework to windows only

* Reducing to 120 characters per line
2016-10-18 01:02:10 +00:00
Justin Goshi
a6d37d25f5 Clean up dotnet-cli-build.csproj (#4416)
Clean up dotnet-cli-build.csproj
2016-10-17 23:50:22 +00:00
Piotr Puszkiewicz
cfcc97b3f0 Move Web template to csproj (#4429)
* Move Web template to csproj

* PR Feedback

* Updated template
2016-10-17 14:45:37 -07:00
Livar
6f62a8155c Merge pull request #4395 from livarcocc/projectdependenciescommandresolver
Making Projectdependenciescommandresolver work with MSBuild
2016-10-17 10:45:47 -07:00
Eric Erhardt
060762090d Merge pull request #4420 from eerhardt/RenameRestoreOption
Rename restore3 --recursive to --no-dependencies to match the build3 option.
2016-10-17 11:59:31 -05:00
Livar Cunha
3798102035 Changing the API to create the MSBuild project to LoadProject and removing some non-existing paths from the RepoDirectoriesProvider. 2016-10-17 08:43:47 -07:00
Eric Erhardt
081408b6c1 Merge pull request #4421 from eerhardt/NuGetImportsBefore
Removing the old Microsoft.NuGet.targets in ImportsBefore/After.
2016-10-17 10:36:58 -05:00
Livar Cunha
391d04c67a Adding net46 to some of our libraries back, so that we can run binding-redirect tests again. We need those tests for tool and we need to keep them running. 2016-10-16 18:44:07 -07:00
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