Commit graph

4598 commits

Author SHA1 Message Date
Ankit Mishra
0f6e4e3f10 FIxing argument adding 2016-12-20 19:48:52 -08:00
Ankit Mishra
3a5b89c242 Add package sub command 2016-12-20 18:52:33 -08:00
Krzysztof Wicher
a65d857f73 Merge pull request #5102 from krwq/i1494tools
fix tools when restoring with --packages
2016-12-20 18:20:25 -08:00
jonsequitur
a145c7ae81 fix path length problem in test 2016-12-20 18:17:36 -08:00
jonsequitur
05daa15ea1 backup folder cleanup to make tests using TestAssets rerunnable 2016-12-20 18:17:19 -08:00
Livar
10a1695d6c Merge pull request #5090 from livarcocc/migrate_app_config
Emitting a None item for App.config if one exists side-by-side to the project.json
2016-12-20 16:43:24 -08:00
Livar Cunha
3b081316ad Updating the SDK version in the BundleSdks.props and adding dirs.props back to all csprojs but the TestAssets ones. 2016-12-20 16:38:04 -08:00
jonsequitur
9b28fbecd6 R: rename EnsureDirectory to EnsureDirectoryExists and similar 2016-12-20 16:03:00 -08:00
Krzysztof Wicher
4b00570f68 replace yield returns with linq query 2016-12-20 15:53:38 -08:00
Livar Cunha
fadacc0aac Updating the projects files in the repo to use the SDK attribute. 2016-12-20 15:52:50 -08:00
Jon Sequeira
35e3625d4b Merge branch 'rel/1.0.0' into make-migration-backup-folder-peer-of-project 2016-12-20 15:24:33 -08:00
Justin Goshi
89f0b05958 Improve sln migration tests (#5066)
* WIP Improve sln migration tests

* Simple migration test

* Improve the test

* WIP update test assets

* Update test

* Test a bug fix

* Add another migrate sln test

* Fix FilePath related tests

* Finish the migrate sln tests

* Fix tests

* Fix another path issue
2016-12-20 13:04:01 -10:00
Krzysztof Wicher
aa7fb60d73 remove redundant packagesRoot path check and reorder methods 2016-12-20 14:56:21 -08:00
Livar Cunha
4bda166b2f Emitting a None item for App.config if one exists side-by-side to the project.json. 2016-12-20 14:42:31 -08:00
jonsequitur
620e573f95 make migration backup folder a sibling of the project root 2016-12-20 14:35:52 -08:00
Ankit Mishra
abd496a6f1 Adding base add package sub command 2016-12-20 14:24:10 -08:00
Krzysztof Wicher
444dd6a031 shorten random package name, address pr feedback 2016-12-20 13:53:21 -08:00
Krzysztof Wicher
59ae0e2d3d fix tools when restoring with --packages 2016-12-20 12:18:55 -08:00
Zlatko Knezevic
7a2c6ad086 Quote temp path output and input in crossgen (#5089)
Fixes #5088
2016-12-20 11:36:48 -08:00
Zlatko Knezevic
06396ddc40 Update README.md (#5092)
* Update README.md

Add information about the Preview 4 bits.

Fixes #5045, #5009
2016-12-20 11:36:08 -08:00
Livar
4447e11037 Merge pull request #5096 from AbhitejJohn/mstestv2upgrade
Updating the template to point to the rc packages of MSTest.
2016-12-20 10:55:03 -08:00
Abhitej Anoop John Bandi
0aa5d6256e Updating the template to point to the rc packages of MSTest. 2016-12-20 20:11:41 +05:30
Zlatko Knezevic
b467d66182 Remove argument separator from commands (#5080)
* Remove argument separator from commands

Currently, the argument separator (`--`) is only supported on
`dotnet run`. This PR removes it from other commands to make the help and
usage of these command clearer.

* Adding dotnet run message test

* Responding to PR feedback
2016-12-19 22:11:39 -08:00
Krzysztof Wicher
2d5e40f3ba Merge pull request #5085 from krwq/i5019
Add error message when tool is ivoked but not restored
2016-12-19 16:51:14 -08:00
Livar
134e9af798 Merge pull request #5078 from livarcocc/preserve_rids_from_pj
Only adding rids for full framework TFMs if the project.json does not have runtimes
2016-12-19 16:20:12 -08:00
Krzysztof Wicher
9e76d6ffb5 new NuGetVersion[0] -> Enumerable.Empty<NuGetVersion>() 2016-12-19 14:32:31 -08:00
Krzysztof Wicher
ccfb4135c4 Add error message when tool is not restored 2016-12-19 14:12:04 -08:00
Livar
2aa166b5d0 Merge pull request #5069 from livarcocc/version_attributes
Making version an attribute for packagereference and dotnetclitoolreference
2016-12-19 09:48:00 -08:00
Alex Barney
9b4cb6a072 Add Runtime Identifier option to dotnet-restore
* Add an option to specify an RID when restoring
* This brings the option from the publish and build command to the restore command
2016-12-18 22:50:42 -06:00
Livar Cunha
b2ce6c794a Only adding rids for full framework TFMs if the project.json does not already have Runtimes in its Runtimes section. 2016-12-18 18:45:35 -08:00
Livar
e37b055f1d Merge pull request #5074 from livarcocc/update_xlf
Updating xlf files
2016-12-18 16:56:05 -08:00
Krzysztof Wicher
476a83eb1a Ensure dotnet restore --packages is working (#5008)
* add dotnet restore --packages tests

* add dotnet build, publish, pack, dotnet-test test

* Shorten the test name in attempt to fix test failure

* fix whitespaces
2016-12-18 00:45:25 -08:00
Livar Cunha
44147f0efa Updating xlf files to reflect the modification of the test help message, of the dotnet help update and the additions of CommandLine, Migration, Sln.Internal, msbuild command and Cli.Utils. 2016-12-17 10:55:12 -08:00
Livar
9ad164a9dd Merge pull request #5067 from piotrpMSFT/piotrpMSFT/locpass
Localize CLI command line parser
2016-12-17 10:06:09 -08:00
Livar Cunha
52b45d0c49 Fixing tests and a couple of issues in the code due to Localization. 2016-12-16 23:59:58 -08:00
Livar Cunha
1be6365e56 Localizing Microsoft.DotNet.Cli.Utils. 2016-12-16 22:45:48 -08:00
Piotr Puszkiewicz
fddabd4a51 https://github.com/dotnet/cli/issues/5071 2016-12-16 22:45:48 -08:00
Piotr Puszkiewicz
4e861a9965 Sln.Inernal Loc 2016-12-16 22:45:48 -08:00
Piotr Puszkiewicz
2a612f88af https://github.com/dotnet/cli/issues/5070 2016-12-16 22:45:48 -08:00
Piotr Puszkiewicz
2b983f916f dotnet-msbuild loc 2016-12-16 22:45:47 -08:00
Piotr Puszkiewicz
469abc2d96 Yet more migration 2016-12-16 22:45:47 -08:00
Piotr Puszkiewicz
91061c2296 more migration loc 2016-12-16 22:45:47 -08:00
Piotr Puszkiewicz
5cfed1a787 Localize Migration 2016-12-16 22:45:47 -08:00
Piotr Puszkiewicz
e7487cab97 Microsoft.DotNet.Configurer 2016-12-16 22:45:47 -08:00
Scott Addie
e25e387f1f Add hyphen in Welcome to .NET Core Telemetry paragraph - commandline 2016-12-16 22:45:47 -08:00
Piotr Puszkiewicz
7c6dd4977b Fix build 2016-12-16 22:45:47 -08:00
PiotrP
1b8daa6ba3 Loc WiP 2016-12-16 22:45:46 -08:00
Livar
a1afcf6e12 Merge pull request #5064 from blackdwarf/helpfixes
Finishing touches on help messages
2016-12-16 20:51:56 -08:00
Livar Cunha
ee999ef874 Adding clean to the expected help output. 2016-12-16 20:14:33 -08:00
Livar Cunha
612da09a78 Fixing the failing dotnet --help test. 2016-12-16 19:16:38 -08:00