Mike Lorbetske
645bb43291
Hook 'new' into the CLI telemetry pipeline
2017-04-14 20:32:51 -07:00
Eric Erhardt
bfab25c259
Rename publish --target to --manifest.
...
Fix #6244
2017-04-14 16:08:32 -05:00
William Li
def4322783
Fix format
2017-04-14 10:35:36 -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
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
William Li
cddffb08d2
Refactoring: Move UsageText to a separate file
2017-04-10 22:10:14 -07:00
Mike Lorbetske
fc77d7e152
Update templates & engine, rename --skip-restore to --no-restore
2017-04-10 20:00:17 -07:00
Eric Erhardt
ae78b87587
Update SDK to 2.0.0-alpha-20170410-1.
2017-04-10 14:24:52 -05:00
Eric Erhardt
99f9786ac7
Merge pull request #6270 from eerhardt/CacheRename
...
Rename `cache` to `store`.
2017-04-10 12:15:25 -05:00
Livar
67563a4f12
Merge pull request #6268 from livarcocc/remove_1_0_runtime
...
Removing the additional shared framework from the official stage2 build of the CLI
2017-04-08 12:30:41 -07:00
Livar
18126c4ea8
Merge branch 'master' into CacheRename
2017-04-08 09:36:15 -07:00
Livar
cc9271119e
Merge pull request #6266 from wli3/fix-migrate-x
...
Fix migrate command's parse error
2017-04-08 09:34:52 -07:00
Livar Cunha
c8b042fd1b
Fixing the build.
2017-04-08 00:31:27 -07:00
Livar Cunha
4c926ec9c5
Fixing the order in which we publish the stage2 with the legacy runtime.
2017-04-08 00:31:27 -07:00
Livar Cunha
772e838ff8
Removing the additional shared framework from the official stage2 build of the CLI. Instead, I also create a stage2 build with the legacy runtime so that we can continue to run tests tthat depend on it, but most importantly, we will be able to run backwards compatibility tests using it.
2017-04-08 00:31:27 -07:00
Eric Erhardt
07b25e268c
Rename cache
to store
.
...
Rename `dotnet publish --filter` to `dotnet publish --target`.
Partial fixes for #6243 , #6244
2017-04-07 14:21:16 -05:00
William Li
4f52ed37f7
Fix migrate command's parse error
...
argument. So, when it is trying to materialize MigrateCommand, the file
path does not match what it is expected(a bool).
2017-04-07 08:01:06 -07:00
Mike Lorbetske
379dd5c9e0
Update template engine & template versions
2017-04-05 13:50:12 -07:00
Eric Erhardt
b00384f497
Merge pull request #6234 from eerhardt/SelfContained
...
Add --self-contained to publish.
2017-04-04 12:03:09 -05:00
Livar
6c5d622b9e
Merge pull request #6151 from smadala/rd-arg
...
Add results-directory switch to dotnet test
2017-04-04 08:31:58 -07:00
Satya Madala
bd10beafae
update help message for test results directory
2017-04-04 12:40:18 +05:30
Livar
34f7df0763
Merge pull request #6209 from livarcocc/first_run_fallback_folder
...
First run fallback folder
2017-04-03 23:23:29 -07:00
Livar Cunha
af3d2a6c5c
Fixing formatting issues pointed out during code review.
2017-04-03 22:18:05 -07:00
Livar Cunha
3d0089552c
Fixing failures in tests when the user has a fallbackfolder setup on this machine already. These failures are again due to the fact that --packages are not populated when the packages are found in the fallback folder.
2017-04-03 22:15:40 -07:00
Eric Erhardt
ab15200500
Add --self-contained to publish.
...
This flows to the $(SelfContained) property added in https://github.com/dotnet/sdk/pull/1053
2017-04-03 18:17:08 -05:00
Livar Cunha
347bd4b1fe
Fixing the location of the sentinel and placing it side by side with the fallback folder.
2017-03-30 14:14:36 -07:00
Livar Cunha
0c1af8a2fe
Enabling E2E tests by setting HOME and USERPROFILE env variables. This will cause the NuGet.Config and fallback folder to be extract to the location in those variables during the tests. Also refactored all NuGet path calculators for the first run to a single place.
2017-03-30 11:28:01 -07:00
jonsequitur
7a90675be7
enforce repeating options to for multiple arguments
2017-03-30 07:43:04 -07:00
Livar Cunha
a46237784e
Modified the build script to generate the lzma archive without the nupkgs. Modified the configurer to upsert NuGet.Config with the fallback folder info and to extract the fallback folder. Added unit tests for all this. Next step: update E2E tests.
2017-03-30 00:11:17 -07:00
Satya Madala
8bed1b3a23
Update help text
2017-03-30 12:13:14 +05:30
Petr Onderka
8eab3ad038
Fixed broken links
2017-03-28 15:50:05 +02:00
Chris Rummel
3928c2739c
Make folder case consistent.
...
This causes no build issues (because the .csproj uses the default wildcard include),
but prevents the repo from being pushed to VSO Git.
2017-03-27 15:23:14 -05:00
Chris Rummel
cd0fc7886c
Make folder case consistent.
...
This causes no build issues (because the .csproj uses the default wildcard include),
but prevents the repo from being pushed to VSO Git.
2017-03-27 14:59:40 -05:00
Livar
e09c33400c
Merge pull request #6138 from livarcocc/tool_fallback_folder
...
Switched to using a FallbackPackagePathResolver to find the tool dll
2017-03-27 10:57:55 -07:00
Livar Cunha
b2116cd2e1
Addressing comments by adding a test covering the case where the tool assemblies are not found.
2017-03-26 21:52:27 -07:00
Satya Madala
12e59ebb6e
Merge branch 'master' into rd-arg
2017-03-25 16:33:01 +05:30
Satya Madala
8a6913b2fe
Add results directory arg to dotnet test
2017-03-25 15:18:14 +05:30
Nick Guerrera
fcd3c149f8
Merge pull request #6136 from nguerrera/vs-version-props
...
Package bundled version props in to a VS insertion nupkg
2017-03-24 15:56:04 -07:00
Livar
9f186882b3
Merge pull request #6120 from dasMulli/bugfix/run-directory-arg
...
Allow directories as project arguments to run command.
2017-03-24 14:14:50 -07:00
Livar Cunha
10e743e8e5
Switched to using a FallbackPackagePathResolver to find the tool dll, because now with Fallback folders, we can have the tool dll in the fallback folder but its assets file in the user nuget cache. This happens because Nuget never writes to the fallback folder, including the tool's assets file that it generates during restore.
2017-03-24 12:17:27 -07:00
Livar
b2ac1cf8df
Merge pull request #6134 from jonsequitur/stop-splitting-tokens-when-option-is-not-valid
...
update CommandLineParser version for more selective option splitting
2017-03-24 12:14:47 -07:00
Nick Guerrera
5e26d0f160
Package bundled version props in to a VS insertion nupkg
2017-03-24 11:11:31 -07:00
dasMulli
a4cb3fdf81
Allow directories as project arguments to run command.
2017-03-24 06:44:53 +01:00
jonsequitur
abfb877c5d
update Microsoft.DotNet.Cli.CommandLineParser version for more selective option splitting
2017-03-23 17:12:35 -07:00
Nick Guerrera
e644058c0e
Merge branch 'master' into version-props
2017-03-23 13:59:47 -07:00
Livar
960b3808ee
Merge pull request #6115 from jonsequitur/adaptive-help-spacing
...
Adaptive help spacing
2017-03-23 13:13:49 -07:00
jonsequitur
149f292b6a
check for help in DotNetTopLevelCommandBase
2017-03-23 08:15:41 -07:00
jonsequitur
857df6a384
remove unused variable
2017-03-22 15:47:54 -07:00
Nick Guerrera
a5051a0aff
Generate bundled version props
2017-03-22 15:28:39 -07:00
jonsequitur
94bc781df7
remove debug file output
2017-03-22 13:51:45 -07:00
jonsequitur
c58b0b70a6
add null propagation
2017-03-22 13:51:32 -07:00
jonsequitur
055523770a
update CliCommandLineParser version
2017-03-22 13:51:09 -07:00
jonsequitur
53f9b4f427
fix spelling error
2017-03-22 13:04:58 -07:00
Livar
485237a8a0
Merge pull request #6097 from ellismg/fix-6096
...
Don't write `\b` when output is redirected
2017-03-21 21:54:08 -07:00
Matt Ellis
bdfc759350
Don't write \b
when output is redirected
...
Fixes #6096
2017-03-21 18:03:43 -07:00
jonsequitur
0eca6cb9cd
remove unused forwarded argument
2017-03-21 14:55:33 -07:00
jonsequitur
66980de543
merge
2017-03-21 14:19:56 -07:00
Livar
09f07e8b04
Merge pull request #6090 from eerhardt/Run
...
Port #4403 back into the main source code.
2017-03-21 13:11:02 -07:00
jonsequitur
4effd9354c
merge
2017-03-21 11:57:08 -07:00
Eric Erhardt
55eb812664
Port #4403 back into the main source code.
...
This change was lost when we converted the MSBuild "run3" verb to just "run".
Fix #6076
2017-03-21 13:46:08 -05:00
jonsequitur
4425398fc8
set loc strings for parser-formatted help
2017-03-21 11:41:09 -07:00
Livar
a70f2a7af8
Merge pull request #6054 from eerhardt/EnableLinuxTests
...
Enable tests on linux portable build.
2017-03-20 20:59:44 -07:00
Rama Krishnan Raghupathy
a48f3a6bbf
Using Apphost.exe for standalone apps
2017-03-20 18:06:48 -07:00
Eric Erhardt
8e239a4825
Clean up dead code
...
These are old usages of GetRuntimeIdentifier() that are no longer needed.
2017-03-20 12:23:23 -05:00
jonsequitur
3e265a98b8
fix merge issues
2017-03-19 18:48:16 -07:00
Jon Sequeira
6cfec479cb
Merge branch 'master' into tab-completion
2017-03-19 18:20:29 -07:00
jonsequitur
c85492bd48
merge master
2017-03-19 17:09:05 -07:00
jonsequitur
daac945742
restore loc strings, subcommand parsers into separate files
2017-03-19 16:38:08 -07:00
Jon Sequeira
43c13f2f53
move parse result validation to CommandBase to allow custom messages
2017-03-19 14:30:43 -07:00
jonsequitur
f8e051895e
re-enable colon and equals signs as argument delimiters
2017-03-17 13:28:21 -07:00
jonsequitur
0d04b51c93
get the full path for dotnet cache output
2017-03-17 11:06:58 -07:00
Livar
1574349a59
Merge pull request #5875 from dotnet/mairaw-patch-1
...
Fix misleading string for dotnet add package
2017-03-16 19:55:33 -07:00
Maira Wenzel
1ee9529203
reverted SpecifyExactlyOnePackageReference string
2017-03-16 16:10:48 -07:00
Jon Sequeira
4d8bab8389
remove extra diagnostic output from ForwardApp
2017-03-16 15:46:27 -07:00
Livar
5476ad9cf8
Merge pull request #6053 from smadala/tp-redist-02
...
Netcoreapp2.0 targetted TestPlatform
2017-03-16 14:56:23 -07:00
jonsequitur
973021b214
publish, cache, text fixes; rename ForwardAs and introduce ForwardAsMany
2017-03-16 13:22:08 -07:00
Satya Madala
1f886632f2
remove NetCore10Assemblies renaming back
2017-03-17 00:20:40 +05:30
Maira Wenzel
9b06921b75
addressed feedback
2017-03-16 10:59:33 -07:00
jonsequitur
8aa702dc97
text fixes for dotnet remove
2017-03-16 10:46:08 -07:00
jonsequitur
9c2e8f0037
text fixes, remove file existence validations from parse
2017-03-16 09:49:07 -07:00
Satya Madala
d95f599028
Remove unavailable netcore10 assemblies
2017-03-16 21:58:49 +05:30
jonsequitur
9318e8f10d
Merge branch 'tab-completion' of https://github.com/jonsequitur/cli into tab-completion
2017-03-16 08:32:43 -07:00
jonsequitur
3c8f330930
update parser
2017-03-16 08:31:15 -07:00
Piotr Puszkiewicz
6c8400b8be
dotnet run --no-build
...
test shows the option was previously supported, but ignored.
2017-03-16 02:39:48 -07:00
Livar
d347e2781d
Merge pull request #5922 from blackdwarf/helpadd
...
Add dotnet help <verb> support
2017-03-15 22:00:00 -07:00
Jon Sequeira
69ba7095e5
update parser
2017-03-15 20:33:22 -07:00
jonsequitur
5bfd610407
add back --version-suffix
2017-03-15 19:25:16 -07:00
jonsequitur
ae312b7965
adjust parser constraints for dotnet add
2017-03-15 19:09:54 -07:00
Jon Sequeira
8a2be57617
text fixes for dotnet remove
2017-03-15 13:59:39 -07:00
blackdwarf
30a872bd80
Responding to PR feedback
2017-03-15 09:51:07 -07:00
Zlatko Knezevic
d251734170
Responding to PR feedback
2017-03-15 09:37:28 -07:00
Jon Sequeira
bcfc16000c
latest CliCommandLine
2017-03-15 09:28:10 -07:00
Jon Sequeira
c316b98c74
remove command fixes
2017-03-15 09:27:27 -07:00
Jon Sequeira
bbc2722cb7
loc spelling error and other fixes
2017-03-14 23:13:59 -07:00
jonsequitur
d3a101ebad
list reference accepts zero or one arg
2017-03-14 20:20:25 -07:00
jonsequitur
1ca338838a
dotnet list reference fix
2017-03-14 19:19:31 -07:00
Jon Sequeira
4940c2a6ee
use ValueOrDefault
2017-03-14 18:41:27 -07:00
Livar
ee9ba91e85
Merge pull request #6030 from nj/readme_environment_var
...
Change name for DOTNET_PACKAGES to NUGET_PACKAGES
2017-03-14 18:19:41 -07:00
Jon Sequeira
11270a436b
list command help text fix
2017-03-14 16:13:49 -07:00
Jon Sequeira
59d1fe32bc
remove redundant help
2017-03-14 15:22:31 -07:00
Jon Sequeira
35732fc07d
include HelpText in CommandParsingError, write it to stdout
2017-03-14 12:26:24 -07:00
Jon Sequeira
22fb17422f
handle -? and /? arguments as help
2017-03-14 11:30:35 -07:00
Jon Sequeira
898d10cb2d
help text adjustments for dotnet sln
2017-03-14 11:23:19 -07:00
Jon Sequeira
96683c1421
help text updates
2017-03-14 10:33:58 -07:00
Nikolaj Jørgensen
cacd52fdbb
Change name for DOTNET_PACKAGES to NUGET_PACKAGES
...
README was never updated in #817 , making it show an obsolete variable.
This reflects the name used in the current code
2017-03-14 10:55:29 +01:00
Zlatko Knezevic
36e3d5d2f9
Removing locale from the commented links
2017-03-13 20:56:42 -07:00
Jon Sequeira
2c96d8e8b9
throw exceptions for command not found
2017-03-13 20:06:59 -07:00
Zlatko Knezevic
fa98674954
Responding to PR feedback
2017-03-13 19:42:30 -07:00
Jon Sequeira
ace4fe49f6
new CliCommandLine version
2017-03-13 16:01:58 -07:00
Jon Sequeira
f5d9cfc79c
reverse order of help response vs error response
2017-03-13 15:29:39 -07:00
Jon Sequeira
204d8594bf
throw exception on parse errors
2017-03-13 13:29:03 -07:00
Jon Sequeira
11b7e7e449
new CliCommandLine version
2017-03-13 12:46:39 -07:00
Jon Sequeira
02ac115f2b
new CliCommandLine version with help fix
2017-03-13 09:03:14 -07:00
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
2d8555c345
Merge remote-tracking branch 'dotnet/master' into tab-completion
2017-03-10 18:59:38 -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
Eric Erhardt
b019f4e53d
Remove unused constants.
...
These strings were used in the project.json days, but are no longer used.
2017-03-10 17:35:17 -06: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
0df2462344
Merge remote-tracking branch 'dotnet/master' into tab-completion
2017-03-10 12:03:01 -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
Livar
374f9ebcee
Merge pull request #5979 from dotnet-bot/master-UpdateDependencies
...
Update CoreSetup to beta-001711 (master)
2017-03-09 18:42:08 -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
Eric Erhardt
35e3d69a2f
Update ProjectJsonMigration's Roslyn
...
Now that Roslyn is no longer in the Shared Framework, it doesn't make sense to keep using 1.3.0. Instead, we should use the same Roslyn version that we use for csc.
2017-03-09 16:35:08 -06: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
Eric Erhardt
f0e156d384
Merge pull request #5942 from ramarag/mult_Ver
...
Cache accepting multiple input files
2017-03-07 17:44:23 -06: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
Livar
b42697ff09
Merge pull request #5917 from eerhardt/FixVersionsRepoUpdater
...
Fix UpdateVersionsRepo to always write the files correctly.
2017-03-03 20:31:05 -08:00
Eric Erhardt
21471aa956
Fix UpdateVersionsRepo to always write the files correctly.
...
We were only building nupkgs on windows, which meant if a non-windows machine was the last leg to finish, we were writing a blank file to the versions repo.
Fix #4399
2017-03-03 21:43:38 -06:00
Eric Erhardt
0e0b59f910
Merge pull request #5909 from dotnet/UpdateSDK
...
Update NET.Sdk to 1.1.0-alpha-20170303-2
2017-03-03 19:56:16 -06:00
Rama Krishnan Raghupathy
99301d0d95
fix cache test
2017-03-03 16:59:12 -08:00
Piotr Puszkiewicz
a07ebe2e7b
Merge remote-tracking branch 'refs/remotes/dotnet/master'
...
Conflicts:
TestAssets/DesktopTestProjects/AppWithProjTool2Fx/App.csproj
TestAssets/NonRestoredTestProjects/AppThrowingException/App/AppThrowingException.csproj
TestAssets/NonRestoredTestProjects/AppThrowingException/AppDependingOnOtherAsTool/AppDependingOnOtherAsTool.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net45Lib/Net45Lib.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj
TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj
TestAssets/NonRestoredTestProjects/ToolWithRandomPackageName/AppWithDepOnTool/AppWithDepOnTool.csproj
TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj
TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj
TestAssets/TestProjects/AppWithDepOnToolWithOutputName/AppWithDepOnToolWithOutputName.csproj
TestAssets/TestProjects/AppWithDirectDepWithOutputName/AppWithDirectDepWithOutputName.csproj
TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
TestAssets/TestProjects/AppWithToolDependency/AppWithToolDependency.csproj
TestAssets/TestProjects/DependencyContextFromTool/DependencyContextFromTool.csproj
TestAssets/TestProjects/MSBuildAppWithMultipleFrameworks/MSBuildAppWithMultipleFrameworks.csproj
TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
TestAssets/TestProjects/TestAppSimple/TestAppSimple.csproj
TestAssets/TestProjects/TestAppWithProjDepTool/TestAppWithProjDepTool.csproj
TestAssets/TestProjects/VSTestDesktopAndNetCore/VSTestDesktopAndNetCore.csproj
TestAssets/TestProjects/VSTestDotNetCore/VSTestDotNetCore.csproj
TestAssets/TestProjects/VSTestXunitDesktopAndNetCore/VSTestXunitDesktopAndNetCore.csproj
TestAssets/TestProjects/VSTestXunitDotNetCore/VSTestXunitDotNetCore.csproj
build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj
build_projects/dotnet-cli-build/dotnet-cli-build.csproj
build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj
test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateConfigurations.cs
test/Microsoft.DotNet.ProjectJsonMigration.Tests/Rules/GivenThatIWantToMigrateTFMs.cs
2017-03-02 23:49:01 -08:00
Livar Cunha
103833fd34
Updating the version of the TestFramework which fixed the tests for dotnet test and vstest and actually managed to move the projects used there to 2.0. So, only test packages should remain 1.0.
2017-03-02 21:43:06 -08:00
Piotr Puszkiewicz
d55a8f8188
Add missing copyright headers to all cs files
2017-03-02 21:04:03 -08:00
Piotr Puszkiewicz
841846f32b
Standardize on newline between Property|ItemGroup areas
2017-03-02 20:38:56 -08:00
Piotr Puszkiewicz
e617376bc7
Trailing newlines + standardize tabs -> spaces
2017-03-02 20:35:20 -08:00
Piotr Puszkiewicz
d9a06ba95c
Remove unnecessary Release constants
...
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>
2017-03-02 20:11:21 -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
Livar Cunha
3a9525b5ac
Merge branch 'rel/1.0.1' into merge_rel101_into_master
...
* rel/1.0.1: (66 commits)
Update LZMA license with correct text
Bump to 2.0.0-rc5-61427-04
Remove duplicate installer suffix
Add license text to LZMA SDK license notice
Updating the SDK to 1.0.0-alpha-20170224-6
Updating both platform abstractions and dependency model to 1.0.3.
Bump Roslyn to 2.0.0-rc5-61424-02
Update Stage0 to use the latest build.
Update README with new distros.
Back porting #5597 into rel/1.0.0
Fixing the exclude pattern used by the Migration to exclude WEB SDK globs.
Remove RID from test package creation
Disable migrate and publish web app with content because CI does not have NPM
Adding an E2E test for pack with content during migration.
Fixing a failing test and adding a few more E2E tests around binplace content for migrated projects.
Fix debian_config.json on ubuntu16.10
Updating publish, pack and build of content to use None with Never/false/Never in their metadata for excluded items.
Intermediate commit to get a WIP PR out. This adds the None Update with CopyToOutputDirectory set to Never.
Switching the CopyToOutput for build and publish and the file for pack to use None Update instead of include. Also, fixed the exclude patterns for web apps.
Do not migrate Content that is already included in the Web SDK for web apps.
...
2017-03-01 20:50:42 -08:00
Livar Cunha
a9a986c30c
Merge branch 'rel/1.0.0' into merge_rel_1_0_0_into_rel_1_0_1
...
* rel/1.0.0:
Update LZMA license with correct text
Add license text to LZMA SDK license notice
2017-03-01 11:56:37 -08:00
Piotr Puszkiewicz
85ca206d84
Merge pull request #5879 from dotnet/piotrpMSFT/infra/reduceRedist
...
Remove unnecessary P2P's from redist.csproj
2017-03-01 10:13:59 -08:00
Piotr Puszkiewicz
65f6424ddf
symbols sdk
2017-03-01 01:24:07 -08:00
Piotr Puszkiewicz
5f4ef8ff77
Remove unnecessary P2P's from redist.csproj
2017-03-01 01:08:33 -08:00
Piotr Puszkiewicz
eb09b62236
Because ;
2017-03-01 00:46:13 -08:00
Piotr Puszkiewicz
12fde69e86
Move remaining Publish actions to redist.csproj
2017-03-01 00:45:02 -08:00
Piotr Puszkiewicz
7bdd7befd8
Merge resolution
2017-03-01 00:45:02 -08:00
Piotr Puszkiewicz
eee7c7ed32
Move PDB removal to redist.csproj target
2017-03-01 00:45:02 -08:00
Piotr Puszkiewicz
283a80dff0
Move Symbols package creation to redist target
2017-03-01 00:45:02 -08:00
Piotr Puszkiewicz
28d83da782
Remove vbc in a target
2017-03-01 00:45:02 -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
Piotr Puszkiewicz
db35770913
Add back Windows condition
2017-02-28 19:30:43 -08:00
Piotr Puszkiewicz
3682882be4
Make RunCsc.sh executable
2017-02-28 19:13:00 -08:00
Piotr Puszkiewicz
0100fd9aa7
Simplify chmod usage
2017-02-28 18:53:13 -08:00
Piotr Puszkiewicz
664f089985
Reduce chmod
2017-02-28 18:16:51 -08:00
Maira Wenzel
15938b5536
Update LocalizableStrings.cs
2017-02-28 17:18:08 -08:00
Piotr Puszkiewicz
01ca1b1208
Ensure redist publishes Roslyn
...
Also fix issue found in PR
2017-02-28 01:39:45 -08:00
Piotr Puszkiewicz
9bdd38cc19
Initial
2017-02-28 01:17:22 -08:00
Piotr Puszkiewicz
e2c9071c81
Remove duplicate glob
2017-02-27 19:11:38 -08:00
Piotr Puszkiewicz
e9a31a27ba
Use PublishDir within redist.csproj
2017-02-27 18:48:05 -08:00
Piotr Puszkiewicz
452b7fcbdd
Maybe order matters for AV...
2017-02-27 18:19:06 -08:00
Piotr Puszkiewicz
8ca21b67f9
Add relative paths, add logs by default
2017-02-27 17:19:39 -08:00
Piotr Puszkiewicz
5d193e8b39
Merge conflicts
2017-02-27 17:13:13 -08:00
Piotr Puszkiewicz
981db5f817
Wip
2017-02-27 17:11:37 -08:00
Piotr Puszkiewicz
69f5ecbeea
Remove targets from deps file
2017-02-27 17:11:37 -08:00
Piotr Puszkiewicz
b1787426c0
Also move nupkg contentFiles
2017-02-27 17:11:37 -08:00
Piotr Puszkiewicz
43266d2d9a
Move publishing static MSBuildExtensions to redist.csproj
2017-02-27 17:11:03 -08:00
Richard Lander
6e74e3b50e
Update LZMA license with correct text
2017-02-27 16:32:41 -08:00
Justin Goshi
61c1e3e104
Remove duplicate properties
2017-02-27 11:06:44 -08:00
Eric Erhardt
ab887ec024
Merge remote-tracking branch 'upstream/rel/1.0.0' into rel101
2017-02-25 14:30:53 -06:00
Livar
480f2dd377
Fixing the exclude pattern used by the Migration to exclude WEB SDK globs.
2017-02-24 01:12:35 -08:00
Livar Cunha
8e35beccb8
Fixing a failing test and adding a few more E2E tests around binplace content for migrated projects.
2017-02-23 22:55:35 -08:00
Livar Cunha
733ee18c5a
Updating publish, pack and build of content to use None with Never/false/Never in their metadata for excluded items.
2017-02-23 20:36:02 -08:00
Livar Cunha
f05bbd92a6
Intermediate commit to get a WIP PR out. This adds the None Update with CopyToOutputDirectory set to Never.
2017-02-23 18:47:17 -08:00
Livar Cunha
b660311772
Switching the CopyToOutput for build and publish and the file for pack to use None Update instead of include. Also, fixed the exclude patterns for web apps.
2017-02-23 18:47:17 -08:00
Livar Cunha
1228c7ef55
Do not migrate Content that is already included in the Web SDK for web apps.
2017-02-23 18:47:17 -08:00
Livar Cunha
14a7dd7ef1
Migrate now moves all file copies to the None element.
2017-02-23 18:47:17 -08:00
Livar Cunha
3bbfcb428b
Adding merging of ProjectItemElement.Update. Before, we only merged Include.
2017-02-23 18:47:16 -08:00
Piotr Puszkiewicz
f5f6adccb0
Merge pull request #5797 from krwq/2017-02-17-clean-up-cli-utils
...
Add unit tests around command line parsing
2017-02-23 14:07:28 -08:00
Eric Erhardt
ace9526681
Merge remote-tracking branch 'refs/remotes/upstream/rel/1.0.0'
...
Conflicts:
README.md
build/Microsoft.DotNet.Cli.Monikers.props
test/dotnet-build.Tests/GivenDotnetBuildBuildsCsproj.cs
2017-02-23 15:42:35 -06: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
Piotr Puszkiewicz
56f9a84dfd
Generate Version file before redist publish
2017-02-23 02:33:00 -08:00
Piotr Puszkiewicz
7818348fc2
Move copying sharedfx to before publish of redist
2017-02-23 01:12:32 -08:00
Piotr Puszkiewicz
1199df1c05
Move tool deps file creation into redist.csproj
2017-02-22 22:47:11 -08:00
Piotr Puszkiewicz
dc1b97c4a1
Merge pull request #5806 from piotrpMSFT/piotrpMSFT/infra/HackFilesToCopy
...
remove HackFilesToCopy
2017-02-22 20:16:51 -08:00
Livar Cunha
24431edfa3
Fixing the origin versions of BrowserLink to migrate.
2017-02-22 20:11:53 -08:00
Livar Cunha
281bd15a19
Fixing a couple of stray package versions.
2017-02-22 20:11:40 -08:00
Livar Cunha
3701b94c32
Updating the FTS versions of packages. Started uplifting FTS packages. And migration BrowserLink.Loader to BrowserLink.
2017-02-22 20:11:34 -08:00
Livar Cunha
523935f3fe
Updating packages for migration to new LTS versions.
2017-02-22 20:11:19 -08:00