Commit graph

1601 commits

Author SHA1 Message Date
Livar Cunha
477f0f42d0 Fixes a few inconsistencies in the display for the dotnet restore -help command.
Fixing tests based on the new strings.
2017-05-10 13:25:59 -07:00
Livar
760bdf8f75 Merge pull request #6530 from mikkelbu/gracefully-report-invalid-projects
Gracefully report invalid project when added via sln-add
2017-05-08 11:39:17 -07:00
Mikkel Nylander Bundgaard
7a824fe737 Gracefully report invalid project in sln-add
Fixes #5900
2017-05-06 02:08:00 +02:00
Nick Guerrera
071789b33f Merge branch 'release/2.0.0' into merge-release-2.0 2017-05-05 16:21:15 -07:00
Daniel Plaisted
8b13b3e579 Fall back to tools restored for .NET Core 1.x if they haven't been restored for .NET Core 2.0 2017-05-05 13:15:02 -07:00
Mike Lorbetske
17f522e66c Update to no-timestamp packages and adjust feeds and cache accordingly 2017-05-05 01:44:24 -07:00
Mikkel Nylander Bundgaard
18d71a8471 Show help info when no or wrong arguments are given
Fixes #5383, fixes #5384
2017-05-04 01:01:35 +02:00
Livar
52e3ad7f9a Merge pull request #6487 from mlorbetske/dev/mlorbe/UpdateAspNetTo24801
Update ASP.NET to 24801 - SetupCrossgen build 56
2017-05-03 11:29:40 -07:00
Faizan2304
b90b191ef0 Insert Microsoft.TestPlatform.cli for update3 preview1 (#6420)
* Fix test issue failing with PathTooLongIssue

(cherry picked from commit 340254f7742201c74ed1a5c349bdca89113bd5dc)

* fix for issues:
1) https://github.com/Microsoft/vstest/issues/755
2) https://github.com/Microsoft/vstest/issues/687
3) https://github.com/Microsoft/vstest/issues/737

(cherry picked from commit 0e93b2a5d4734637538781fa5401ed81a31eea0f)

* use new version

* Update version

* Fix pathtoolong issue

* Fix test
2017-05-02 21:30:51 -07:00
Mike Lorbetske
dd827c5393 Update ASP.NET to 24801 - SetupCrossgen build 56 2017-05-02 21:04:50 -07:00
William Li
7154330432 Address code review
Use one version for cli migrate packages

as well as Nuget component packages

Rename CreateWithWith...
2017-05-02 13:26:46 -07:00
Livar Cunha
9387702b7a Fixing the failing test by using a package that is not part of the asp.net runtime. 2017-05-02 12:37:29 -07:00
William Li
2ab4ac5454 Adjust for using cli-migrate package reference
Remove ProjectJsonMigration and its test from solution file

Change dependecy by package reference instead of project 2 project

Construct the sln and dotnet new with wrapper that is used in migrate
package

Add reference to Nuget ProjectModel etc since CrossGen need it and it
cannot automatically get the reference
2017-05-01 10:50:37 -07:00
William Li
093bf72c3c Remove ProjectJson solution and its tests
It is moved to cli-migration repo
2017-05-01 08:27:02 -07:00
Nick Guerrera
fa4fe3b2c6 Package MSBuild SDK resolver in VS insertion nupkg 2017-04-27 23:07:19 -07:00
Nick Guerrera
d26b41a0c3 Add msbuild sdk resolver 2017-04-27 23:07:18 -07:00
Daniel Plaisted
b6d9520ffc Fix tests that require .NET Core 1.1 2017-04-27 15:48:48 -07:00
Daniel Plaisted
fa2a02ff0e Add metadata to test specifying required shared framework 2017-04-27 13:52:48 -07:00
Daniel Plaisted
b972f8229e Use backwards compatible runtimes for app throwing exception tests 2017-04-27 13:45:12 -07:00
Daniel Plaisted
af9a85fd3f Disable multilevel lookup and fix tests that were depending on .NET Core 1.0 shared framework 2017-04-27 12:56:28 -07:00
Daniel Plaisted
cc9e942ede Apply code review feedback 2017-04-27 09:30:40 -07:00
Daniel Plaisted
06c1cc5990 Update test tools that need conflict resolution on 2.0 to target 2.0 2017-04-27 09:30:39 -07:00
Daniel Plaisted
01d3895b24 Add tests for behavior of tools that target previous major version of shared framework 2017-04-27 09:30:39 -07:00
Daniel Plaisted
5c679cd32e Test fixes for tools deps.json generation 2017-04-27 09:29:16 -07:00
Jon Sequeira
74af357f07 fix NullReferenceError on remove package and incorrect help text 2017-04-26 16:43:55 -07:00
Livar
4f6fbc4a7f Merge pull request #6362 from mlorbetske/dev/mlorbe/Update20Templates
Update templates and engine, pin ASP.NET package versions, add web item templates
2017-04-22 12:00:08 -07:00
Mike Lorbetske
8227a6edac Update templates, remove browserlink from checked packages 2017-04-21 22:10:57 -07:00
Mike Lorbetske
cc64d6cd6d Re-enable tests as promised 2017-04-21 20:51:52 -07:00
Mike Lorbetske
4dd1be1978 Respond to review feedback 2017-04-21 20:51:52 -07:00
Mike Lorbetske
9ea9cbc8a6 Update templates and engine, pin ASP.NET package versions, add web item templates 2017-04-21 20:51:52 -07:00
Livar
78a138412f Merge pull request #6368 from mlorbetske/dev/mlorbe/TemporarilyDisableMvcAndWebApiCreationTests
Temporarily disable mvc & web api creation tests
2017-04-20 17:22:39 -07:00
Mike Lorbetske
c751bc1b7c Temporarily disable mvc & web api creation tests 2017-04-20 16:32:28 -07:00
Livar
3f82e11a91 Merge branch 'master' into tp-insert-0414 2017-04-18 21:06:17 -07:00
Livar
78868ad33a Merge pull request #6320 from johnbeisner/CLI-backcompat-tests
Adding a CLI Test: Execute a 1.0 tool in a netcoreapp1.1 project
2017-04-17 10:05:40 -07:00
John Beisner
a8eb0d0f50 Changes per PR code review. 2017-04-17 09:27:25 -07:00
faahmad
b98dccb1f7 Fix tests 2017-04-17 07:31:03 -07:00
Livar
2a00911b1f Merge pull request #6324 from eerhardt/Fix6244
Rename publish --target to --manifest.
2017-04-14 20:37:04 -07:00
Rama krishnan Raghupathy
0f51901180 Merge pull request #6315 from ramarag/upDateSdk_for_missing_runtime_Store
Updating SDk to 20170414
2017-04-14 16:25:33 -07:00
Rama Krishnan Raghupathy
bb4298ddc2 Updating SDk to 20170414 2017-04-14 14:55:01 -07:00
Eric Erhardt
bfab25c259 Rename publish --target to --manifest.
Fix #6244
2017-04-14 16:08:32 -05:00
John Beisner
c51221d2f1 Adding "RequiresSpecificFrameworkFact("netcoreapp1.0")" to the 'ItRunsABackwardsVersionedTool' CLI test. 2017-04-14 13:31:12 -07:00
John Beisner
f56306cc62 Adding a CLI Test: Execute a 1.0 tool in a netcoreapp1.1 project
https://github.com/dotnet/cli/issues/6229
2017-04-14 09:40:46 -07:00
William Li
83f3a3ec86 Fix dotnet run double dash passing arguments
When run “dotnet run -- foo”, foo should be the argument passed to the
subject app. After replacing the original parser, dotnet-run did not
utilize the “unparsedtoken” of the parsed result.

To append unparsedtoken to RunCommand’s argument is not straight
forward. RunCommand has an “immutable constructor”, which is a good
thing, so I made update RunCommand’s argument following the immutable
pattern -- create a new object with the original field but only change
the arguments. I also made these filed private set.
2017-04-13 16:56:57 -07:00
Rama Krishnan Raghupathy
2f5673f953 moving dependecymodel and platformabstraction to preview1-001960 2017-04-11 17:00:50 -07:00
William Li
06f597b8e4 Fix wrong ListDefinition 2017-04-10 22:31:40 -07:00
William Li
1ccf02e226 Replace helpUsage text 2017-04-10 22:11:14 -07:00
William Li
a6d3012da1 Replace dotnet help parser with CliCommandLineParser
CliCommandLineParserVersion 138 cannot use help as command and --help as
opinion at the same timem, update to 142
2017-04-10 22:11:14 -07:00
Mike Lorbetske
fc77d7e152 Update templates & engine, rename --skip-restore to --no-restore 2017-04-10 20:00:17 -07:00
Livar
0d57d7169f Merge pull request #6284 from dotnet-bot/master-UpdateDependencies
Update CoreSetup to preview1-001957 (master)
2017-04-10 17:31:39 -07:00
Eric Erhardt
bfdba5df83 Update environment variable used in the latest host.
DOTNET_SHARED_PACKAGES => DOTNET_SHARED_STORE
2017-04-10 18:55:12 -05:00