Jon Sequeira
8a0f37ed79
bump CliCommandLine version
2017-03-13 08:25:21 -07:00
Zbyněk Sailer
ddd27248b1
LOC CHECKIN | dotnet/cli | 20170313 | bugfix
2017-03-13 14:24:31 +01:00
Jon Sequeira
d3143b779f
stop writing ParseResult.Diagram to output
2017-03-12 16:48:59 -07:00
Jon Sequeira
a6c2b6c9f6
update CliCommandLine, other code changes
2017-03-12 15:06:34 -07:00
Jon Sequeira
5c4db56d3b
correct arguments for dotnet sln commands
2017-03-11 11:47:04 -08:00
Jon Sequeira
86f26550f1
R: fix spelling
2017-03-11 11:00:18 -08:00
jonsequitur
ae01694167
Merge branch 'tab-completion' of https://github.com/jonsequitur/cli into tab-completion
2017-03-11 09:45:19 -08:00
Piotr Puszkiewicz
7795ce4d67
Fix build command
2017-03-10 18:59:32 -08:00
Jon Sequeira
6e3a55e872
update CliCommandLine version
2017-03-10 18:21:58 -08:00
Piotr Puszkiewicz
3bdfe28765
Resolve build breaks
2017-03-10 17:52:40 -08:00
Piotr Puszkiewicz
23d4fb32f3
Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion
2017-03-10 17:37:26 -08:00
Jon Sequeira
34d9cbf863
new CliCommandLine version
2017-03-10 17:11:19 -08:00
Jon Sequeira
a3f536c248
move subcommands to new parser
2017-03-10 16:43:44 -08:00
Piotr Puszkiewicz
df3c08b645
Pass through test options to msbuild
2017-03-10 13:49:49 -08:00
Piotr Puszkiewicz
e1568bbc1e
Re-enable localizable strings
2017-03-10 13:36:18 -08:00
Piotr Puszkiewicz
18a2b95dec
Initial port of dotnet test
2017-03-10 13:18:14 -08:00
Piotr Puszkiewicz
d6f0265d15
Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion
2017-03-10 10:43:06 -08:00
Piotr Puszkiewicz
482f1b555b
missing peren
2017-03-10 10:43:01 -08:00
Piotr Puszkiewicz
3ff16d9b66
Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion
2017-03-10 10:34:27 -08:00
Jon Sequeira
d3319adb59
fix merge error
2017-03-10 10:34:25 -08:00
Piotr Puszkiewicz
1f5be51955
relocate suggest.cs
2017-03-10 10:17:10 -08:00
Piotr Puszkiewicz
940dd6863a
move dotnet-run
2017-03-10 10:13:11 -08:00
Piotr Puszkiewicz
071f4dc697
Convert Run
2017-03-10 09:08:01 -08:00
Piotr Puszkiewicz
4149150acc
Resolve Parser ambiguity
2017-03-10 01:13:13 -08:00
Piotr Puszkiewicz
120d28a78d
Migrate dotnet-pack
2017-03-10 01:11:16 -08:00
Piotr Puszkiewicz
4912e4aa6c
Fix naming of BuildCommand.cs
2017-03-10 01:11:07 -08:00
Piotr Puszkiewicz
92245e4523
Centralize VersionSuffixOption
2017-03-10 01:10:23 -08:00
Piotr Puszkiewicz
dc72b7ce92
Fix Clean ordering
2017-03-10 01:08:19 -08:00
Piotr Puszkiewicz
fd6d499ba6
dotnet-migrate
2017-03-09 18:45:11 -08:00
Piotr Puszkiewicz
ba50d619d8
Build fixes for clean & build
2017-03-09 18:44:48 -08:00
jonsequitur
58bf70a476
merge
2017-03-09 18:36:05 -08:00
Piotr Puszkiewicz
706e34ad47
Cache
2017-03-09 18:16:26 -08:00
Piotr Puszkiewicz
ca9268c504
Clean
2017-03-09 18:16:20 -08:00
Piotr Puszkiewicz
c68aba4f63
Test Fix
2017-03-09 17:52:17 -08:00
Piotr Puszkiewicz
bbc23af138
Fix failing Cache tests
2017-03-09 17:20:00 -08:00
Piotr Puszkiewicz
03544ad0cd
Build Unit Tests
2017-03-09 16:39:49 -08:00
Piotr Puszkiewicz
cb19d357d6
Build issues
2017-03-09 16:17:15 -08:00
Piotr Puszkiewicz
1c25a17e03
, -> ;
2017-03-09 16:13:19 -08:00
Piotr Puszkiewicz
e0da3090e6
Initial Cache parser
2017-03-09 16:12:08 -08:00
Piotr Puszkiewicz
3ebdf2909d
TFM, RID, Config as CommonOptions
2017-03-09 16:11:58 -08:00
Piotr Puszkiewicz
30e856a365
zeroormore
2017-03-09 14:47:02 -08:00
Piotr Puszkiewicz
ae152503aa
port build command
2017-03-09 14:36:31 -08:00
Justin Goshi
c35dbd9563
Migration of xproj with name different from folder leaves ref to old project in solution ( #5958 )
...
* WIP trying to remove unused xproj files
* Use relative path
* Add a test
* Fix a few test failures
* Fix path issue
* Address PR Comments
2017-03-09 12:17:18 -10:00
Jon Sequeira
ee2b8f2efa
add diag to VerbosityOption
2017-03-09 13:57:37 -08:00
Jon Sequeira
ea899f236e
fix publish parser args validation
2017-03-09 13:19:46 -08:00
Jon Sequeira
46b799af01
trigger help display using HelpException
2017-03-09 12:31:34 -08:00
Jon Sequeira
998ac9c3eb
ParseCommand
2017-03-09 10:53:17 -08:00
Jon Sequeira
4284c4e363
small change to arg forwarding methods, test fixes
2017-03-09 09:14:55 -08:00
jonsequitur
0b94c979db
publish using new parser, rename ArgsToBeForwarded
2017-03-09 07:35:06 -08:00
jonsequitur
1a0ba24883
publish command using new parser
2017-03-08 17:53:07 -08:00
Jon Sequeira
fd6f7e48b5
WIP
2017-03-08 16:02:24 -08:00
Rama Krishnan Raghupathy
7e0010c57f
display exception as error
2017-03-08 15:12:50 -08:00
Jon Sequeira
30480fa189
restore:captures arguments for forwarding to MSBuild
2017-03-07 16:40:18 -08:00
Rama Krishnan Raghupathy
ed1ca04f51
Enabling multifile support for cache
2017-03-07 14:38:07 -08:00
Jon Sequeira
53ea7f62bf
update CliCommandLine version
2017-03-07 11:29:29 -08:00
Jon Sequeira
1ed5b420a9
don't split on : or = in restore command parse
2017-03-07 11:28:35 -08:00
Jon Sequeira
c176b5953f
additional logging
2017-03-07 07:10:12 -08:00
Jon Sequeira
69bc90dc6f
dotnet restore using new parser
2017-03-06 20:53:26 -08:00
Jon Sequeira
0094fd4e08
revert subcommand change, align CliCommandLine versions
2017-03-06 16:34:05 -08:00
jonsequitur
6b66db7436
a few small code cleanups
2017-03-06 12:22:32 -08:00
jonsequitur
5f227c1c45
split parser definitions across multiple files
2017-03-06 12:21:51 -08:00
jonsequitur
8b0dd3579c
a couple of parser unit tests
2017-03-06 12:21:22 -08:00
jonsequitur
614f71d19f
add help text for a couple of commands
2017-03-06 12:20:14 -08:00
jonsequitur
d40a87bc44
introduce dotnet complete command
2017-03-06 12:19:06 -08:00
Zlatko Knezevic
4da96e1ace
Responding to PR feedback
2017-03-05 21:06:43 -08:00
blackdwarf
4aacb22993
Add support for dotnet help <verb>
...
This commit adds supports for getting more detailed help by using the
`dotnet help <verb>` syntax (e.g. `dotnet help build`). This change
opens up the URL that is specified for each verb in the default browser
on the user's machine, so internet access is required.
2017-03-04 19:19:39 -08:00
Rama Krishnan Raghupathy
99301d0d95
fix cache test
2017-03-03 16:59:12 -08:00
Piotr Puszkiewicz
d55a8f8188
Add missing copyright headers to all cs files
2017-03-02 21:04:03 -08:00
Piotr Puszkiewicz
e617376bc7
Trailing newlines + standardize tabs -> spaces
2017-03-02 20:35:20 -08:00
Piotr Puszkiewicz
78cf9a2941
Version as Metadata in src/
2017-03-02 19:49:30 -08:00
Maira Wenzel
8a0dd7aece
Merge branch 'master' into mairaw-patch-1
2017-03-02 10:52:55 -08:00
Piotr Puszkiewicz
a1d27b6843
Merge pull request #5741 from spboyer/master
...
Update help text for dotnet-add-package
2017-03-01 00:36:57 -08:00
Maira Wenzel
15938b5536
Update LocalizableStrings.cs
2017-02-28 17:18:08 -08:00
Krzysztof Wicher
3a3025b3af
remove duplication in dotnet-restore
2017-02-23 11:31:48 -08:00
Krzysztof Wicher
c75d2e446e
reduce some repetition
2017-02-23 11:24:36 -08:00
Krzysztof Wicher
eddca32b2f
add dotnet clean unit tests
2017-02-22 17:40:02 -08:00
Krzysztof Wicher
b85a2ec6f2
unit tests for dotnet-cache invocation, some cleanup
2017-02-22 15:49:39 -08:00
Krzysztof Wicher
3415a79940
vstest unit tests
2017-02-22 13:53:44 -08:00
Krzysztof Wicher
1514dd5e16
add dotnet-publish unit tests
2017-02-22 12:45:11 -08:00
Krzysztof Wicher
584b4a93c0
add dotnet pack unit tests
2017-02-22 12:01:59 -08:00
Krzysztof Wicher
06ceb66089
skip not finished tests and add restore unit tests
2017-02-22 11:43:03 -08:00
Krzysztof Wicher
873bb31cfa
Move CommandCreationException to root
2017-02-22 10:52:23 -08:00
Shayne Boyer
0e3b47b725
undo .xlf remove-reference
2017-02-22 10:46:31 -05:00
Shayne Boyer
2f65c3ee6a
undo .xlf fils for add-reference
2017-02-22 10:43:40 -05:00
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