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
Justin Goshi
023a899db0
WIP Refactor and improve tests
2016-12-16 01:04:09 -08:00
Zbyněk Sailer
8dcfd37755
LOC CHECKIN | cli | HB 20161216
2016-12-16 09:46:50 +01:00
Justin Goshi
20f2242947
Adding dotnet remove project tests
2016-12-15 15:48:04 -08:00
Justin Goshi
07ddddfa88
Implement dotnet remove proj
2016-12-15 13:40:46 -08:00
Justin Goshi
441277ccfa
Implement dotnet add project ( #5022 )
...
* Implement dotnet add project
* Addressed PR comments
2016-12-14 13:53:11 -10:00
Livar
e5955e8802
Merge pull request #5015 from dotnet/shanselman-patch-3
...
Removing duplicate space in "The Current OutputType is" usage
2016-12-14 09:12:12 -08:00
Justin Goshi
76722fd403
Improve the help text ( #5002 )
...
* WIP Improve help text
* Improve help text
* Address PR comments
* Address PR comments
* Address PR comments
2016-12-13 14:31:35 -10:00
Scott Hanselman
c50aeb318e
Removing duplicate space in "The Current OutputType is" usage
...
Removing duplicate space in "The Current OutputType is" usage
The LocalizableStrings.RunCommandExceptionUnableToRun3 always has as trailing space. Every instances does. Here we are adding a SECOND space so the result is:
The current OutputType is 'Library'.
2016-12-13 14:52:03 -08:00
Justin Goshi
2b7e9b6524
Clean up sln reader/writer ( #5005 )
2016-12-13 06:45:00 -10:00
Zlatko Knezevic
d335b5de40
Changing dotnet-test options ( #4987 )
...
In Preview 3, the `dotnet test` options were not aligned with the CLI's
adopted format. This PR changes the options to be aligned. Where
possible/applicable, I have shortened the long options to a meaningful
mnemonic short version.
Fixes #4960
2016-12-12 23:29:29 -08:00
Krzysztof Wicher
8eaec8715b
Merge pull request #4972 from krwq/p2p-compat-check
...
add compat checks to dotnet add
2016-12-09 15:32:15 -08:00
Krzysztof Wicher
524fe3cb6b
apply review feedback
2016-12-09 12:11:11 -08:00
Livar
1fd99f1588
Merge rel/1.0.0-preview4 back into rel/1.0.0 ( #4974 )
...
* Updating the preview4 channel to rel-1.0.0-preview4
* Add more xlf files for new strings
* bundle fsharp sdk, only Sdk directory is required
* align f# console proj
* align f# lib template
* align f# mstest template
* align f# xunit template
* align f# web template
* fix mstest package version, aligned to c#
* remove unused directories from bundled sdks
* Adding a SdkNugetVersion property when invoking dotnet pack on test packages so that test packages can reference exact packages. We need that because of https://github.com/NuGet/Home/issues/4063 . Without it, pack creates the nuspec with a version like 1.0.0-version-, instead of 1.0.0-version-<version_used_in_build>, which leads to problems when restoring the tool. Like, it ends up restoring to the closest version of the package (oldest), instead of the latest.
* Update web template for Web SDK 154 (#4948 )
* Update WebSDK version
* Update web template to get rid of globs
https://github.com/aspnet/Templates/pull/735
* MSBuild to 15.1.458 (#4950 )
* Adding MigrateWebSdkRule to the DefaultMigrationRuleSet (#4963 )
* Adding MigrateWebSdkRule to the DefaultMigrationRuleSet and adding a E2E test to cover it.
* Do not migrate compile and EmbeddedResources for web application, because those are included in the Web Sdk already.
* Addressing code review comments
2016-12-09 00:30:02 -08:00
Krzysztof Wicher
9a8d158e09
add test coverage
2016-12-08 16:23:21 -08:00
Krzysztof Wicher
2d38aaa6e1
fix dotnet-add-p2p tests
2016-12-08 14:56:31 -08:00
Krzysztof Wicher
84e4da57cc
add compat checks to dotnet add
2016-12-08 13:06:12 -08:00
Livar
355b6233cb
Merge pull request #4944 from vsccarl/restoreLoc
...
Fixed a missing interpolation operator
2016-12-07 14:42:47 -08:00
Justin Goshi
0831316321
Allow migration of sln files ( #4949 )
...
* WIP Migrate sln files
* WIP add reference to redist
* Adding tests and fixing a few bugs
* Fix some tests
* Remove use of DeepClone
* Fix test build errors
* Fix more tests
2016-12-07 11:49:15 -10:00
Krzysztof Wicher
79e6126b2a
add dotnet list p2ps ( #4929 )
...
* add stub for dotnet list p2ps
* apply review feedback
* PR feedback: consistent method modifiers
* apply missed review feedback
* add test coverage and do not treat no p2ps as error
* move private methods to the bottom, rename weird res name
2016-12-07 12:56:27 -08:00
Piotr Puszkiewicz
15e86d8c58
Merge branch 'rel/1.0.0' into restoreLoc
2016-12-07 00:51:53 -08:00
Scott Carlton
d29925a689
Fixed spacing for some strings ( #4943 )
...
Some strings lost a space before .NET for some reason. Fixed now.
2016-12-07 00:46:40 -08:00
Scott Carlton
3890acd8da
Fixed a missing interpolation operator
2016-12-06 10:04:11 -08:00
Livar
23fb676f2a
Merge pull request #4931 from livarcocc/change_to_preview5
...
Updating the branding of rel/1.0.0 to preview5.
2016-12-05 15:47:08 -08:00
Livar Cunha
de9ae38375
Updating the branding of rel/1.0.0 to preview5.
2016-12-05 14:47:16 -08:00
Nick Guerrera
a41b3d936b
Add more xlf files for new strings
2016-12-05 13:12:48 -08:00
Livar
2e6cc71286
Merge pull request #4903 from vsccarl/LocAddCommand
...
Localization changes for dotnet-add and dotnet-add-p2p
2016-12-05 13:09:19 -08:00
Livar
7ee59f8b4d
Merge pull request #4902 from vsccarl/LocNew
...
Localization for dotnet-new command
2016-12-05 12:38:01 -08:00
Scott Carlton
0804055422
Added back SpecifyAtLeastOneReferenceToAdd
2016-12-05 12:00:12 -08:00
Scott Carlton
e5954ca4f0
More string.Format fixes
2016-12-05 11:09:05 -08:00
Scott Carlton
11ea49dc7c
added a string.Format
2016-12-05 11:04:19 -08:00
Scott Carlton
464f2d9a6c
Updated wrong localizableStrings reference
2016-12-05 10:58:47 -08:00
Piotr Puszkiewicz
337becdefd
Merge branch 'rel/1.0.0' into LocAddCommand
2016-12-05 10:53:52 -08:00
Scott Carlton
65a3d0e500
More string changes.
2016-12-05 10:47:10 -08:00
Scott Carlton
5935b9bea7
More string changes
2016-12-05 10:47:05 -08:00
Scott Carlton
2554aeda89
Fixed strings
2016-12-05 10:24:11 -08:00
Scott Carlton
c5955743d8
Fixed broken up strings
2016-12-05 10:23:34 -08:00
Piotr Puszkiewicz
ca8904ec3a
Merge branch 'rel/1.0.0' into dev/mlorbe/UpdateCSharpWebTemplatesForSdkAttribute
2016-12-05 02:58:41 -08:00
Scott Carlton
6a38780f4e
Localize dotnet-remove-p2p ( #4901 )
...
* Rename centralized LocalizableStrings file
* Merge
* Small fixes
2016-12-05 02:57:30 -08:00
Piotr Puszkiewicz
3566b9309d
PR feedback
2016-12-05 01:07:15 -08:00
Piotr Puszkiewicz
e249d4a0bc
Squash
2016-12-05 01:07:15 -08:00
Piotr Puszkiewicz
c4d5432e1a
Merged branch rel/1.0.0 into dev/mlorbe/UpdateCSharpWebTemplatesForSdkAttribute
2016-12-04 23:38:09 -08:00
Piotr Puszkiewicz
82ec742d37
Squash
2016-12-04 23:36:02 -08:00
Scott Carlton
29b824a6ff
Fix formatting of string litteral, squash. ( #4899 )
2016-12-04 22:54:42 -08:00
Piotr Puszkiewicz
0e55a41f69
Merge branch 'rel/1.0.0' into dev/mlorbe/UpdateCSharpWebTemplatesForSdkAttribute
2016-12-04 22:32:38 -08:00
Piotr Puszkiewicz
d6cab4af58
use Sdks attribute in dotnet new
templates ( #4916 )
...
* Move dotnet-new templates to Sdk attribute
* Update to MSBuild 15.1.0-preview-000454-01
To pick up a fix for Microsoft/msbuild#1431 .
* Fix template newlines
* Fix casing on Microsoft.Net.Sdk
* Move migration test csproj's to Sdk attribute
* Disable parallel sdk restore
Each SDK restore operation will try to manipulate the same assets.json file since the dependency name&version are injected into a common csproj file. This can cause runtime failures when two NuGets try to restore the project at once.
* Make casing of SDK 'NET' and not 'Net'
* Remove redundatn imports
* Fix test string
* Additional race
* Replacing the SDK with the Web.Sdk when it is a Web project.
* Fixing the test by writting the csproj before running the migration rule.
2016-12-04 22:31:58 -08:00
Scott Carlton
dc3d88c587
Localize changes for dotnet-remove ( #4900 )
...
* Rename centralized LocalizableStrings file
* Added RemoveDefinition
* Rebase
* rebase, remove localizablestrings for help
* loc for help command
* remove localizablestrings
* Localization changes for dotnet-remove
* Slight refactoring
2016-12-04 21:33:43 -08:00
Scott Carlton
e3cfe1d13d
Localization for the Help Command ( #4891 )
...
* Localization for the Help Command
* Updated ProjModificationCommands
* Added RemoveDefinition
* Make UsageText `static readonly`
2016-12-04 20:24:02 -08:00
Piotr Puszkiewicz
53ba8070e4
Merge branch 'rel/1.0.0' into dev/mlorbe/UpdateCSharpWebTemplatesForSdkAttribute
2016-12-04 15:17:33 -08:00
Nick Guerrera
5195aad7d1
Initial commit of xlf files for localization ( #4898 )
...
* Initial commit of xlf files for localization
* Update xlf with converter tool bug fix
2016-12-04 12:16:08 -08:00
Mike Lorbetske
b2932f5511
Adjust the C# web template for the SDK attribute
...
Use the attribute
Remove the initial and final imports
Extend GlobalExclude
Update the include patterns
Remove the PackageReference for the SDK
2016-12-03 22:57:33 -08:00
Piotr Puszkiewicz
da82bdb05d
Centralize Microsoft.Net.SDK Version ( #4890 )
...
* Centralize Microsoft.Net.Sdk package version
Note: Templates were omitted as their version needs to be static.
* Unifying additional missmatched versions
* prefercliruntime
whitespace threw off ReplaceAll
* Additional missed globs
* Revert SDK version for performance tests
* PR Feedback
* Roll back VSTestXunitDesktopAndNetCore.csproj SDK version
2016-12-02 09:34:03 -08:00
Piotr Puszkiewicz
f18967e39a
Update CLI's MSBuild Version to 15.1.0-preview-000451-02 ( #4889 )
...
* Centralize definition of MSBuild Version in CLI
* MSBuild --> 15.1.0-preview-000451-02
2016-12-01 20:10:42 -08:00
Scott Carlton
0622068cc9
Localization for the Test command ( #4886 )
2016-12-01 17:15:25 -08:00
Piotr Puszkiewicz
ecfd970045
Extra strings for localization ( #4880 )
...
* Update strings for localization
* re-align strings
2016-12-01 16:01:29 -08:00
Piotr Puszkiewicz
e82ed6799d
Enable overriding MSBuildSDKsPath with env var ( #4885 )
2016-12-01 14:45:55 -08:00
Scott Carlton
8083a68944
Localized strings for the dotnet-pack command. ( #4879 )
...
* Localized strings for the dotnet-pack command.
* Moved parameters of options to a new line
* Moved the other option parameters
2016-12-01 13:19:34 -08:00
Scott Carlton
1aa562d97f
Localization for dotnet-clean command. ( #4878 )
...
* Localization for dotnet-clean command.
* Modified spacing to keep under the 120 char limit
Moved the parameters of each option to a new line.
* Moved projectArgument parameter to a new line
2016-12-01 11:20:44 -08:00
Livar
15d278a07f
Merge pull request #4877 from vsccarl/InterpolationFix
...
Interpolation fix for run, restore, and build commands
2016-11-30 21:44:44 -08:00
Krzysztof Wicher
7312e1cb3a
Merge pull request #4868 from krwq/i4746-dotnet-remove
...
Add dotnet-remove-p2p
2016-11-30 16:14:47 -08:00
Krzysztof Wicher
1f56e84b7e
Remove P2PHelpers and simplify constructors in MsbuildProject
2016-11-30 13:43:43 -08:00
vsccarl
93d5dca470
Added interpolation operator for strings in run command
2016-11-30 13:06:21 -08:00
vsccarl
f93a5d3d83
Fixed Interpolation for restore and run commands
2016-11-30 13:03:24 -08:00
Krzysztof Wicher
26442c8769
revert line endings in dotnet.csproj
2016-11-30 12:11:12 -08:00
Scott Carlton
879ae39f35
Extract localizable strings from dotnet-publish ( #4801 )
...
* Extract localizable strings from dotnet-publish
* Added $ to interpolated strings
* Update Program.cs
2016-11-30 09:04:04 -08:00
Krzysztof Wicher
65f699f1cc
Prepare test project for dotnet-remove-p2p
2016-11-29 15:47:30 -08:00
Krzysztof Wicher
78d95b423e
dotnet-remove-p2p implementation complete - no tests
2016-11-29 14:00:44 -08:00
Krzysztof Wicher
6a703ffa73
normalize slashes and casing when comparing includes
2016-11-29 12:49:38 -08:00
Krzysztof Wicher
4e3c73e778
extract logic for opening project and preserving directory and path to separate class
2016-11-29 10:23:04 -08:00
Krzysztof Wicher
1edda43dd1
reorg of code so that sharing is easier + stub for dotnet-remove-p2p
2016-11-29 09:44:39 -08:00
Krzysztof Wicher
f49e29711f
Merge pull request #4758 from krwq/i4521
...
Fix 4521: Add dotnet-add-p2p
2016-11-28 13:51:08 -08:00
Piotr Puszkiewicz
b47d728516
Hide restore output of first-run experience ( #4740 )
...
* Fix 4066
* Merge Conflict
* Move fix to the DotNetCommandFactory
* More normalization
The `\r\n` issue is oddly non-deterministic. This change did not affect the message endings and yet CI started failing. Normalizing both string should have the desired result...
2016-11-28 00:46:26 -08:00
Enrico Sada
7b0117ac85
Update fsharp templates for preview4 with latest msbuild style ( #4836 )
...
* update web template
* add test build of fsharp/web template
* align fsharp/xunittest template
* add test for all template projects
* align fsharp/console template to #4821
* align fsharp/lib template to #4821
* align fsharp/mstest template to #4821
* align fsharp/xunittest template to #4821
* fix shortened test directory path (was same for c# test)
* try fix ci failure
2016-11-28 00:45:38 -08:00
Faizan2304
eb8e0cfa40
Bug fixes ( #4810 )
...
* Bug fixes
* Nitpick
* -Fixed failed tests
-Added test to cover trx logger scenario.
* Fix for issue https://github.com/Microsoft/vstest/issues/241
* Fix for failed test. We have taken fix where dotnet test will return nonzero if test fails. In multi TFM scenario if test fails it termates the whole process as dotnet test is returning 1. As a fix of this we should continue if some test fails for next TFM
* Bump Microsoft.Testplatform.CLI and Microsoft.NET.Test.Sdk version
2016-11-24 00:48:54 -08:00
Piotr Puszkiewicz
3a3ab7e0b0
MSBuildSDKsPath ( #4824 )
...
* Tests in place
* Implementation
2016-11-23 23:54:44 -08:00
Enrico Sada
2cf0675270
add F# templates to dotnet new
( #4789 )
...
* add F# templates to `dotnet new`
* add dotnet new tests
* avoid conflict with cs test dir
* fix test
2016-11-23 22:57:54 -08:00
Krzysztof Wicher
8b565616a0
Strings->LocalizableStrings, Extensions->ProjectRootElementExtensions, fix long lines, remove empty line
2016-11-23 15:35:48 -08:00
Livar
e546af19a2
Merge pull request #4831 from phenning/updateWeb
...
Update Web Template from Template repo
2016-11-23 15:29:20 -08:00
Krzysztof Wicher
592af9dd61
Extract error messages to separate class
2016-11-23 10:41:30 -08:00
Phil Henning
14445b936e
Remove Exclude from Compile/Embeddedresource
2016-11-23 10:16:44 -08:00
Phil Henning
45b817a953
Update Web Template from Template repo
2016-11-23 10:03:53 -08:00
Jeff Kluge
2205a8577c
Move project.lock.json during migration
...
Closes #4753
2016-11-23 09:46:36 -08:00
Krzysztof Wicher
3fc0517cda
update dotnet --help text
2016-11-22 14:48:40 -08:00
Krzysztof Wicher
b8b7d98256
last touches
2016-11-22 14:46:33 -08:00
Krzysztof Wicher
58fe57e315
Lock on spec - all tests passing on Windows
2016-11-22 14:46:32 -08:00
Krzysztof Wicher
19dde128ba
detect non-existing references and tiny refactor of tests
2016-11-22 14:46:32 -08:00
Krzysztof Wicher
8e5ffaf176
fix some of the stuff in the feedback
2016-11-22 14:46:32 -08:00
Krzysztof Wicher
5d1deeeea1
test project - almost finished - not all review changes included
2016-11-22 14:46:32 -08:00
Krzysztof Wicher
8416085b3a
Add test assets for testing and tiny bugfix
2016-11-22 14:45:29 -08:00
Krzysztof Wicher
7edcf556d7
remove currently unused code
2016-11-22 14:45:29 -08:00
Krzysztof Wicher
ca33d98531
add dotnet add p2p command
2016-11-22 14:45:29 -08:00
Krzysztof Wicher
e4ccc0ff9b
Add dotnet-add command
2016-11-22 14:45:29 -08:00
Krzysztof Wicher
c6bd3eeec6
rename command name to dotnet-add-p2p
2016-11-22 14:42:04 -08:00
Shannon
703863637e
removes old code refs to the msbuild extension usage
2016-11-22 14:42:04 -08:00
Shannon
f69eed98eb
Adds initial code for addingn and removing a package reference
2016-11-22 14:42:04 -08:00
William Li
98a3974557
Add the path to the dotnet being used to dotnet--info
...
Utilize ApplicationEnvironment.ApplicationBasePath of
DotNet.PlatformAbstractions
2016-11-20 10:29:23 -08:00
Scott Carlton
706b8a802d
Extract localizable strings from dotnet-run ( #4769 )
...
* Localization changes for dotnet-run
* Fixed LocalizableString to correctly be LocalizableStrings
* Localization changes for dotnet-restoreProjectJson
* Loclization changes for dotnet-restore command.
* Update Program.cs
2016-11-19 11:45:46 -08:00
Piotr Puszkiewicz
5fb561ee50
Merge pull request #4750 from mattscheffer/locWork
...
Extract Localizable strings from dotnet-build
2016-11-18 12:49:14 -08:00
dasMulli
09cb9bf607
Show migrate, nuget and msbuild commands in dotnet-help.
...
Also split the help text into commands and advanced commands sections
2016-11-17 19:11:41 +01:00
v-masche
b205bfdc02
Fixing the namespace to match the Program.cs in the same folder
2016-11-16 16:39:44 -08:00
v-masche
b0077f4f25
Adjusted ProjectArgumentDescription to be a single string rather than divided into two strings.
2016-11-16 14:57:57 -08:00
Piotr Puszkiewicz
d39ee4a463
add *.xproj.user to backup file types
2016-11-16 01:10:55 -08:00
Justin Goshi
be61afcfa5
Remove unused project.json and .xproj files ( #4735 )
...
* Remove unused project.json and .xproj files
* Update the test msi script
2016-11-15 16:12:19 -10:00
v-masche
3b8567248a
Extract localizable strings from dotnet-build
2016-11-15 17:12:26 -08:00
Krzysztof Wicher
7a3bc96f75
Fix 4508: CLI verbs that call into msbuild should control their output ( #4719 )
...
* Fix 4508: CLI verbs that call into msbuild should control their output
* fix failing tests + tiny bufix in dotnet test
2016-11-15 11:56:39 -08:00
Piotr Puszkiewicz
b354e1a3c6
Eliminate imports from CLI, where possible ( #4673 )
...
* Remove imports from dotnet.dll
* Add back dotnet5.4 to dotnet.dll due to AppInsights
* dotnet-cli-build.csproj: OData
redist.csproj: AppInsights
2016-11-10 10:19:37 -08:00
Livar
a700604b93
Merge pull request #4654 from 333fred/fix-help-text
...
Cleaned up dotnet migrate help text
2016-11-08 21:05:21 -08:00
Livar
312559ccdc
Merge pull request #4636 from Faizan2304/xunitTemplateFix
...
Update version of xunit adapter in test assets and xunit template
2016-11-08 14:42:47 -08:00
Fredric Silberberg
660417aaed
Cleaned up help text. Fixes #4653 .
2016-11-08 14:39:19 -08:00
Livar Cunha
c7841909fd
Updating the CLI versino to preview4.
2016-11-07 10:39:59 -08:00
Faizan Ahmad
f3cffa0bf4
Update version of xunit adapter and runner
2016-11-07 14:50:08 +05:30
Piotr Puszkiewicz
cb7c9360b7
Bump mstest template
2016-11-04 10:35:54 -07:00
Piotr Puszkiewicz
24596b23ae
02->2
2016-11-04 10:30:00 -07:00
Piotr Puszkiewicz
6e5527ba4c
Final Version Numbers
2016-11-04 10:09:22 -07:00
seancpeters
d1e0d2bde3
Removed Project_Readme from CSharp_Web ( #4617 )
...
* Removed Project_Readme from CSharp_Web
Added the package fallback target to CSharp_Web
* Added the $if$ i missed when I copy-pasted.
* Removed the if-else
2016-11-03 23:03:29 -07:00
seancpeters
40c34f891a
Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions ( #4585 )
...
* Updating the Microsoft.Net.Sdk & Microsoft.Net.Sdk.Web versions
* Fixed merge conflicts. Had to re-update the Sdk version in one place.
* re-migrate dotnet.dll
* Revert Performance Test Projects
* Fix test test
* Add missing WithRuntime
* Disable failing test test
2016-11-03 22:12:33 -07:00
Livar Cunha
336e29075f
Adding MSTest to the exclusion list of project.json because some test projects still depend on it and they are build with pj stage0.
2016-11-03 17:05:20 -07:00
Justin Goshi
499579ddb8
Rename test templates for casing consistency ( #4587 )
2016-11-02 13:44:28 -10:00
Livar
14ad04a400
Merge pull request #4580 from jeffkl/telemetry
...
Some unit tests for MSBuild telemetry
2016-11-02 16:05:43 -07:00
Jeff Kluge
6a4d49e227
Remove quotes from /Logger argument because the argument escaper will do it for me
2016-11-02 15:19:21 -07:00
Jeff Kluge
29bd7bf27a
More line lengths
2016-11-02 13:09:50 -07:00
Jeff Kluge
a2d438288e
Reduce line lengths
2016-11-02 13:06:44 -07:00
Justin Goshi
d1772f6ed4
Add mstest support ( #4572 )
...
* Migrate: auto-injected dependencies should overwrite existing dependency version if present
* WIP adding new mstest templates
* Auto-inject mstest dependencies when testrunner is set to mstest
* WIP trying to get new web test to work
* Get dotnet new -t Web test to pass
* Remove whitespace and accidentally added (redundant) tests
* Shorten test method name
2016-11-02 08:49:45 -10:00
Jeff Kluge
efa1cef866
Some more try...catches
2016-11-02 08:04:02 -07:00
Justin Goshi
3f7a21339f
Fix typo in dotnet test help message
2016-11-01 18:57:32 -07:00
Livar Cunha
9139c4006b
Fixing full framework tests
2016-11-01 00:31:21 -07:00
Livar Cunha
c2f60cede4
Updating the SDK to the latest.
2016-11-01 00:29:54 -07:00
Jeff Kluge
595a768e30
Custom logger for MSBuild to receive telemetry events ( #4551 )
...
* Upgrade MSBuild references to 15.1.0-preview-000370-00
* Custom logger for MSBuild to receive telemetry events
Had to make the telemetry session ID a static variable so that the forwarding app could use it.
I've tested this all manually and will be writing tests after everyone signs off on the implementation here.
2016-10-31 16:16:39 -07:00
Livar
5a621b53e2
Merge pull request #4540 from livarcocc/issue4492/migrateWeb
...
Issue4492/migrate web
2016-10-31 12:26:26 -07:00
Livar Cunha
b45a3ba698
Addressing code review comments by Adding an enum, renaming the PackageConstants and making the Sdk.Web version the same as the Sdk version.
2016-10-31 11:00:43 -07:00
Piotr Puszkiewicz
f53c51fc07
[WiP] enable /m by default ( #4543 )
...
* MSBuild integration project + refactoring
* Feature Complete
* Change default target to an existing one
2016-10-29 12:08:52 -07:00
Piotr Puszkiewicz
5ede3b6367
post migration cleanup ( #4449 )
...
* Create tests
* Basic scenario working & tested
* Feature Complete
* prevent build of intentionally broken test asset
* Update migrate command backup
* PR Feedback
* Move negative test to negative test directory
* Fix tests
* make test output directories unique
* Merge Conflict
* make backup the default behavior
* Pass2Fail
* Remove tests' PJ dependency
2016-10-29 01:58:37 -07:00
Justin Goshi
a4776a2b2c
Migrate src and tools to csproj ( #4538 )
...
Thanks for getting this in!
2016-10-29 01:04:20 -07:00
Livar
be8f2e212e
Merge pull request #4519 from livarcocc/whitespace
...
Adding whitespace to csproj and removing xml node from the beginning of it
2016-10-28 20:54:58 -07:00
Livar Cunha
3752264b8e
Pulling in the new msbuild based xunit template
2016-10-28 18:20:53 -07:00
Livar Cunha
59ac685dcd
Updating the msbuild version to one with the preserve compilation context fix.
2016-10-28 18:19:41 -07:00
Livar Cunha
9e49ec2723
Replacing DeepClone with a call that creates a copy of the project using the template csproj under a new ProjectCollection everytime.
2016-10-28 18:19:40 -07:00
Bryan Thornbury
c9f9421b93
preserve whitespace
2016-10-28 18:19:39 -07:00
Faizan Ahmad
a09690d8df
1) Added diag support
...
2) Added log in test which are failing in windows machine for framework net46
2016-10-28 20:15:38 +05:30
Piotr Puszkiewicz
6fcbefa4f7
[WIP] Removes *3 verbs, making msbuild the driver ( #4456 )
...
Removes *3 verbs, making msbuild the driver
2016-10-27 18:46:43 -07:00
Justin Goshi
68afda8e4d
Handle "runtimes" section ( #4503 )
...
* Migrate "runtimes" section as a RuntimeIdentifiers property in the resulting csproj file. Also do not call restore3 from publish3 anymore.
* Fix up the publish3 tests to call restore3 first and the csproj files to have RuntimeIdentifiers
2016-10-26 22:23:40 +00:00
Eric Erhardt
33ec55aee3
Fix dotnet run3 --project to pass the project to msbuild.
...
Also update Microsoft.NET.Sdk to 1.0.0-alpha-20161026-2 since this has the corresponding fix needed for https://github.com/dotnet/sdk/issues/301 .
2016-10-26 00:04:40 -05:00
Livar
f68670e13c
Merge pull request #4438 from jeffkl/restore
...
Reduce MSBuild verbosity for restore
2016-10-24 12:49:07 -07:00
Livar
501d575aeb
Merge pull request #4455 from livarcocc/update_sdk
...
Updating the SDK version to the latest.
2016-10-19 20:55:43 -07:00
Livar Cunha
368d7a19af
Updating the SDK version to the latest.
2016-10-19 16:21:54 -07:00
Livar Cunha
22bc479927
Updating msbuild to 15.1.319-preview5
2016-10-19 12:43:21 -07:00
Livar
b7ac730a7f
Merge pull request #4444 from livarcocc/update_templates
...
Updating the msbuild templates in the CLI to use TargetFramework
2016-10-18 17:39:03 -07:00
Livar Cunha
e2e72a9662
Updating the msbuild templates in the CLI to use TargetFramework (singular).
2016-10-18 15:02:35 -07:00
Livar Cunha
440871bad0
Removing -t msbuild, now that the default template is msbuild.
2016-10-18 10:35:04 -07:00
Jeff Kluge
c98b6cc412
Reduce MSBuild verbosity for restore
...
Remove the MSBuild logo
Set verbosity to minimal
2016-10-18 09:10:26 -07:00
Eric Erhardt
1b6502848e
Respond to PR feedback.
2016-10-17 21:03:09 -05:00
Eric Erhardt
cbeb5b9912
Report a meaningful error when trying to run a multi-TFM project.
...
Add `--no-build` option to `dotnet run3` since even incrementally building a project takes a non-trivial amount of time.
2016-10-17 21:00:58 -05:00
Piotr Puszkiewicz
cfcc97b3f0
Move Web template to csproj ( #4429 )
...
* Move Web template to csproj
* PR Feedback
* Updated template
2016-10-17 14:45:37 -07:00
Livar
6f62a8155c
Merge pull request #4395 from livarcocc/projectdependenciescommandresolver
...
Making Projectdependenciescommandresolver work with MSBuild
2016-10-17 10:45:47 -07:00
Eric Erhardt
c3ddbba163
Rename restore3 --recursive to --no-dependencies to match the build3 option.
2016-10-14 17:28:58 -05:00
Livar Cunha
318c9f3e44
Making ProjectDependenciesCommandResolver handle msbuild projects as well by using the ProjectFactory and IProject.
...
Moving the CommandResolution classes that depend on msbuild back into Cli.Utils.
Updating the src projects to a netstandard compatible with Cli.Utils moving to netstandard1.5
2016-10-14 12:56:18 -07:00
Justin Emgarten
bc82b16a01
Merge pull request #4406 from dotnet/emgarten/solutionRestore
...
Adding recursive restore and solution level restore
2016-10-14 11:18:24 -07:00
Piotr Puszkiewicz
02a19aff56
dotnet-new csproj templates ( #4382 )
...
Make csproj templates first-class in dotnet-new.
2016-10-14 00:06:35 -07:00
Justin Emgarten
fcdc23233e
Recursive restore and solution restore support
...
This change adds support for restoring solution files with msbuild /t:Restore and dotnet restore3.
Restoring a project file will now recursively restore all dependency projects to match build.
Fixes https://github.com/dotnet/cli/issues/4252
Related to: https://github.com/NuGet/Home/issues/2993
2016-10-13 19:18:02 -07:00
Faizan Ahmad
4dd685a45c
Addressed livar PR comment
2016-10-12 15:20:07 +05:30
Faizan Ahmad
391fff1f20
Merge branch 'rel/1.0.0' into clitest3verb
2016-10-12 11:57:46 +05:30
Justin Goshi
07418af874
Fixes #4293
...
https://github.com/dotnet/cli/issues/4293
2016-10-11 18:25:47 -10:00
Justin Goshi
59f2483fd3
https://github.com/dotnet/cli/issues/4293
...
Improve help text for commands that shell out to msbuild.
2016-10-11 17:29:09 -07:00
Eric Erhardt
b5329995d8
Merge branch 'rel'
2016-10-11 17:01:33 -05:00
Justin Goshi
19abf66412
Fixes issue #4313
...
Improve error messages for the migrate command
2016-10-11 10:58:49 -10:00
Livar
4780eb667b
Merge pull request #4374 from livarcocc/update_msbuild_to_316
...
Updating the MSBuild version to 15.1.316-preview5.
2016-10-11 11:40:17 -07:00
Piotr Puszkiewicz
28193c5f75
Merge pull request #4303 from dasMulli/feature/dotnet-clean-verb
...
Added clean3 verb for msbuild based projects.
2016-10-11 11:36:27 -07:00
Livar Cunha
7dec493a8a
Updating the MSBuild version to 15.1.316-preview5.
2016-10-11 10:35:40 -07:00
Eric Erhardt
edf2fc1f53
Merge pull request #4367 from eerhardt/NewSdk
...
Update Microsoft.NETCore.Sdk => Microsoft.NET.Sdk.
2016-10-10 20:31:58 -05:00
Justin Goshi
48ae5d17ac
Improve error messages for the migrate command
...
https://github.com/dotnet/cli/issues/4313
2016-10-10 15:38:25 -07:00
Eric Erhardt
eec324a844
Move all CLI libraries to be single-TFM targeting netstandard1.3 where possible.
...
Microsoft.Extensions.Testing.Abstractions is the only one I couldn't move to netstandard1.3 that should be. But this library should be removed with the new `dotnet test` strategy.
2016-10-10 15:57:08 -05:00
Eric Erhardt
633b56e448
Update Microsoft.NETCore.Sdk => Microsoft.NET.Sdk.
2016-10-10 14:04:30 -05:00
Livar Cunha
5ff4887dd1
Updating the msbuild dependencies to 15.1.313-preview5.
2016-10-10 09:55:30 -07:00
dasMulli
148319a3c2
Added clean3 verb for msbuild based projects.
2016-10-10 18:31:30 +02:00
Faizan Ahmad
23af21d7bb
Merge with rel/1.0.0
2016-10-10 15:29:35 +05:30
Bryan Thornbury
2727b191e3
Merge pull request #4310 from brthor/brthor/migrationreport
...
Migration Report
2016-10-07 11:01:06 -07:00
Livar Cunha
167470b1c9
Updating the SDK version, which we need to pick up the NuGetTargetMoniker fix.
2016-10-06 18:31:15 -07:00
Livar Cunha
6242db9b14
Moving msbuild dependencies to msbuild 15.
2016-10-06 17:29:07 -07:00
Bryan Thornbury
fbaf9a679e
Project Migration Report
2016-10-06 15:56:15 -07:00
Rohit Agrawal
28bd507f40
update nuget and sdk to 3.6.0-rc-1954 and 1.0.0-alpha-20161006-3 ( #4332 )
2016-10-06 09:35:58 -07:00
Faizan Ahmad
3f271e1215
Merge branch 'rel/1.0.0' into clitest3verb
2016-10-06 17:50:59 +05:30
Sridhar Periyasamy
c6064677db
Address PR feedback
2016-10-05 17:58:42 -07:00
Sridhar Periyasamy
1d85c241b1
Add support to migrate folders specified in global.json
2016-10-05 16:27:17 -07:00
Faizan Ahmad
a8e7df848b
Adding support for noBuild, output and framework.
2016-10-06 04:33:54 +05:30
Livar Cunha
bfc1f82d68
Fixing the tools item name in csproj. Nuget used a different one then was originally at the spec.
2016-10-05 15:27:30 -07:00
Fredric Silberberg
b2802cdf50
Added comment about updating in VS calls of dotnet migrate when cli args change.
2016-10-05 14:26:20 -07:00
Livar Cunha
465b32dab4
Addressing code review comments.
2016-10-05 11:51:59 -07:00
Livar Cunha
facbef52ff
Changing the code to read tools from csproj because the tools section in assets.json is no longer being populated.
2016-10-04 18:59:44 -07:00
Livar Cunha
1570e0fde4
Moving the ProjectToolsCommandResolver to dotnet out of Cli.Utils because of the dependency on Microsoft.Build. Also added a EndToEnd test for tools ref using the MSBuildTestApp.
2016-10-04 18:59:44 -07:00
Bryan Thornbury
7632cd3502
Merge pull request #4261 from brthor/brthor/packageref
...
PackageReference Migration
2016-10-04 14:42:43 -07:00
Faizan Ahmad
579df78466
- Implementation of test3 verb for single TragetFramework
...
- E2E test for test3 verb.
2016-10-04 15:37:36 +05:30
Bryan Thornbury
adff632929
green
2016-10-03 20:10:09 -07:00
Eric Erhardt
5055935008
Merging rel/1.0.0-preview2 into rel/1.0.0.
2016-10-03 14:47:24 -05:00
Eric Erhardt
a7366f5864
Add support for publishing self-contained applications.
...
Fix #4204
2016-10-03 09:23:00 -05:00
Livar Cunha
5f3da6428d
Testing out a theory that setting the output path will solve this problem.
2016-09-30 15:52:22 -07:00
Livar Cunha
27b5abfc36
Trying out with the latest SDK.
2016-09-30 12:03:03 -07:00
Eric Erhardt
283bf7139e
Changing the rules on when to use the CLI's BuildRid.
...
Use the CLI's BuildRid when the current machine is not supported by the shared framework.
2016-09-30 12:00:37 -05:00