Shayne Boyer
f078575040
undo .xlf files
2017-02-22 10:40:37 -05:00
Piotr Puszkiewicz
e46ca4769c
fix dotnet version
2017-02-21 22:17:28 -08:00
Livar
99f7eb4843
Merge pull request #5699 from krwq/2017-02-13-psi-extraction
...
Unit tests for dotnet build
2017-02-19 09:57:07 -08:00
Piotr Puszkiewicz
85b2a129db
Merge branch 'rel/1.0.0'
...
Conflicts:
TestAssets/TestPackages/dotnet-hello/v1/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-hello/v2/dotnet-hello/dotnet-hello.csproj
TestAssets/TestPackages/dotnet-prefercliruntime/dotnet-prefercliruntime.csproj
TestAssets/TestProjects/AppWithDirectAndToolDep/AppWithDirectAndToolDep.csproj
TestAssets/TestProjects/AppWithDirectDep/AppWithDirectDep.csproj
build.proj
build/Compile.targets
build/Microsoft.DotNet.Cli.Compile.targets
build/Microsoft.DotNet.Cli.DependencyVersions.props
build/Microsoft.DotNet.Cli.Monikers.props
build/Microsoft.DotNet.Cli.Prepare.targets
build/package/Microsoft.DotNet.Cli.Nupkg.targets
build/package/Nupkg.targets
build/test/TestPackageProjects.targets
build_projects/dotnet-cli-build/GenerateBuildVersionInfo.cs
build_projects/dotnet-cli-build/GetCommitCount.cs
build_projects/dotnet-cli-build/dotnet-cli-build.csproj
build_projects/shared-build-targets-utils/Utils/BuildVersion.cs
src/dotnet-archive/dotnet-archive.csproj
src/tool_msbuild/tool_msbuild.csproj
src/tool_nuget/tool_nuget.csproj
test/ArgumentForwardingTests/ArgumentForwardingTests.csproj
test/ArgumentsReflector/ArgumentsReflector.csproj
test/EndToEnd/EndToEnd.csproj
test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
test/Microsoft.DotNet.Cli.Utils.Tests/GivenAProjectToolsCommandResolver.cs
test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
test/Microsoft.DotNet.ProjectJsonMigration.Tests/Microsoft.DotNet.ProjectJsonMigration.Tests.csproj
test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
test/binding-redirects.Tests/binding-redirects.Tests.csproj
test/crossgen.Tests/crossgen.Tests.csproj
test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
test/dotnet-build.Tests/dotnet-build.Tests.csproj
test/dotnet-help.Tests/dotnet-help.Tests.csproj
test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
test/dotnet-new.Tests/dotnet-new.Tests.csproj
test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
test/dotnet-run.Tests/dotnet-run.Tests.csproj
test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
test/dotnet-test.Tests/dotnet-test.Tests.csproj
test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
test/dotnet.Tests/dotnet.Tests.csproj
test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
tools/Archiver/Archiver.csproj
2017-02-17 02:00:05 -08:00
Krzysztof Wicher
ae05e8af1d
remove parameterless constructor
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
6f1ea62bc9
rename variable to buildCommand
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
531b0136eb
add tests for checking filename, working dir and validation of presence of environmental variables
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
8ebc06da46
add more unit tests
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
9c00966956
preview of single unit test for dotnet build
2017-02-16 14:22:02 -08:00
Shayne Boyer
14f43ef896
fix camelcasing
2017-02-16 17:14:54 -05:00
Shayne Boyer
c9fa9be412
Fixes 5740
2017-02-16 16:11:11 -05:00
Shayne Boyer
4edbcb06ee
misspelling of targeting
2017-02-16 16:10:19 -05:00
Piotr Puszkiewicz
d3d6bdebd1
Merge pull request #5618 from jonsequitur/remove-incorrect-localizations
...
Remove incorrect localizations
2017-02-16 11:05:36 -08:00
Piotr Puszkiewicz
4feaf3f124
Remove dotnet-restore-projectjson
2017-02-16 01:01:32 -08:00
Livar
d1a844da2c
Merge branch 'rel/1.0.0' into dev/jgoshi/dotnetAddDefaultProjectTypeGuid
2017-02-15 14:10:10 -08:00
Justin Goshi
149a4590b5
Do not add duplicate projects ( #5698 )
2017-02-14 15:47:06 -08:00
Justin Goshi
4d24ae06bb
Default to C# project type guid
2017-02-14 14:57:04 -08:00
Rama Krishnan Raghupathy
4fdc72890a
Appending dotnet publish xlf
2017-02-13 16:01:16 -08:00
Rama Krishnan Raghupathy
da2cb43949
Adding xlf for dotnet cache
2017-02-13 16:01:10 -08:00
Rama Krishnan Raghupathy
badab4680d
Adding the shim of dotnet-cache
...
Adds filter profile option to publish
2017-02-13 16:01:06 -08:00
jonsequitur
f1bf1d83aa
remove calls to DisplayAsError
2017-02-13 13:35:43 -08:00
jonsequitur
bb9cdf5725
make string consistent
2017-02-13 13:35:43 -08:00
jonsequitur
baf1f76b6f
undelete some unused localizable strings
2017-02-13 13:35:43 -08:00
jonsequitur
7ce780c59c
remove apostrophe
2017-02-13 13:35:41 -08:00
jonsequitur
1a0adcbe5a
fix loc text dependent test
2017-02-13 13:35:41 -08:00
jonsequitur
43c9b363b0
remove unused and incorrect localizations
2017-02-13 13:34:20 -08:00
Livar Cunha
9f2ca9989c
Introducing a in DependencyVersions to facilitate these updates in the future. Also aligns with master.
2017-02-10 23:05:16 -08:00
Livar Cunha
1d61bf97ed
Updated the Shared Framework to 1.1.1 and 1.0.4.
2017-02-10 23:05:16 -08:00
Eric Erhardt
25f9a1bbc7
Fix dotnet new classlib to contain the correct NETStandard.Library version.
...
Fix #5638
2017-02-10 14:22:07 -06:00
Zlatko Knezevic
654f835d50
Update README.md
...
Change the links on the dotnet/README.md to point aka.ms/dotnet-* set of links.
2017-02-10 00:01:56 -08:00
Eric Erhardt
5406d2af14
Merge pull request #5600 from piotrpMSFT/piotrpMSFT/merge/rel100toMaster
...
Merge rel/1.0.0 to Master
2017-02-09 12:14:45 -06:00
Eric Erhardt
454dd10f8d
Update dotnet new to use the new 2.0 templates.
2017-02-09 10:18:39 -06:00
Eric Erhardt
56d391caad
Fix up the merge so it gets past Prepare and Compile.
2017-02-08 12:26:04 -06:00
Eric Erhardt
8e2a7bfa12
Fix the CLI .sln file to load and build in VS 2017.
2017-02-08 10:03:06 -06:00
Piotr Puszkiewicz
b0a5d53ed5
Merge rel/1.0.0 to master
2017-02-06 12:43:57 -08:00
jonsequitur
182c695275
throw CommandParsingException rather than crash on missing single value
2017-02-03 10:57:57 -08:00
Eric Erhardt
0281fde7d1
Merge branch 'master' into MergeRel10
2017-02-01 18:45:05 -06:00
Livar
408a0afe8e
Merge branch 'rel/1.0.0' into wrong_global_json_folders
2017-02-01 15:53:10 -08:00
Maira Wenzel
b605381165
fixed typos
2017-02-01 15:30:35 -08:00
Satya Madala
fe52fad34a
Revert results directory argument changes
2017-02-01 14:55:35 -08:00
jonsequitur
905db127a6
use missing package test to verify correct package feed parsing
2017-02-01 14:13:07 -08:00
jonsequitur
667f1cf018
also escape ://
2017-02-01 14:13:07 -08:00
jonsequitur
2ea3af799d
escape semicolons when forwarding RestoreSources to MSBuild
2017-02-01 14:13:07 -08:00
Eric Erhardt
9f0bb778a1
Merge rel/1.0.0 into master.
2017-02-01 14:32:59 -06:00
Jon Sequeira
6990c71e84
refresh enumerator when moving to next subcommand ( #5533 )
2017-01-31 21:31:02 -08:00
Jon Sequeira
3fce02e583
make InvalidOperationException thrown by RunCommand graceful ( #5525 )
2017-01-31 18:48:14 -08:00
seancpeters
2d93968a88
New3 integration ( #5430 )
...
* Partial conversion to new3. 2 tests fail due to browserlink not restoring.
* new cache initialization
* More lzma changes, and removed a razor ref from templates
* Ephemeral hive flag added to tests that need it
* Updated the template engine version to build against. Minor code cleanup
* Config changes to make template versions separate from template engine versions
* Changed dotnet new versioning to use Product.Version
* Fixing Archiver.csproj
* Fixing dotnet new test.
* Fix LZMA Package Source Condition
* Workaround for newline differences.
* fixed tests with changed template parameters. Added a new3 template non-match test
2017-01-31 17:31:37 -08:00
Piotr Puszkiewicz
d2035ff036
Merge remote-tracking branch 'refs/remotes/dotnet/rel/1.0.0-rc3'
...
Conflicts:
build/Microsoft.DotNet.Cli.DependencyVersions.props
2017-01-30 23:27:48 -08:00
Faizan2304
3eee54e4f9
Inserting localize testplatform ( #5510 )
2017-01-30 21:05:16 -08:00
Ryan Stelly
87e2a56393
use correct description string for dotnet build -h: -c ( #5507 )
2017-01-30 17:15:44 -08:00
Jon Sequeira
e8c5d23c29
display CommandParsingException gracefully ( #5493 )
...
* display CommandParsing gracefully
This set of changes handles CommandParsingException gracefuly (so as not to show the user a stack trace) and generalizes graceful exception display somewhat away from being type-specific.
* fix compile error by inlining constant
* remove unused test logging
2017-01-30 14:36:44 -08:00
Eric Erhardt
cc8e179bf5
Update "new -t lib" to netstandard2.0
2017-01-29 09:46:46 -06:00
Eric Erhardt
fd65cb03b6
Update dotnet new to generate a "2.0" project.
2017-01-29 09:46:46 -06:00
Livar
60f2b2e4ab
Merge branch 'rel/1.0.0' into dev/jgoshi/handleDeprecatedPJ
2017-01-26 20:46:56 -08:00
Livar
99ed699311
Merge branch 'rel/1.0.0' into migrate_sln_file
2017-01-26 19:51:03 -08:00
Livar
06cd5e8645
Merge branch 'rel/1.0.0' into mstestrc2update
2017-01-26 16:34:27 -08:00
jonsequitur
d55be626a9
netcoreapp1.1 fixes
2017-01-26 14:48:39 -08:00
Eric Erhardt
0073fc8534
Update CLI to run on netcoreapp1.1.
2017-01-26 14:48:39 -08:00
Justin Goshi
3821d39d6c
Address PR comments
2017-01-26 12:53:29 -08:00
Livar Cunha
85ec8a6f2c
Fixing our solution tests so that they go back to building the solution. Seems to work now, at least on OSX. Also, made a change to update solution to update any solutions in the folder where dotnet migrate is executed.
2017-01-26 12:40:55 -08:00
Eric Erhardt
d4153815d5
Update the CLI to netcoreapp2.0.
2017-01-26 07:28:59 -06:00
Abhitej Anoop John Bandi
93651da836
Updating the MSTest nugets with the ones shipping in VS for desktop and UWP scenarios.
2017-01-25 19:44:50 +05:30
Piotr Puszkiewicz
38fa2548f6
Merge branch 'rel/1.0.0' into patch-1
2017-01-24 16:49:25 -08:00
Justin Goshi
861d1edfd3
Address PR comments
2017-01-24 15:02:19 -08:00
Piotr Puszkiewicz
900f954075
Merge branch 'rel/1.0.0' into patch-1
2017-01-24 14:57:17 -08:00
Justin Goshi
55e80fa036
Merge branch 'rel/1.0.0' into dev/jgoshi/issue5355
2017-01-24 14:56:38 -08:00
Zlatko Knezevic
d522a97318
Update LocalizableStrings.cs
...
Change the migration after-process message with the link.
2017-01-24 11:40:39 -08:00
Mike Lorbetske
872e96cfe2
Update version of Microsoft.AspNetCore.Mvc
2017-01-23 20:21:58 -08:00
Livar
6c623d9d98
Localizing MigrateCommand and fixing one string for dotnet test. ( #5419 )
2017-01-23 20:19:53 -08:00
Arun Mahapatra
aa0359cd9a
Insert test platform v15.0.0-preview-20170123-02 ( #5426 )
...
* Insert test platform v15.0.0-preview-20160120-03.
Remove OutputType from test project templates since it is
automatically determined by Microsoft.NET.Test.Sdk.
* Update testplatform v15.0.0-preview-20170123-02.
2017-01-23 13:54:08 -08:00
Justin Goshi
a2088e2641
Refactor and finish the feature
2017-01-23 13:01:58 -08:00
Justin Goshi
3884c90938
Merge from rel/1.0.0
2017-01-23 10:25:16 -08:00
dasMulli
0edee4a373
Fix in German translation for dotnet-add-reference
2017-01-21 17:02:01 +01:00
Dustin Campbell
0a62481cc0
Create backup folder in the directory where 'dotnet migrate' is executed ( #5306 )
...
* Create backup folder in the directory where 'dotnet migrate' is executed
With this change, 'dotnet migrate' will create the backup folder in the workspace directory rather
than the parent of the workspace directory. This solves two problems:
1. It makes it easier for the user where the backup is -- it's in the directory they targeted with
'dotnet migrate'.
2. It solves a problem of file oollisions with global.json files when migrating multiple projects.
Consider the following directory structure:
root
|
project1
|
global.json
|
src
|
project1
project2
|
global.json
|
src
|
project2
Prior to this change, running 'dotnet migrate' project1 and then running it again in project2
would have caused an exception to be thrown because the migration would try to produce a backup
folder like so:
root
|
backup
| |
| global.json
| |
| project1
| |
| project2
|
|
project1
|
src
|
project1
project2
|
src
|
project2
Now, we produce the following structure, which has no collisions:
root
|
project1
|
backup
| |
| global.json
| |
| project1
|
src
|
project1
|
project2
|
backup
| |
| global.json
| |
| project2
|
src
|
project2
In addition, to help avoid further collisions, a number is appened to the backup folder's name if
it already exists. So, if the user runs dotnet migrate again for some reason, they'll see backup_1,
backup_2, etc.
* Fix test helper
* Fix foolish bug causing infinite loop
* Fix up a couple more tests
* Rework MigrationBackupPlan to process all projects at once
* Fix up tests
* Still fixing tests
* Compute common root folder of projects to determine where backup folder should be placed
* Fix typo
* Fix test to not look in backup folder now that it's in a better location
2017-01-21 01:58:28 -08:00
Piotr Puszkiewicz
04a7fca9fc
Fixing argument parsing in add package command ( #5421 )
...
* Fixing argument parsing in add package command
* Adding check to throw if extra args were passed
* Removing string and adding test cases for dotnet add package command
* Add new test to test.sln, and fix naming, and clean csproj
2017-01-21 00:11:18 -08:00
Piotr Puszkiewicz
4bd8344da1
Merge branch 'rel/1.0.0' into add-rd
2017-01-20 18:36:05 -08:00
Justin Goshi
b2c51b7269
Do not add duplicate solution folders or project directories ( #5377 )
...
* Do not add duplicate solution folders or project directories
* Fix the algorithm for removing empty solution folders
* Improving code by adding description methods. To address PR comments.
2017-01-20 18:34:37 -08:00
Justin Goshi
baecbd8d43
WIP
2017-01-20 17:37:11 -08:00
Piotr Puszkiewicz
fe290f1e26
Merge branch 'rel/1.0.0' into dev/jgoshi/issue5343
2017-01-20 14:08:49 -08:00
Piotr Puszkiewicz
26aa05cfea
Merge pull request #5394 from livarcocc/migrate_global_json
...
Handle dotnet migrate global.json
2017-01-20 14:07:27 -08:00
Justin Goshi
33c962a481
Merge branch 'rel/1.0.0' into dev/jgoshi/issue5343
2017-01-20 12:21:43 -08:00
Justin Goshi
717d0a45fa
Moving existing csproj files with same name as migration output to backup
2017-01-20 12:21:04 -08:00
Livar Cunha
96f64e1708
Updating the help string based on PR feedback.
2017-01-19 13:18:47 -08:00
Justin Goshi
56c3010f72
Merge branch 'rel/1.0.0' into dev/jgoshi/issue5343
2017-01-19 13:17:05 -08:00
Livar Cunha
13e9e697c9
Adding an extra message to the migrate result to direct people to a place where they can get help for their migrated projects.
2017-01-19 12:41:48 -08:00
Livar
c4e2c35d25
Merge branch 'rel/1.0.0' into migrate_global_json
2017-01-19 12:25:35 -08:00
Justin Goshi
5bbac55736
Migration: do not add a csproj to the solution if it already exists
2017-01-19 11:23:01 -08:00
Livar Cunha
cdf91f2f30
Fixing dotnet migrate global.json. This was failing because we were turning global.json into an empty string and trying to construct a directory for it. The fix was to detect this and transform it into a . directory. Migrate is already respecting the projects node in global.json.
2017-01-19 10:55:23 -08:00
Satya Madala
44b14f987e
Add results directory arg to dotnet test
2017-01-19 11:27:37 +05:30
Krzysztof Wicher
1a20d7f82c
Merge remote-tracking branch 'github/rel/1.0.0-rc3' into rel/1.0.0
2017-01-18 12:38:11 -08:00
Justin Goshi
a5fb786228
Ensure we don't downgrade VS version
2017-01-17 14:48:54 -08:00
Justin Goshi
2676682fec
Migrate should change the visual studio version
2017-01-17 13:45:48 -08:00
Mike Lorbetske
03de88f24b
Update dotnet new templates with beta5 xunit ( #5339 )
...
* Pull latest template engine version
* Bump xunit version and take corresponding template engine
* Rollback template engine version bump
2017-01-16 19:31:33 -08:00
Zbyněk Sailer
8dbab0f79a
LOC CHECKIN | dotnet/cli | 20170116
2017-01-16 14:52:18 +01:00
Livar Cunha
8c2e7c9f01
Merge branch 'rel/1.0.0-rc3' into merge_rc3
...
* rel/1.0.0-rc3:
Fixing an issue where packages with a filter but no match were not being migrated as is, instead they were being dropped.
Add support for migrating Microsoft.AspNetCore.Mvc.ViewCompilation
Switching to using a csv as the source of our lts packages. Also, this is a more comprehensive list.
Adding a few more packages that were not in the manifest and moving some tests around.
Migrating packages to LTS (1.0.3) versions if they have a smaller version than the LTS one.
Adding ranges to the source mappings so that we can specify the origin should match this range and migrate to that version. We use this to handle LTS/FTS migration and will use that for the LTS uplift.
Migration: do not inject built in compile includes that the SDK does
Update msbuild to 15.1.0-preview-000522-02
Migration: Do not add RIDs for Library projects (#5279 )
Use a separate env variable to control uploading the lzma archive. We only want OSX to publish the archive, because turns out that windows published archives are not used by unix based oses.
Fix the download of the LZMA archive on dev machines and in Jenkins CI.
2017-01-13 14:08:31 -08:00
Justin Goshi
f972cf80a9
Treat /? the same as --help ( #5285 )
...
* Fixes issue 4539
* Support -?
2017-01-13 01:24:12 -08:00
Krzysztof Wicher
22e85c2f77
fix stack trace for unhandled exceptions in dotnet-migrate
2017-01-12 16:08:54 -08:00
Krzysztof Wicher
5fea7c3ae6
Remove try catches choking all exceptions ( #5206 )
...
* remove some try catches choking all exceptions
* rename ExceptionExtension to ReportAsWarning, show full stack instead of just message
* dotnet-migrate try catch clean-up
* fix migration test failures
2017-01-12 15:42:36 -08:00
Livar Cunha
deb50a3cc7
Switching to using a csv as the source of our lts packages. Also, this is a more comprehensive list.
2017-01-12 11:38:05 -08:00
Piotr Puszkiewicz
0f9888c11d
Merge branch 'rel/1.0.0' into piotrpMSFT/merge/rc3toRTM
2017-01-11 17:15:44 -08:00
Krzysztof Wicher
c9b873caad
make dotnet-build show build summary ( #5277 )
...
* make dotnet-build show build summary
* Fix race in some dotnet-migrate (sln) tests
2017-01-11 17:06:03 -08:00
PiotrP
c008e85f6a
revert rc3->preview5
2017-01-11 13:18:44 -08:00
Mike Lorbetske
ad6fab0a15
Synchronize templates with new3, add global.json ( #5244 )
...
* Synchronize templates with new3, add global.json
* Add runtimeconfig.template.json for web
Removes global.json write during template creation
* Remove global.json check from the test
* making templates the same as new3 templates
* Fix broken PrivateAssets, content update
Sets OutputType as appropriate
Alphabetizes package references
* Rollback browserlink version to 1.0.0
* Downgrade 1.1.0 of browserlink to 1.0.0 as well
* Add newline to the end of the console project
2017-01-10 22:58:30 -08:00
Eric Erhardt
465655c85a
Revert "Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rel/1.0.0"
...
This reverts commit 4e951a480b
, reversing
changes made to 006fd49e5c
.
2017-01-10 13:36:40 -06:00
seancpeters
4e951a480b
Merge branch 'rel/1.0.0' of https://github.com/dotnet/cli into rel/1.0.0
2017-01-10 10:50:40 -08:00
Livar Cunha
3220b14248
Updating the branding of the CLI to 1.0.0-rc3
2017-01-09 13:59:03 -08:00
Nick Guerrera
ea2908504c
Update xlf files
2017-01-09 08:58:13 -08:00
Livar
87e9815a25
Merge pull request #5234 from harshjain2/tpv2update
...
Updated version of Test Platform
2017-01-07 14:44:01 -08:00
Livar
f2f37729b8
Merge pull request #5235 from eerhardt/PopulateNuGetCache11
...
Populate nuget cache for shared fx and asp.net 1.1
2017-01-07 11:31:54 -08:00
Harsh Jain
d8a323f146
Removed output type as it is handled through Microsoft.NET.Test.Sdk
2017-01-07 20:51:36 +05:30
Harsh Jain
0222e8e850
merged to resolve conflicts
2017-01-07 20:40:50 +05:30
Krzysztof Wicher
7042e85292
dotnet list p2ps -> dotnet list reference
2017-01-06 14:58:38 -08:00
Krzysztof Wicher
528d37bda5
dotnet remove p2p -> dotnet remove reference
2017-01-06 14:58:38 -08:00
Krzysztof Wicher
3ad9b72664
dotnet add p2p -> dotnet add reference
2017-01-06 14:58:38 -08:00
Mike Lorbetske
decec5f8da
First step to ingest template engine ( #5065 )
...
* First step to ingest template engine
Please do not merge yet
@piotrp @seancpeters @livarocc
* Localization
* Attempt to get a build going
Rename program.cs to New3Command.cs
Move TableFormatter into its own file
Consume template engine packages version 1.0.0-beta1-20161218-24
Temporarily add MyGet templating feed so that package restore will work
* Update ExtendedCommandParser
Make short form args prefer longer runs of characters in the source
parameter before falling back to p:shortname syntax
Change scoping for a few methods to get rid of inconsistent visiblity
errors
* Fix package installation wildcards
* Cleanup New3Command, fix review issue, bump version, sorting for template list
* Installation, loc fix, help formatting
* Use latest TemplateEngine packages
* New3 unit tests
* Fixed formatting on csproj files
* Add the build steps to add templates to the layout
* Change tests slightly to make comparisons easier
Also fixes the wrong flag getting passed to set language
* Fixes for 127, 128, 130, 131 - help display
* Sync to latest TemplateEngine version
Absorbs new search logic
* All tests passing
Cleaner New3Command
Support for project/item template contexts
* Try to make tests more durable
* Disable test parallelization for dotnet-new tests
* Update web SDK and template engine versions
* Remove AI package feed
* Simplify CLI interface to Template Engine
* Fix host identifier and update to latest packages
* Update template engine & Web SDK versions
* Fix template engine version
* Remove UsingTask and redeclaration of property
2017-01-06 14:48:27 -08:00
Livar
5e7b946ad7
Merge pull request #5231 from v-zbsail/localization
...
LOC CHECKIN | dotnet/cli | 20170106
2017-01-06 14:48:14 -08:00
Justin Goshi
e109a9be47
dotnet sln command ( #5233 )
...
* Add dotnet sln command
* Use new names for localizable strings
* Fix up the tests for the verb rename
2017-01-06 10:58:23 -10:00
Livar
f0d6b20dd7
Merge branch 'rel/1.0.0' into localization
2017-01-06 12:30:58 -08:00
Harsh Jain
effee47d38
Version update for test platform.
2017-01-07 01:04:00 +05:30
Eric Erhardt
dcbfa16380
Add SharedFx 1.1 templates for C# console and web.
2017-01-06 13:02:00 -06:00
Livar
dbdbde5bcc
Merge pull request #5229 from livarcocc/another_xlf_update
...
Another update to the xlf files.
2017-01-06 10:20:08 -08:00
Zbyněk Sailer
bf7a0845b7
LOC CHECKIN | dotnet/cli | 20170106
2017-01-06 19:07:21 +01:00
Livar
b5991909fb
Merge pull request #5227 from livarcocc/update_cli_no_implicit
...
Updating our projects and test assets to work with the latest SDK.
2017-01-05 23:04:17 -08:00
Livar Cunha
4bf55e3c38
Another update to the xlf files.
2017-01-05 23:01:58 -08:00
Livar
7bcffe9e82
Merge pull request #5222 from blackdwarf/slnlocstrings
...
Adding strings for dotnet-sln command for LOC
2017-01-05 22:07:48 -08:00
Livar Cunha
b41eb43883
Updating our projects and test assets to work with the latest SDK.
2017-01-05 19:44:52 -08:00
Zlatko Knezevic
ad3ee1dbb9
Fixing an errant semicolon
2017-01-05 17:25:46 -08:00
Zlatko Knezevic
af56e969f9
Responding to PR feedback
2017-01-05 16:58:12 -08:00
Zlatko Knezevic
1a35ffdb10
Responding to PR feedback
2017-01-05 16:44:43 -08:00
Livar
61dbfbf228
Merge pull request #5220 from mishra14/dev-anmishr-dotnetremovepackage
...
Adding dotnet remove package sub command
2017-01-05 16:33:34 -08:00
Livar
80f2ef6533
Merge pull request #5181 from harshjain2/clirunsettings
...
Added ability to pass runsettings as commandline parameters after --
2017-01-05 16:22:08 -08:00
Piotr Puszkiewicz
d14698f1f6
Bump MSBuild Version to 15.1.0-preview-000503-01 ( #5199 )
...
* Bump MSBuild Version to 15.1.0-preview-000503-01
* tool_csc->tool_roslyn
* pull some properties up to dir.props
* Move Roslyn to "Roslyn" subdirectory
* Fix relative paths in RunCsc.*
* Add removal of csc & vbc from deps.json
* Revert roslyn to 2.0.0-rc3-61212-03
* netcoreapp -> 1.0.3
2017-01-05 14:56:11 -08:00
Zlatko Knezevic
ab41acd8f5
Adding strings for dotnet-sln command for LOC
...
Adding strings both in the command folder as well as in the Help command.
2017-01-05 14:44:53 -08:00
Ankit Mishra
8334bb643d
Fixing strings based on PR comments
2017-01-05 14:38:13 -08:00
Justin Goshi
f8de8d5a80
dotnet add uses ProjectTypeGuid or DefaultProjectTypeGuid ( #5218 )
...
* dotnet add uses ProjectTypeGuid or DefaultProjectTypeGuid
* Create ProjectInstanceExtensions per PR comments
2017-01-05 12:04:57 -10:00
Ankit Mishra
c331dc3b97
Preparing for dotnet remove PR
2017-01-05 13:05:36 -08:00
Livar Cunha
3a4e23e373
Updating the SDK to an SDK that includes globing for source and resources implicitly.
2017-01-05 12:31:48 -08:00
Krzysztof Wicher
dfb0a28224
Merge pull request #5180 from krwq/5070b
...
Remove some cross project compile includes on cs files
2017-01-05 12:13:54 -08:00
Harsh Jain
f04930658d
Merge branch 'rel/1.0.0' into clirunsettings
2017-01-06 01:15:49 +05:30
Harsh Jain
a4dbe61fe6
Addressed PR feedback.
2017-01-06 01:12:26 +05:30
Eric Erhardt
639d467c14
Merge pull request #5210 from eerhardt/UpdateSharedFx103
...
Update Microsoft.NETCore.App to 1.0.3.
2017-01-05 12:06:57 -06:00
Eric Erhardt
a80e8fa636
Update Microsoft.NETCore.App to 1.0.3.
2017-01-05 08:57:53 -06:00
Harsh Jain
6e9e5baa83
Merge branch 'rel/1.0.0' into clirunsettings
2017-01-05 10:25:53 +05:30
Justin Goshi
d0151a6111
Add/remove solution items based on directory structure ( #5197 )
...
* WIP support solution folders for dotnet add and remove
* Add/remove solution folders based on directory hierarchy
* Fix tests
* Disable the solution building tests
* Address PR comments
* Fix a build break due to a new tool version used in the build
* Create SlnProjectExtensions and SlnProjectCollectionExtensions per PR comments
2017-01-04 18:32:09 -10:00
Ankit Mishra
a461cfbb2b
Adding dotnet remove package sub command
2017-01-04 18:48:14 -08:00
Harsh Jain
71027cda33
Merge branch 'rel/1.0.0' into clirunsettings
2017-01-05 00:53:41 +05:30
Harsh Jain
d31d5d2f2d
Updated doc for --
2017-01-05 00:46:48 +05:30
Justin Goshi
19b4bad315
Add/remove projects also updates build configurations ( #5134 )
...
* Add/remove projects also updates build configurations
* Fix the algorithm for adding/removing build configurations
* Address PR comments
2017-01-03 07:18:45 -10:00
Harsh Jain
d28721483a
updated logic to consider everything after -- as runsettings.
2017-01-03 19:36:28 +05:30
Harsh Jain
19d919a640
Added method GetSemiColonEscapedArgs
2016-12-30 15:47:15 +05:30
Harsh Jain
245727183c
Handling both mstest args and runsettings options after --
2016-12-30 15:34:00 +05:30
Harsh Jain
8d86e14d44
Added support for passing runsettings options through command line after --
2016-12-30 11:27:37 +05:30
Krzysztof Wicher
941575d188
Remove cross project compile include on DotnetFiles.cs
2016-12-29 14:34:24 -08:00
Justin Goshi
10f52d9a15
Improve error messages for why a solution failed to load ( #5176 )
...
* WIP Improve sln reader/writer error messages
* Added more tests
* Fix a few tests
2016-12-29 09:21:55 -10:00
Livar
a2d752fd2c
Merge pull request #5164 from livarcocc/update_xlf_once_again
...
Updating xlf files once again
2016-12-28 13:46:56 -08:00
Satya Madala
05df71825d
Testplatform release 15.0.0-preview-20161227-02 ( #5055 )
...
* Update testplatform packages version
* Refer TestPlatform version from DependencyVersions.props
* Updating the packages with respect to Testplatform release 15.0.0-preview-20161227-02
* Add dit.props to test assets projects
2016-12-28 10:17:33 -08:00
Livar Cunha
a37befab2f
Updating xlf files to incorporate the runtime option in restore and localization for dotnet add package
2016-12-28 02:53:54 -08:00
Livar
4d45444266
Merge pull request #5142 from v-mdriml/localization
...
Loc HB XLF files 2016-12-23
2016-12-27 14:07:02 -08:00
Livar
47fb245258
Merge pull request #5122 from mishra14/dev-anmishr-dotnetaddpackage
...
Adding dotnet add package sub command
2016-12-27 11:26:04 -08:00
Livar
3a90af1546
Merge pull request #5079 from Thealexbarney/restore-rid
...
Add Runtime Identifier option to dotnet-restore
2016-12-27 09:27:36 -08:00
v-mdriml
5580b40181
Loc HB XLF files
2016-12-23 17:16:52 +01:00
Ankit Mishra
ac988a4ac9
Fixing on PR comments
2016-12-22 15:29:29 -08:00
Ankit Mishra
2738ea8a5a
Merge branch 'rel/1.0.0' into dev-anmishr-dotnetaddpackage
2016-12-21 18:08:21 -08:00
Livar
b4ef34bc38
Merge pull request #5104 from livarcocc/update_sdks
...
Updating the projects files in the repo to use the SDK attribute.
2016-12-21 15:34:33 -08:00
Ankit Mishra
303a267a01
Clean up before PR
2016-12-21 11:44:45 -08:00
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
jonsequitur
9b28fbecd6
R: rename EnsureDirectory to EnsureDirectoryExists and similar
2016-12-20 16:03:00 -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
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
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
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
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
Piotr Puszkiewicz
2b983f916f
dotnet-msbuild loc
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
Zlatko Knezevic
3073e9bd2c
Responding to PR feedback
2016-12-16 19:14:30 -08:00
Zlatko Knezevic
0da755f405
Responding to PR feedback
2016-12-16 19:14:30 -08:00
Zlatko Knezevic
7294260e09
More text cleanup
2016-12-16 19:14:30 -08:00
Zlatko Knezevic
4e554f9741
Resetting dotnet run to original state
2016-12-16 19:14:30 -08:00
Zlatko Knezevic
b7f3e39413
Finishing touches on help messages
...
Making finishing touches on all the CLI commands' help messages. Also
adding dotnet clean to the help output list.
Fixes #5048,#5017
2016-12-16 19:14:29 -08:00
Livar
9c3141b63f
Merge pull request #5057 from dotnet/dev/jgoshi/removeProj
...
Implement dotnet remove project
2016-12-16 18:56:28 -08:00
Zlatko Knezevic
7dadb95d3c
Fixing dotnet test help text ( #5032 )
...
Renaming --test-case-filter to just --filter to make it easier to use.
Placing more examples and more clarity for the --filter command.
Fixes #5021
2016-12-16 18:50:19 -08:00
seancpeters
b40fd2f290
Merge branch 'IngestTemplateEngine' of https://github.com/mlorbetske/cli into rel/1.0.0
2016-12-16 17:27:20 -08:00
Mike Lorbetske
ecfc0e10ba
Localization
2016-12-16 16:26:22 -08:00
Livar
f1c16e59d6
Merge pull request #5043 from livarcocc/d_for_diagnostics
...
Changing the host verbosity flag to -d|--diagnostics
2016-12-16 16:05:02 -08:00
Mike Lorbetske
cfa0e5cbd4
First step to ingest template engine
...
Please do not merge yet
@piotrp @seancpeters @livarocc
2016-12-16 15:15:48 -08:00
Justin Goshi
45264edcd7
Merge branch 'rel/1.0.0' into dev/jgoshi/removeProj
2016-12-16 14:53:33 -08:00
Nick Guerrera
d54ee6ff82
Update xlf with new/removed/modified strings
2016-12-16 13:32:48 -08:00
Justin Goshi
917154fd5d
Address PR comments
2016-12-16 13:27:41 -08:00
Nick Guerrera
ef08c401ef
Merge pull request #5051 from v-zbsail/localization
...
LOC CHECKIN | cli | HB 20161216
2016-12-16 13:24:56 -08:00
Livar Cunha
9fd4903bf3
Addressing code review comments and adding a test for dotnet --help.
2016-12-16 12:58:34 -08:00
Livar Cunha
5558e5f728
Changing the host verbosity flag to -d|--diagnostics from -v|--verbosity so that it is not confused with the verbs verbosity flag.
2016-12-16 12:58:34 -08:00
Justin Goshi
ae1e183e41
Complete the refactor and test improvements
2016-12-16 10:23:26 -08:00
Justin Goshi
82f5278d8a
Merge branch 'rel/1.0.0' into dev/jgoshi/removeProj
2016-12-16 08:44:38 -08:00
Justin Goshi
806d5a2589
Implement dotnet list projects ( #5027 )
...
* Implement dotnet list projects
* Address PR comments
* Fix build breaks
2016-12-16 06:41:47 -10:00