Daniel Plaisted
60e5fabde2
Update tool tests to target netcoreapp2.1
2017-08-18 18:07:14 -07:00
Daniel Plaisted
dc4046ca7e
Update test code to use netcoreapp2.1
2017-08-18 15:36:01 -07:00
Mikkel Nylander Bundgaard
44d25ae3af
Add test for commands without doclink
2017-08-17 15:01:31 -07:00
John Doe
8fc8a03081
typo
2017-08-14 21:26:49 -07:00
William Li
1fa454bda4
Ingest new version Aspnet store
...
Change the url and name accordingly for the name naming convention
2017-08-14 16:05:22 -07:00
Livar
96b122e26f
Merge branch 'master' into merges/release/2.0.0-to-master-20170731-070024
2017-07-31 11:00:18 -07:00
Livar
54377abbec
Merge pull request #7292 from dotnet/stevesa/update-spa-templates-to-1.0.417
...
Update spa templates to 1.0.417
2017-07-27 11:26:40 -07:00
William Li
081f208942
Add telemetry data points for .NET Core 2.0
2017-07-27 09:55:40 -07:00
Steve Sanderson
f08bdbdf89
Remove template test workaround because it's no longer needed
2017-07-27 15:16:52 +01:00
Livar Cunha
015af46c99
Fixing a test that fails due to a race condition, because the .dotnet folder might not have been created yet.
2017-07-26 13:22:31 -07:00
Livar Cunha
20f0dac6b2
Making a change that will cause the first run notice to always show up in the first run of the CLI, even when it is installed by native installers.
2017-07-25 22:33:54 -07:00
Livar
58c580dbcc
Merge pull request #7201 from dotnet/merges/release/2.0.0-to-master-20170720-070024
...
Merge release/2.0.0 to master
2017-07-20 11:53:12 -07:00
Nick Guerrera
a1c423c0f6
Honor UI language override in test runs
...
Also fix some incorrect unlocalized test expectations that slipped in.
2017-07-18 22:03:31 -07:00
Livar
a04273474e
Merge branch 'master' into merges/release/2.0.0-to-master-20170712-070028
2017-07-12 14:28:17 -07:00
Mike Lorbetske
ea467db3af
Update test to pass --no-restore to templates
2017-07-10 16:27:54 -07:00
Livar Cunha
9a1e39f083
Fix wrong number of parameters passed to test when doing the merge.
2017-07-10 10:57:28 -07:00
Livar Cunha
8c45238a1f
Merge remote-tracking branch 'dotnet/rel/1.1.0' into merges/rel/1.1.0-to-release/2.0.0-20170710-070025
...
* dotnet/rel/1.1.0:
Enable VB dotnet new test cases
Fix fedora.23 dockerfile
Updating the ReadMe: "rel-1.0.1" to "rel-1.1.0"
Update Roslyn to 2.3.0-beta4-61830-03
update nuget to 4.3.0-preview4-4258
2017-07-10 09:52:28 -07:00
Tom Meschter
5a37290f24
Merge pull request #7112 from dotnet/merges/release/2.0.0-to-master-20170710-070027
...
Merge release/2.0.0 to master
2017-07-10 08:54:29 -07:00
Kevin Ransom (msft)
a81984aae7
Merge branch 'rel/1.1.0' into vbtests
2017-07-07 23:44:01 -07:00
Kevin Ransom
3b180f49ba
Enable VB dotnet new test cases
2017-07-07 23:38:20 -07:00
William Li
941c29c2be
Mark test windows only
2017-07-07 12:56:21 -07:00
William Li
191e3e3019
Installer Success Reporting for Windows
...
Issue https://github.com/dotnet/cli/issues/7091
Add internal command dotnet internal-reportinstallsuccess. Before
Windows installer finishes, run this command instead of dotnet new. It
will trigger the first time experience as well as sending telemetry with
installer exe name.
This command blocks to ensure that the webservice call completes.
2017-07-07 12:56:21 -07:00
Livar
7e1fe7eba7
Merge pull request #7095 from dotnet/merges/release/2.0.0-to-master-20170707-070029
...
Merge release/2.0.0 to master
2017-07-07 11:10:48 -07:00
Livar Cunha
2b15cb43cf
Adding a Minimum VS Defined SDK version to the resolver. If it set to 1.0.4 if the minimum SDK version file is not found.
2017-07-05 09:54:46 -07:00
Livar
f5c677c37a
Merge branch 'master' into merges/release/2.0.0-to-master-20170703-070031
2017-07-03 09:39:32 -07:00
Livar
20023717b5
Merge pull request #7048 from livarcocc/fix_help_message
...
Fixing help text for version, info and diagnostics and also removing …
2017-06-30 15:54:40 -07:00
Livar Cunha
3ec572f824
Fixing help text for version, info and diagnostics and also removing runtime options that are only available for dotnet exec.
2017-06-30 13:19:52 -07:00
Mike Lorbetske
0dd4f123d2
Update Template Engine and templates for 1.x
2017-06-29 19:09:54 -07:00
Livar
57dd81e842
Merge pull request #7025 from dotnet/merges/release/2.0.0-to-master-20170629-070032
...
Merge release/2.0.0 to master
2017-06-29 14:34:24 -07:00
Mike Lorbetske
d8087d35d4
Update engine and templates, update to SetupCrossgen 224 - Coherence 25975
2017-06-29 10:16:02 -07:00
Livar
5c67b11d62
Merge pull request #7014 from dotnet/merges/release/2.0.0-to-master-20170628-070032
...
Merge release/2.0.0 to master
2017-06-28 10:29:31 -07:00
Nick Guerrera
9b77dc50f1
Redirect parser to localized validation messages
2017-06-27 15:49:00 -07:00
Livar Cunha
a5aba4929a
Merge remote-tracking branch 'dotnet/release/2.0.0' into merges/release/2.0.0-to-master-20170627-070029
...
* dotnet/release/2.0.0: (27 commits)
Updating the runtime to pick up the satellite assembly host fix.
Fixing some merges from release/2.0.0-preview2.
Create the Dotnet User Profile folder when running the first experience, if the folder does not exist, if will fail the first run because it will fail to create the first notice sentinel.
Add F# and Roslyn satellites
Fix tests expecting unlocalized messages from dotnet/sdk
Generating a layout folder with the satellite assemblies only which we use to generate a language pack tarball/zip. Initially, I wanted a IncludeOnlyFilter, but couldn't quite get that to work on tar, just passing the filter in the command line didn't work because the shell does not do recursive globbing. So, I opted for the layout folder.
Update SPA templates version to 1.0.0-preview-000321
Fix dotnet/sdk#1364
Add rhel and Debian download link
Exclude satellite assemblies from archive.
Remove failed workaround for Microsoft.Composition warning
Update templates to add missing BrowserLink package
Update to SetupCrossgen 215 - Coherence 25794
Update templates to suppress the warning for Microsoft.Composition and AssetTargetFallback
Add explicit dependency for pakcage smoke test
Update templates to remove the package NETStandard.Library.NETFramework
Update F# compiler to latest
Update to SetupCrossgen 213 - Coherence 25769
Pinning to the dotnet-install to version '2.0.0-preview2-006470'
Updating branch/channel information.
...
2017-06-27 14:53:41 -07:00
Nick Guerrera
a115df9543
Adjust help message test expectations to match new parser
2017-06-27 10:03:54 -07:00
Livar
7af62e423e
Merge pull request #6999 from livarcocc/first_run_sentinel_when_no_dotnet_folder_exists
...
Create the Dotnet User Profile folder when running the first experience
2017-06-26 12:53:02 -07:00
Livar
eeddfb6ea1
Merge pull request #7001 from dotnet/merges/release/2.0.0-to-master-20170626-070030
...
Merge release/2.0.0 to master
2017-06-26 11:25:58 -07:00
Nick Guerrera
b8a2ce4e8c
Merge pull request #6997 from nguerrera/loc-compilers
...
Add F# and Roslyn satellites
2017-06-26 11:10:49 -07:00
Livar Cunha
cd984f5b50
Create the Dotnet User Profile folder when running the first experience, if the folder does not exist, if will fail the first run because it will fail to create the first notice sentinel.
2017-06-24 22:59:35 -07:00
Nick Guerrera
162d620038
Fix tests expecting unlocalized messages from dotnet/sdk
2017-06-23 19:48:07 -07:00
William Li
10d59cd982
Merge branch 'master' into merges/release/2.0.0-to-master-20170623-070040
2017-06-23 11:32:24 -07:00
Livar Cunha
37f531be4c
Handling an exception that happens when dotnet run is invoked with a file that is not a valid project file. We catch that exception and re-throw it as a GracefulException.
2017-06-23 10:47:09 -07:00
Nick Guerrera
1ad0e4dffa
Merge pull request #6974 from nguerrera/msbuild-satellites
...
Add msbuild satellite assemblies
2017-06-21 18:03:25 -07:00
Nick Guerrera
74acc40036
Add msbuild satellite assemblies
2017-06-21 13:34:16 -07:00
Nick Guerrera
6b0cd0e52f
Make configurer unit tests pass on localized setup
2017-06-21 12:44:34 -07:00
Nick Guerrera
1661fd0975
Merge pull request #6961 from nguerrera/loc-tests
...
Make remaining tests pass on localized setup
2017-06-21 10:42:01 -07:00
Livar Cunha
5cab325335
Merge remote-tracking branch 'dotnet/release/2.0.0' into merges/release/2.0.0-to-master-20170621-070039
...
* dotnet/release/2.0.0: (35 commits)
Fixing an issue in the RepoDirectoriesProvider where it assumed that the only directory under SDK was the SDK directories. This is no longer true now that we moved the NuGet fallback folder there.
Simple clean up to the store tests
Updating xlf files for the Configurer.
Removing NuGetConfig from the first run experience and replacing the sentinel with the FirstUseNoticeSentinel when needed.
Moving the expanding fallback folder to the dotnet folder hive. The folder will be expanded at sdk/NuGetFallbackFolder.
Fixing CRLF issue.
Updating xlf and fixing line ending problems with one file.
Add rhel and Debian download link
Fix race in telemetry msbuild arg tests
Avoid repeating the first-run message if lzma archive is missing
Use fluent helper for line-end normalization
Update CoreSetup to preview3-25419-01
Updating Roslyn to 2.3.0-beta3-61816-04
Update CoreSetup to preview3-25418-01
insert new tpv2 which fixes following issue https://github.com/Microsoft/vstest/issues/632 https://github.com/Microsoft/vstest/issues/844 https://github.com/Microsoft/vstest/issues/847 https://github.com/Microsoft/vstest/issues/840 https://github.com/Microsoft/vstest/issues/843
Windows installer refresh
Update SDK to 1.1.0-alpha-20170615-3
Updating NuGet to 4.3.0-preview3-4168
MSBuild 15.3.388
Make dotnet-sln-add.Tests pass on localized setup
...
2017-06-21 08:51:19 -07:00
Parallels
235482b8da
Fixing an issue in the RepoDirectoriesProvider where it assumed that the only directory under SDK was the SDK directories. This is no longer true now that we moved the NuGet fallback folder there.
2017-06-20 22:05:44 -07:00
Nick Guerrera
b922d7e550
Make dotnet-remove-reference tests pass on localized setup
2017-06-20 18:45:36 -07:00
Nick Guerrera
273dea9371
Make dotnet-list-reference tests pass on localized setup
2017-06-20 17:57:32 -07:00
Nick Guerrera
20e0a46e59
Make dotnet-add-reference tests pass on localized setup
2017-06-20 16:16:38 -07:00
Livar
1792723623
Merge pull request #6955 from livarcocc/fallback_folder_in_dotnet_hive
...
Move the NuGet fallback folder into the dotnet hive
2017-06-20 15:51:39 -07:00
Eric Erhardt
a356fca39a
Simple clean up to the store tests
...
Align class name with file name.
miscellaneous code clean up
2017-06-20 15:19:51 -05:00
Livar Cunha
a357fd7bca
Removing NuGetConfig from the first run experience and replacing the sentinel with the FirstUseNoticeSentinel when needed.
2017-06-20 10:59:23 -07:00
Livar Cunha
529d7caa79
Moving the expanding fallback folder to the dotnet folder hive. The folder will be expanded at sdk/NuGetFallbackFolder.
2017-06-20 10:59:23 -07:00
Livar
f6f96e334b
Merge pull request #6869 from omajid/missing-lzma-repated-first-run-message
...
Avoid repeating the first-run message if lzma archive is missing
2017-06-19 20:50:59 -07:00
Nick Guerrera
3de5eb96c2
Fix race in telemetry msbuild arg tests
2017-06-19 15:35:22 -07:00
Omair Majid
34b44b999b
Avoid repeating the first-run message if lzma archive is missing
...
If the LZMA archive is missing, the first-run message is printed every time.
This commit fixes that.
Split the first-run message into two pieces:
- The first-run (welcome and telemetry) message is printed only once, no matter
whether the cache was primed or not.
- The cache-priming message is printed only if the cache is avaialble.
Otherwise skip the cache introduction and the ccache priming operation.
2017-06-19 18:08:05 -04:00
Nick Guerrera
62c3798679
Use fluent helper for line-end normalization
2017-06-19 11:54:42 -07:00
Ashley Hauck
ca848eddd3
Detect git worktrees correctly
...
Git worktrees are represented as a file named .git, with contents that
look like:
gitdir: E:/cli/.git/worktrees/cli2
2017-06-19 10:57:38 -07:00
Nick Guerrera
11967b7d9c
Merge branch 'release/2.0.0' into loc
2017-06-16 18:20:44 -07:00
Livar Cunha
0a4a0a082c
Updating the SDK. Mostly, had to change PackageTargetFallback to AssetTargetFallback.
2017-06-14 00:27:26 -07:00
Nick Guerrera
8754fa4e68
Make dotnet-sln-add.Tests pass on localized setup
2017-06-13 21:58:03 -07:00
Nick Guerrera
5da3bfdd6a
Make dotnet-sln-list.Tests pass on localized setup
2017-06-13 21:13:47 -07:00
Nick Guerrera
50c68c4f5e
Make dotnet-remove-package.Tests pass on localized setup
2017-06-13 20:38:15 -07:00
Nick Guerrera
2b74bf73dc
Make dotnet-add-package.Tests pass on localized setup
2017-06-13 20:29:44 -07:00
Nick Guerrera
3e827fca61
Make dotnet-sln-remove.Tests pass on localized setup
2017-06-13 20:22:27 -07:00
Livar Cunha
5e5b4de0b9
Do no pass down to implicit restore the framework option.
2017-06-13 19:25:23 -07:00
Nick Guerrera
419562ba95
Make dotnet-help.Tests pass on localized setup
2017-06-13 19:24:30 -07:00
Nick Guerrera
6e0cfa7839
Make dotnet-msbuild.Tests pass on localized setup
2017-06-13 19:05:16 -07:00
Nick Guerrera
38e5b7123a
Make Sln.Internal.Tests pass on localized setup
2017-06-13 18:22:41 -07:00
Nick Guerrera
981e3ae19c
Made dotnet-(vs)test.Tests pass on localized setup
2017-06-12 18:32:31 -07:00
Nick Guerrera
023acbd212
Make Microsoft.Dotnet.Cli.Utils.Tests pass on localized setup
2017-06-12 18:32:07 -07:00
Nick Guerrera
f09124fcd6
Make dotnet.Tests pass on localized setup
2017-06-12 17:31:40 -07:00
Livar
3ea6a6e672
Merge pull request #6816 from enricosada/fsharp_e2e
...
add more f# tests
2017-06-11 18:59:18 -07:00
Enrico Sada
00eadc6e8f
test pack command
2017-06-09 23:09:21 +02:00
Enrico Sada
56d03c10e6
reenable smoke test of F# templates
2017-06-09 20:07:33 +02:00
Daniel Plaisted
6b44f8938b
Merge upstream changes
2017-06-09 00:43:29 -07:00
Daniel Plaisted
c19ff8cc13
Add test for consuming .NET Standard 2.0 library from .NET Framework 4.6.1 project
2017-06-08 15:40:22 -07:00
Livar Cunha
3231295acf
Fixing a bug in the restore option where specifying verbosity through /v was not entirely honored.
...
Adding tests for implicit restore for all the affected commands.
Fixing an issue where the command target was being passed to the restore command during implicit restore.
Adding restore params to all commands with implicit restore. Also, implicitly set the restore output to quiet.
Adding tests for the no-restore option.
2017-06-07 17:41:30 -07:00
Steve Sanderson
7e0747ec89
Bundle SPA templates package
2017-06-06 11:11:34 +01:00
Kevin Ransom (msft)
ac3ed6fbe6
Merge pull request #6743 from KevinRansom/release/2.0.0
...
This updates the F# compiler to the latest nuget published build.
2017-06-05 12:00:43 -07:00
Mike Lorbetske
093c8ecfca
Update to SetupCrossgen 142 - Coherence 25368, add support for timestamped stores for the MSI
2017-06-02 13:57:08 -07:00
Livar
4fe8fc2faf
Merge branch 'release/2.0.0' into release/2.0.0
2017-06-02 09:57:16 -07:00
Eric Erhardt
c45dd3bf82
Fix dotnet store tests for new error message.
2017-06-02 10:19:59 -05:00
Livar
6d84f6db77
Fixing test failure.
...
NuGet changed how they display the error message.
2017-06-01 21:32:20 -07:00
Livar
718b049ae9
Fixing test failure.
...
NuGet changed how they display the error message.
2017-06-01 21:31:14 -07:00
Kevin Ransom
2cfad18b0b
This updates the F# compiler to the latest nuget published build.
2017-06-01 17:38:20 -07:00
Livar
413fa23eee
Merge pull request #6731 from livarcocc/merge_rel_110
...
Merge rel/1.1.0 into release/2.0.0
2017-06-01 11:54:16 -07:00
Livar Cunha
f4bb13acaa
Merge branch 'rel/1.1.0' into merge_rel_110
...
* rel/1.1.0: (41 commits)
Updating the Sdk to one that includes the error surfacing work.
Update NuGet to 4.3.0-preview2-4082
Update NuGet to 4.3.0-preview1-4081 and SDK to corresponding 1.1.0 based version
Updating MSBuild to 15.3.0-preview-000246-05 to match VS.
Updating the global.json creation to use the IFile interface and adding a unit test to cover it.
Making restore use a config file so that it does not use fallback folders that may exist in the machine.
Dropping a global.json when running the first run experience with a version that matches the version of the CLI being used in the command that triggered the first run.
Updating the websdk version for 1.0
Trying to fix the opensuse42 test failure, where we tried to invoke a tool that target 1.0.4 where the 1.0 runtime is not available.
Pinning the stage0 to the last build out of rel/1.0.1 and adding a project to download 1.0 dependencies for test assets.
Updating the branding to rel/1.1.0
Dummy commit.
Adding the access token to the lzma url.
Dummy change to force a build.
Reverting the msbuild version to the release version.
Adding the web feed to nuget.config, as some packages failed to mirror and we need a build ASAP.
Updating the msbuild, SDK and Web SDK versions.
Dummy commit to kick off the build.
the FSharp.NET.Sdk version `-bundled` contains only the Sdk dir
bump f# sdk package version
...
2017-06-01 09:43:31 -07:00
mlorbetske
55953f05e3
Shorten names a bit more, make project names match folder names
2017-05-31 14:07:34 -07:00
mlorbetske
ddde45f345
Shorten test project names
2017-05-31 11:48:01 -07:00
mlorbetske
452e642ac7
Make errors more specific, add support for setting the launch URL for ASP.NET apps
2017-05-30 22:42:46 -07:00
Mike Lorbetske
0243354355
Ad tests, fix issue where profile not found isn't an error
2017-05-30 22:42:46 -07:00
Livar
6db5ff4638
Merge pull request #6690 from livarcocc/fix_verbosity_option_in_help
...
Changing verbose to verbosity in the help options
2017-05-30 14:53:58 -07:00
jbeisner
cd0ec6abd3
Merge pull request #6713 from johnbeisner/ScriptRename
...
.NET Core 2+ Naming and Versioning; Install scripts
2017-05-30 14:49:54 -07:00
Livar Cunha
c27b89dfd4
Changing verbose to verbosity in the help options to match what we actually use.
2017-05-30 13:05:38 -07:00
Livar
5a47e7db07
Merge pull request #6701 from nguerrera/resolver-fix
...
Allow resolution of SDKs without minimum msbuild version file
2017-05-27 10:02:56 -07:00
John Beisner
b48b7d2ea0
.NET Core 2+ Naming and Versioning
...
New file name structure for the runtime and the CLI
per: https://github.com/dotnet/designs/issues/2
The renaming of assets, therefore the dotnet installation scripts must change to accommodate.
Trivial:
"Write-Host" should be "Write-Output"
2017-05-26 15:46:56 -07:00
Nick Guerrera
7c8bf26eaf
Allow resolution of SDKs without minimum msbuild version file
2017-05-26 15:06:55 -07:00
Livar Cunha
8b07dfa149
Adding the runtime identifier option to dotnet clean.
2017-05-25 12:29:51 -07:00
Livar Cunha
db68d4505e
Pinning the MSBuild Minimum version to 15.3.0.
2017-05-24 19:28:26 -07:00
Livar Cunha
1a117568fe
Addressing code review comments by comparing the versions differently and by changing the name of SDK to .NET Core SDK.
2017-05-24 18:00:05 -07:00
Livar Cunha
75eac0c92b
Moving version validation to only when a SDK is not overriden. Also adding a validation for the minimum MSBuild version.
2017-05-24 18:00:05 -07:00
Livar Cunha
a692cb89f3
Fixing the tests to handle the extra tests added by the min version change.
2017-05-23 23:19:56 -07:00
Livar Cunha
79a817bbc7
Fixing windows build and addressing code review comments.
2017-05-23 22:49:52 -07:00
Livar Cunha
5b3cd63198
Changing the resolver so that it will search for dotnet in the PATH instead of hard coded program files.
2017-05-23 22:49:52 -07:00
Livar
96ff9a3223
Merge pull request #6646 from livarcocc/min_version_resolver
...
Add a min version check to the resolver
2017-05-23 22:17:42 -07:00
Livar Cunha
3539fb2a77
Disabling net461 tests for the resolver.
2017-05-23 15:59:31 -07:00
Livar Cunha
37267bf158
Addressing code review comments and trying to fix the windows break.
2017-05-22 21:26:44 -07:00
Livar
059e29b600
Merge pull request #6660 from rainersigwald/enable-vb-tests
...
Enable VB tests on all platforms
2017-05-22 12:15:28 -07:00
mlorbetske
0dd30b92d5
Update to SetupCrossGen 121 - Coherence 25102
2017-05-22 11:48:30 -07:00
Rainer Sigwald
a3dbfa47c9
Revert "Disabling the VB tests in non-windows platforms while MSBuild fixes a bug that we need for cross-plat."
...
This reverts commit a4c3e69c3c
.
This should work since 28e25657cb
picked
up the fix for Microsoft/msbuild#137 .
2017-05-22 13:06:34 -05:00
Livar Cunha
822b290bb6
Updating the global.json creation to use the IFile interface and adding a unit test to cover it.
2017-05-22 09:51:30 -07:00
Livar Cunha
f67a72d9c4
Making restore use a config file so that it does not use fallback folders that may exist in the machine.
2017-05-22 09:42:40 -07:00
Livar Cunha
a4213f78e0
Adding more tests for the min version check in the resolver.
2017-05-19 22:40:11 -07:00
Livar Cunha
f61d1ffbb0
Adding a check for the min version in the CLI Resolver.
2017-05-19 21:42:05 -07:00
Livar
947c8daabc
Merge pull request #6462 from nguerrera/sdk-resolver-tests
...
Better sdk resolver test
2017-05-19 21:40:56 -07:00
Eric Erhardt
8c1dacbe23
Merge pull request #6631 from eerhardt/StoreOptions
...
Fix dotnet store options
2017-05-18 21:23:47 -05:00
William Li
88b2e06dd1
Merged host and SDK help
...
Change help according to https://github.com/dotnet/cli/issues/6215
2017-05-18 18:12:04 -07:00
Eric Erhardt
6ba3fbf5be
Fix tests now that --preserve-working-dir is no longer an option.
2017-05-18 19:36:28 -05:00
Livar
6647eddf24
Merge pull request #6627 from livarcocc/fix_restore_verbosity
...
Fixing restore so that it respects the verbosity param.
2017-05-18 15:39:05 -07:00
Livar Cunha
357fd3daf1
Fixing restore so that it respects the verbosity param. The problem was that ConsoleLoggerParameters was overwritting whatever was coming through the command line.
2017-05-18 14:13:01 -07:00
Livar Cunha
a4c3e69c3c
Disabling the VB tests in non-windows platforms while MSBuild fixes a bug that we need for cross-plat.
2017-05-18 10:09:36 -07:00
Livar Cunha
38fc8875f2
Enabling VB in the CLI.
...
Fixing the permissions for RunVbc.sh.
2017-05-17 22:16:22 -07:00
Livar
0401876ae0
Merge pull request #6594 from mikkelbu/error-message-when-missing-file-header-in-sln
...
Correct parsing of 'Format Version' header in sln files
2017-05-15 11:38:05 -07:00
Mikkel Nylander Bundgaard
65eced6dae
Fix failing tests due to changed exception message
2017-05-14 23:29:28 +02:00
Mikkel Nylander Bundgaard
80b293d4a6
Correct parsing of 'Format Version' header in sln files
...
Prior to this change the exception on line 138 could not
be thrown, as far as I can tell. The reason for this
is that`HeaderPrefix` contained a trailing space, and we
had verified that `line` (trimmed) started with
`HeaderPrefix`. Hence `line` must contain something more
than `HeaderPrefix` otherwise the tailing space would
have been removed, so the length of `line` could not be
less than or equal to the length of `HeaderPrefix`.
Added and changed tests to ensure that both exceptions
regarding `FormatVersion` are thrown.
Fixes #5978
2017-05-14 20:53:34 +02:00
Mikkel Nylander Bundgaard
05b0b64e55
Pass nologo to MSBuild in 'add package' command
...
Fixes #6534
2017-05-12 22:23:47 +02:00
Livar
256c9ce9b2
Merge pull request #6560 from livarcocc/fix_minor_help_issues
...
Fixes a few inconsistencies in the display for the dotnet restore -help command.
2017-05-11 10:14:32 -07:00
Livar
b6b45e570f
Merge pull request #6559 from livarcocc/merge_release_200_into_master
...
Merge release/2.0.0 into master
2017-05-10 17:13:36 -07:00
Livar Cunha
477f0f42d0
Fixes a few inconsistencies in the display for the dotnet restore -help command.
...
Fixing tests based on the new strings.
2017-05-10 13:25:59 -07:00
Livar
f40e85283d
Merge branch 'master' into merge_release_200_into_master
2017-05-10 12:49:25 -07:00
William Li
9392561fd5
Remove migrate tests
...
They are in cli-migrate repo now.
Keep only one of them to make sure migrate is correctly inserted
2017-05-10 12:48:53 -07:00
Eric Erhardt
3037fdd688
Merge pull request #6493 from chcosta/version-25303-01
...
Update Core-setup to 2.0.0-preview2-25303-01
2017-05-09 23:20:22 -05:00
Livar Cunha
b51920d212
Merge branch 'release/2.0.0' into merge_release_200_into_master
...
* release/2.0.0:
Fixing tests to look for 1.1.2.
Updating the backwards compatible runtime to 1.1.2.
Updating the SDK to one that carries updated versions of the implicit 1.0 versions.
Update to SetupCrossgen 92 - Coherence 24937
Update to SetupCrossgen 86 - Coherence 24920
Fix date on package version
Update templates to 222
Update SetupCrossgen to build 82
Update SetupCrossgen to build 80
Update SetupCrossgen to build 77
2017-05-09 20:51:32 -07:00
Livar Cunha
c25fdd833e
Fixing tests to look for 1.1.2.
2017-05-09 12:12:47 -07:00
Livar
760bdf8f75
Merge pull request #6530 from mikkelbu/gracefully-report-invalid-projects
...
Gracefully report invalid project when added via sln-add
2017-05-08 11:39:17 -07:00
Christopher Costa
49636ea608
Merge branch 'master' of https://github.com/dotnet/cli into version-25305-19
2017-05-06 12:17:03 -07:00
Mikkel Nylander Bundgaard
7a824fe737
Gracefully report invalid project in sln-add
...
Fixes #5900
2017-05-06 02:08:00 +02:00
Nick Guerrera
071789b33f
Merge branch 'release/2.0.0' into merge-release-2.0
2017-05-05 16:21:15 -07:00
Eric Erhardt
01c5f59bdb
Fix test to use case-insensitive search on DependencyContext library name.
2017-05-05 16:41:46 -05:00
Daniel Plaisted
8b13b3e579
Fall back to tools restored for .NET Core 1.x if they haven't been restored for .NET Core 2.0
2017-05-05 13:15:02 -07:00
Mike Lorbetske
17f522e66c
Update to no-timestamp packages and adjust feeds and cache accordingly
2017-05-05 01:44:24 -07:00
Mikkel Nylander Bundgaard
18d71a8471
Show help info when no or wrong arguments are given
...
Fixes #5383 , fixes #5384
2017-05-04 01:01:35 +02:00
Livar
52e3ad7f9a
Merge pull request #6487 from mlorbetske/dev/mlorbe/UpdateAspNetTo24801
...
Update ASP.NET to 24801 - SetupCrossgen build 56
2017-05-03 11:29:40 -07:00
Faizan2304
b90b191ef0
Insert Microsoft.TestPlatform.cli for update3 preview1 ( #6420 )
...
* Fix test issue failing with PathTooLongIssue
(cherry picked from commit 340254f7742201c74ed1a5c349bdca89113bd5dc)
* fix for issues:
1) https://github.com/Microsoft/vstest/issues/755
2) https://github.com/Microsoft/vstest/issues/687
3) https://github.com/Microsoft/vstest/issues/737
(cherry picked from commit 0e93b2a5d4734637538781fa5401ed81a31eea0f)
* use new version
* Update version
* Fix pathtoolong issue
* Fix test
2017-05-02 21:30:51 -07:00
Mike Lorbetske
dd827c5393
Update ASP.NET to 24801 - SetupCrossgen build 56
2017-05-02 21:04:50 -07:00
William Li
7154330432
Address code review
...
Use one version for cli migrate packages
as well as Nuget component packages
Rename CreateWithWith...
2017-05-02 13:26:46 -07:00
Nick Guerrera
f71ca5ea19
Downgrade to net461 to avoid missing reference assemblies in CI
2017-05-02 13:06:37 -07:00
Nick Guerrera
1ef1cc5e27
Simplify test hook
2017-05-02 13:06:37 -07:00
Nick Guerrera
38e42d280a
Add first proper unit test of sdk resolver
2017-05-02 13:06:37 -07:00
Nick Guerrera
3cd4472495
Add dependency to test framework
2017-05-02 13:06:37 -07:00
Livar Cunha
9387702b7a
Fixing the failing test by using a package that is not part of the asp.net runtime.
2017-05-02 12:37:29 -07:00
William Li
2ab4ac5454
Adjust for using cli-migrate package reference
...
Remove ProjectJsonMigration and its test from solution file
Change dependecy by package reference instead of project 2 project
Construct the sln and dotnet new with wrapper that is used in migrate
package
Add reference to Nuget ProjectModel etc since CrossGen need it and it
cannot automatically get the reference
2017-05-01 10:50:37 -07:00
William Li
093bf72c3c
Remove ProjectJson solution and its tests
...
It is moved to cli-migration repo
2017-05-01 08:27:02 -07:00
Livar Cunha
f983b804f8
Fixing a first run test that checks the version of the mvc package. It checked for 1.0.3 and 1.1.2 and it needs to check for 1.0.4 and 1.1.3 now.
2017-04-28 22:30:21 -07:00
Nick Guerrera
fa4fe3b2c6
Package MSBuild SDK resolver in VS insertion nupkg
2017-04-27 23:07:19 -07:00
Nick Guerrera
d26b41a0c3
Add msbuild sdk resolver
2017-04-27 23:07:18 -07:00
Daniel Plaisted
b6d9520ffc
Fix tests that require .NET Core 1.1
2017-04-27 15:48:48 -07:00
Daniel Plaisted
fa2a02ff0e
Add metadata to test specifying required shared framework
2017-04-27 13:52:48 -07:00
Daniel Plaisted
b972f8229e
Use backwards compatible runtimes for app throwing exception tests
2017-04-27 13:45:12 -07:00
Daniel Plaisted
af9a85fd3f
Disable multilevel lookup and fix tests that were depending on .NET Core 1.0 shared framework
2017-04-27 12:56:28 -07:00
Daniel Plaisted
cc9e942ede
Apply code review feedback
2017-04-27 09:30:40 -07:00
Daniel Plaisted
06c1cc5990
Update test tools that need conflict resolution on 2.0 to target 2.0
2017-04-27 09:30:39 -07:00
Daniel Plaisted
01d3895b24
Add tests for behavior of tools that target previous major version of shared framework
2017-04-27 09:30:39 -07:00
Daniel Plaisted
5c679cd32e
Test fixes for tools deps.json generation
2017-04-27 09:29:16 -07:00
Jon Sequeira
74af357f07
fix NullReferenceError on remove package and incorrect help text
2017-04-26 16:43:55 -07:00
Livar Cunha
de7c94592d
Updating the runtime framework versions for 1.0.5 and 1.1.1 and updating the CLI branding to 1.0.4.
2017-04-24 18:11:59 -07:00
Livar
4f6fbc4a7f
Merge pull request #6362 from mlorbetske/dev/mlorbe/Update20Templates
...
Update templates and engine, pin ASP.NET package versions, add web item templates
2017-04-22 12:00:08 -07:00
Mike Lorbetske
8227a6edac
Update templates, remove browserlink from checked packages
2017-04-21 22:10:57 -07:00
Mike Lorbetske
cc64d6cd6d
Re-enable tests as promised
2017-04-21 20:51:52 -07:00
Mike Lorbetske
4dd1be1978
Respond to review feedback
2017-04-21 20:51:52 -07:00
Mike Lorbetske
9ea9cbc8a6
Update templates and engine, pin ASP.NET package versions, add web item templates
2017-04-21 20:51:52 -07:00
Livar
78a138412f
Merge pull request #6368 from mlorbetske/dev/mlorbe/TemporarilyDisableMvcAndWebApiCreationTests
...
Temporarily disable mvc & web api creation tests
2017-04-20 17:22:39 -07:00
Mike Lorbetske
c751bc1b7c
Temporarily disable mvc & web api creation tests
2017-04-20 16:32:28 -07:00
Livar
3f82e11a91
Merge branch 'master' into tp-insert-0414
2017-04-18 21:06:17 -07:00
Livar
78868ad33a
Merge pull request #6320 from johnbeisner/CLI-backcompat-tests
...
Adding a CLI Test: Execute a 1.0 tool in a netcoreapp1.1 project
2017-04-17 10:05:40 -07:00
John Beisner
a8eb0d0f50
Changes per PR code review.
2017-04-17 09:27:25 -07:00
faahmad
b98dccb1f7
Fix tests
2017-04-17 07:31:03 -07:00
Livar
2a00911b1f
Merge pull request #6324 from eerhardt/Fix6244
...
Rename publish --target to --manifest.
2017-04-14 20:37:04 -07:00
Rama krishnan Raghupathy
0f51901180
Merge pull request #6315 from ramarag/upDateSdk_for_missing_runtime_Store
...
Updating SDk to 20170414
2017-04-14 16:25:33 -07:00
Rama Krishnan Raghupathy
bb4298ddc2
Updating SDk to 20170414
2017-04-14 14:55:01 -07:00
Eric Erhardt
bfab25c259
Rename publish --target to --manifest.
...
Fix #6244
2017-04-14 16:08:32 -05:00
John Beisner
c51221d2f1
Adding "RequiresSpecificFrameworkFact("netcoreapp1.0")" to the 'ItRunsABackwardsVersionedTool' CLI test.
2017-04-14 13:31:12 -07:00
John Beisner
f56306cc62
Adding a CLI Test: Execute a 1.0 tool in a netcoreapp1.1 project
...
https://github.com/dotnet/cli/issues/6229
2017-04-14 09:40:46 -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
Rama Krishnan Raghupathy
2f5673f953
moving dependecymodel and platformabstraction to preview1-001960
2017-04-11 17:00:50 -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
Mike Lorbetske
fc77d7e152
Update templates & engine, rename --skip-restore to --no-restore
2017-04-10 20:00:17 -07:00
Livar
0d57d7169f
Merge pull request #6284 from dotnet-bot/master-UpdateDependencies
...
Update CoreSetup to preview1-001957 (master)
2017-04-10 17:31:39 -07:00
Eric Erhardt
bfdba5df83
Update environment variable used in the latest host.
...
DOTNET_SHARED_PACKAGES => DOTNET_SHARED_STORE
2017-04-10 18:55:12 -05: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
88412b4689
Fixing the backwards compat test to use the stage2 with backwards compatible runtimes.
2017-04-08 00:32:34 -07:00
Livar Cunha
c8b042fd1b
Fixing the build.
2017-04-08 00:31:27 -07:00
Livar Cunha
e286c65d25
Removing Additional Framework entirely and renaming LegacyRuntime to something more appropriate: BackwardsCompatibleRuntimes. Also, turning off some tests that I forgot to turn off for linux-x64.
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
Livar
95a367136c
Merge pull request #6263 from johnbeisner/CLI-backcompat-tests
...
Adding backwards compat tests to the CLI test catalog.
2017-04-08 00:30:18 -07:00
Eric Erhardt
95ff3f9bf8
Fix tests for cache => store rename.
2017-04-07 15:51:37 -05:00
John Beisner
30b5518af3
Changes per code review from PR
2017-04-07 10:02:55 -07: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
John Beisner
9bfe67a8e8
Adding backwards compat tests to the CLI test catalog.
...
https://github.com/dotnet/cli/issues/6227
https://github.com/dotnet/cli/issues/6228
2017-04-06 11:58:19 -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
Eric Erhardt
7f389c9729
Split SelfContained test into two separate tests.
2017-04-04 11:24:51 -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
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
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
dee8725fd2
Fixed the failing windows tests by pointing to a NuGet.Config during restore. The issue there was that when NuGet finds a package in the fallback folder, it does not copy it to the packages folder when --packages is specified. Also, to avoid collateral changes during tests, set APPDATA env variable when running the first run experience tests.
2017-04-03 10:45:35 -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
Mike Lorbetske
4c2435eeb9
Update engine version, fix test
2017-03-27 23:46:40 -07:00
Mike Lorbetske
9bb88734ea
Update to template engine build 166 and updates to 2.0 templates
2017-03-27 17:46:32 -07: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
Nick Guerrera
c3a6999392
Skip flaky test
2017-03-24 13:14:07 -07:00
Livar Cunha
a4300cc069
Improving the test slightly by checking that it is finding the correct path to the tool dll.
2017-03-24 12:17:27 -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
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
Nick Guerrera
15f171a5d7
Add back extra test check on value of explicit version
2017-03-23 13:16:54 -07:00
Livar
960b3808ee
Merge pull request #6115 from jonsequitur/adaptive-help-spacing
...
Adaptive help spacing
2017-03-23 13:13:49 -07:00
Nick Guerrera
c00e84dd9b
Fix test issue vs. case sensitive file systems
2017-03-23 12:58:23 -07:00
Nick Guerrera
b4e21df424
Add test coverage for bundled version props
2017-03-23 12:20:52 -07:00
jonsequitur
149f292b6a
check for help in DotNetTopLevelCommandBase
2017-03-23 08:15:41 -07:00
jonsequitur
4a2c3932e7
new parser version, adjust column spacing in tests
2017-03-22 15:26:58 -07:00
jonsequitur
055523770a
update CliCommandLineParser version
2017-03-22 13:51:09 -07:00
jonsequitur
1b8b1d2b2c
use muxer path whenever invoking dotnet
2017-03-21 14:56:12 -07:00
jonsequitur
be86933ff8
use DotnetCommand instead of TestCommand
2017-03-21 14:55:56 -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
Eric Erhardt
5194735e27
Disable cli tool tests on linux-x64 that require netcoreapp1.1.
2017-03-20 21:39:15 -05:00
Jon Sequeira
3c90711938
remove console output
2017-03-20 13:45:37 -07:00
jonsequitur
899d19a001
remove comment
2017-03-20 10:32:14 -07:00
Eric Erhardt
bd58bcf03b
Disable F# tests on linux-x64.
...
linux-x64 only has .NET Core 2.0, but F# requires .NET Core 1.0 runtime.
2017-03-20 12:23:24 -05:00
Eric Erhardt
4fc2e8e19a
Read artifacts rid from BuildInfo.props
2017-03-20 12:23:24 -05: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
Jon Sequeira
800f19dfdc
use muxer in TestCommand
2017-03-19 20:28:38 -07:00
Jon Sequeira
1006b30f99
user muxer path in ArgumentForwardingTests
2017-03-19 19:16:27 -07:00
jonsequitur
c85492bd48
merge master
2017-03-19 17:09:05 -07:00
Jon Sequeira
43c13f2f53
move parse result validation to CommandBase to allow custom messages
2017-03-19 14:30:43 -07:00
Jon Sequeira
e0ca794ed5
compare effective rather than literal path
2017-03-19 13:02:34 -07:00
Livar Cunha
ec7c81ea84
Disabling intermittent test and fixing assets for windows only tests.
2017-03-17 20:32:52 -07:00
Livar Cunha
69ce37d1eb
Added a comment for the bug tracking enabling F# in the 2.0 CLI.
2017-03-17 20:32:51 -07:00
Livar Cunha
bb178a5133
Updated tests to the new appropriate TFM 1.1, since we need a shared runtime besides 2.0 in the new distros. Once we have vstest for 2.0 then we won't need it anymore.
2017-03-17 20:32:51 -07:00
jonsequitur
de6a4bd022
fix a few tests, revert one change
2017-03-16 23:15:45 -07:00
Jon Sequeira
4d4ebf9d3a
put colon back into logger parameter
2017-03-16 17:05:18 -07:00
jonsequitur
e5d7fb8236
change test's expected text
2017-03-16 13:34:12 -07:00
jonsequitur
973021b214
publish, cache, text fixes; rename ForwardAs and introduce ForwardAsMany
2017-03-16 13:22:08 -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
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
9d2d633d1c
Move remaining TestCommand("dotnet")
to DotnetCommand
2017-03-16 01:31:16 -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
13458b17c4
test fix
2017-03-15 19:57:03 -07:00
jonsequitur
0dc3661ed1
remove colon from logger option
2017-03-15 19:40:53 -07:00
jonsequitur
339b1435cb
fix OS-specific path in test
2017-03-15 19:25:05 -07:00
blackdwarf
f6ba5c4f34
Fixing failing test
2017-03-15 17:00:52 -07:00
Piotr Puszkiewicz
9d1adadb9d
Extra diagnostics
2017-03-15 15:17:37 -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
bbc2722cb7
loc spelling error and other fixes
2017-03-14 23:13:59 -07:00
Jon Sequeira
11270a436b
list command help text fix
2017-03-14 16:13:49 -07:00
Piotr Puszkiewicz
f318ac33f9
Unseal!
2017-03-14 14:22:11 -07:00
Piotr Puszkiewicz
fac34c7b3b
Move all test commands to DotNetCommand base
2017-03-14 14:07:51 -07:00
Piotr Puszkiewicz
cb52224272
Fix test using :
as option value separator
2017-03-14 13:54:11 -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
Jon Sequeira
ace4fe49f6
new CliCommandLine version
2017-03-13 16:01:58 -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
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
jonsequitur
ae01694167
Merge branch 'tab-completion' of https://github.com/jonsequitur/cli into tab-completion
2017-03-11 09:45:19 -08:00
Jon Sequeira
6e3a55e872
update CliCommandLine version
2017-03-10 18:21:58 -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
Piotr Puszkiewicz
3ff16d9b66
Merge remote-tracking branch 'jonsequitur/tab-completion' into tab-completion
2017-03-10 10:34:27 -08:00
Piotr Puszkiewicz
940dd6863a
move dotnet-run
2017-03-10 10:13:11 -08:00
Piotr Puszkiewicz
a751673172
Fix test bugs
2017-03-10 10:12:37 -08:00
Piotr Puszkiewicz
9a1483d3b6
Fix tests
2017-03-10 09:08:25 -08:00
Piotr Puszkiewicz
6429574fff
Fix verbosity tests
2017-03-10 01:08:07 -08:00
jonsequitur
58bf70a476
merge
2017-03-09 18:36:05 -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
1dc7309bec
Merge pull request #5985 from piotrpMSFT/piotrpMSFT/infra/TestInvokingCLI
...
Force integration tests to execute tests against invoking CLI, ignoring PATh
2017-03-09 14:49:23 -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
Piotr Puszkiewicz
b7ce0293a1
Remove duplicate diagnostics
2017-03-09 13:37:17 -08:00
Piotr Puszkiewicz
f6f43f6aa2
Find dotnet under tests from the dotnet executing the test
2017-03-09 13:31:04 -08:00
jonsequitur
ea308e9b59
temporarily skip extra args help text tests
2017-03-09 12:19:27 -08:00
Justin Goshi
3a58cac351
Linux portable builds currently do not run tests ( #5983 )
2017-03-09 10:06:22 -10: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
Jon Sequeira
fd6f7e48b5
WIP
2017-03-08 16:02:24 -08:00
Justin Goshi
dcb8881c02
Re-enable solution building tests
2017-03-08 11:33:27 -08:00
Livar
8df1812e7b
Merge pull request #5946 from dotnet/update-sdk
...
Update .NET SDK
2017-03-07 20:42:18 -08:00
Daniel Plaisted
53d837bfdb
Use Stage 2 dotnet in ArgumentForwardingTests
2017-03-07 17:44:12 -08:00
Jon Sequeira
30480fa189
restore:captures arguments for forwarding to MSBuild
2017-03-07 16:40:18 -08:00
Rama Krishnan Raghupathy
e40435920d
tests for cache taking multiple input files
2017-03-07 14:38:12 -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
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
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
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
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
5fe182e038
Merge issues
2017-03-03 00:36:11 -08:00
Piotr Puszkiewicz
e8d805ee1e
Merge remote-tracking branch 'refs/remotes/livarcocc/merge_rel101_into_master'
...
Conflicts:
TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
TestAssets/TestPackages/dotnet-desktop-and-portable/dotnet-desktop-and-portable.csproj
TestAssets/TestPackages/dotnet-portable/dotnet-portable.csproj
2017-03-02 23:50:15 -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
d20a1d4e2e
Fixing failing test.
2017-03-02 23:43:06 -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
bc5a53ed35
Fix excessive removals
2017-03-02 20:51: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
c56ef29300
Remove remaining unnecessary P2P's
2017-03-02 20:05:12 -08:00
Piotr Puszkiewicz
b62dd924f8
Version as Metadata in remaining test projects
2017-03-02 19:45:55 -08:00
Piotr Puszkiewicz
75c49aaf1e
Version as Metadata in dotnet-sln-add.Tests
2017-03-02 19:45:12 -08:00
Piotr Puszkiewicz
eb811e9a48
Version as Metadata in dotnet-sln-list.Tests
2017-03-02 19:44:49 -08:00
Piotr Puszkiewicz
20b9303e94
Version as Metadata in dotnet sln remove tests
2017-03-02 19:44:35 -08:00
Piotr Puszkiewicz
aeb93edca8
Version as Metadata in dotnet-test.Tests
2017-03-02 19:44:15 -08:00
Piotr Puszkiewicz
b1be2ab5c5
Version as Metadata in dotnet-vstest.Tests
2017-03-02 19:44:02 -08:00
Piotr Puszkiewicz
8f2e6b99bf
Version as Metadata in dotnet.Tests
2017-03-02 19:43:17 -08:00
Piotr Puszkiewicz
7fc2107abb
Version as Metadata in msbuild.IntegrationTests
2017-03-02 19:42:48 -08:00
Piotr Puszkiewicz
d20807b4c1
Version as metadata for dotnet-cache tests
2017-03-02 19:41:22 -08:00
Piotr Puszkiewicz
e9087b71ca
Remove unnecessary P2P's from dotnet-cache tests
2017-03-02 19:39:20 -08:00
Piotr Puszkiewicz
09959ab045
Version as Metadata for dotnet-build
2017-03-02 19:37:46 -08:00
Piotr Puszkiewicz
6de49cdd1c
Remove unnecessary P2P's from dotnet-build.Tests
2017-03-02 19:26:05 -08:00
Piotr Puszkiewicz
5e4be2b13e
Version as metadata AddRef tests
2017-03-02 19:25:20 -08:00
Piotr Puszkiewicz
c25b6a70b9
Remove Unecessary P2P references from addref tests
2017-03-02 19:23:50 -08:00
Piotr Puszkiewicz
40db9678be
Version As Attribute in Crossgen tests
2017-03-02 19:21:58 -08:00
Piotr Puszkiewicz
cd3a4aa82c
Crossgen tests remove unnecessary components
2017-03-02 19:19:51 -08:00
Piotr Puszkiewicz
5ca4eec393
ArgumentForwardingTests Version As Attribute
2017-03-02 19:19:35 -08:00
Piotr Puszkiewicz
6982db1a45
Remove unnecessary references from ArgumentForwarding tests
2017-03-02 19:13:58 -08:00
Piotr Puszkiewicz
6cf6c45f0e
Remove Performance Tests
2017-03-02 18:58:47 -08:00
Livar Cunha
23e39c10b7
Moving as many of our test assets to netcoreapp2.0 as possible. I believe the only ones missing at the test packages, because tools always target 1.0. And the other ones are VSTestDotNetCore and VSTestXUnitDotNetCore, because we can't run tests on 2.0 yet. Or, when I tried it failed. I may came back to try this out later.
2017-03-02 17:41:21 -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
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
3b04278b65
Shorten another Test Asset name
2017-02-28 13:11:34 -08:00
Piotr Puszkiewicz
5d6acc03d1
Fix long path
2017-02-28 11:58:06 -08:00
Piotr Puszkiewicz
e685a808a1
Fix reference in MSBuild Test Utilities
2017-02-28 01:04:14 -08:00
Unknown
c0faf492d8
Remove runtime specification in favor of implicit runtime
2017-02-27 23:21:16 -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 Cunha
151d2dca62
Disable migrate and publish web app with content because CI does not have NPM
...
Disabling new tests to unblock CI, they pass on local machine but fail in CI. Will investigate later.
2017-02-23 23:40:25 -08:00
Livar Cunha
a6165feec5
Adding an E2E test for pack with content during migration.
2017-02-23 23:07:38 -08:00
Livar
6d9137cf11
Merge branch 'rel/1.0.0' into migrate_content
2017-02-23 22:56:20 -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
Unknown
db2c5378cb
Remove runtime specification in favor of implicit runtime
2017-02-23 17:57:32 -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
Livar Cunha
24431edfa3
Fixing the origin versions of BrowserLink to migrate.
2017-02-22 20:11:53 -08:00
Livar Cunha
ef49240f78
Fixing failing test. I changed the version but forgot to update the test. Should have fixed the test first.
2017-02-22 20:11:46 -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
Eric Erhardt
8aaffc2238
Fix tests on netcoreapp1.1 only platforms
2017-02-22 21:34:21 -06:00
Krzysztof Wicher
de7587782e
remove dotnet test unit test stub
2017-02-22 17:41:20 -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
22bcf2cddc
add ForwardingApp unit tests
2017-02-22 13:44:06 -08:00
Piotr Puszkiewicz
cb98421950
Merge branch 'rel/1.0.0' into dev/mlorbe/UpdateTemplatePackages
2017-02-22 13:23:16 -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
Mike Lorbetske
0a242633ca
Use the curated feed with all the relevant ASP.NET packages
2017-02-22 11:29:34 -08:00
Krzysztof Wicher
099dca3950
stub for tests
2017-02-22 10:44:15 -08:00
Mike Lorbetske
7b4c064756
Correct version of the MVC package being looked for in tests
2017-02-21 20:16:34 -08:00
Piotr Puszkiewicz
3457f0894e
Merge branch 'rel/1.0.0' into dev/jgoshi/enableSolutionBuildTestsRel100
2017-02-21 20:02:20 -08:00
Mike Lorbetske
04f714c01f
Test fixes - update AspNetCore version being looked for, account for diasymreadernative showing up in output, account for new default of netcoreapp1.1 for console apps
2017-02-21 19:48:24 -08:00
Mike Lorbetske
2659a777b5
Fix tests by updating the temporary asp.net feeds
...
Revert change to feed ordering for normal nuget.config
2017-02-21 18:40:11 -08:00
Mike Lorbetske
0aa4e83cb8
Reorder feeds to prevent issue where a package with the same name and version has been rebuilt
...
Update package versions in tests
2017-02-21 17:10:53 -08:00
Mike Lorbetske
e145ca88e4
Placeholder for template update
2017-02-21 16:28:47 -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
Satya Madala
74086bec31
Merge branch 'tp-20170217' of https://github.com/smadala/cli into tp-20170217
2017-02-18 23:08:42 +05:30
Satya Madala
67142bfd5d
Set console-logger output to normal
2017-02-18 23:05:33 +05:30
Justin Goshi
aefdb22ae4
Shorten test folder name
2017-02-17 17:02:15 -08:00
Livar Cunha
b8a68ad2e0
No longer add runtime identifier when migrating apps that contain full framework and no runtime identifiers already.
2017-02-17 11:30:20 -08:00
Justin Goshi
aaa9fe2c1d
Re-enable solution building tests
2017-02-17 11:13:33 -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
e6578eeb14
split msbuildforwardingapp unit tests with build invocation
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
1b7d4e3200
split env var test
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
39feabd941
patterns for environmental variables
2017-02-16 14:22:02 -08:00
Krzysztof Wicher
27d358c884
add EOLs in the end of files
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
8ad8fe7e8e
complete dotnet-build invocation test cases
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
4edbcb06ee
misspelling of targeting
2017-02-16 16:10:19 -05:00
Piotr Puszkiewicz
dfde101b7c
Merge pull request #5610 from jonsequitur/NonWindowsFactAttribute
...
use WindowsOnlyTheory where appropriate, introduce NonWindowsOnlyFactAttribute
2017-02-16 11:06:41 -08:00
Piotr Puszkiewicz
d3d6bdebd1
Merge pull request #5618 from jonsequitur/remove-incorrect-localizations
...
Remove incorrect localizations
2017-02-16 11:05:36 -08:00
Krzysztof Wicher
6d4ef71083
fix newly added remainings of TestAssetsManager
2017-02-15 16:33:21 -08:00
Livar
47c16b271e
Merge branch 'rel/1.0.0' into ignore_case_tools
2017-02-15 15:35:53 -08:00
Krzysztof Wicher
a6bc22e499
Remove TAM ( #5670 )
...
* remove reference to TestAssetsManager in dotnet-add-reference
* remove TestAssetsManager dependency from dotnet-build
* remove TAM ref from dotnet-list-reference
* remove TAM dependency from dotnet-msbuild
* remove TAM dependency from ProjectJsonMigration tests
* remove TAM dependency from dotnet.Tests
* remove TAM dependency from dotnet-new.Tests
* remove TAM from dotnet-pack.Tests
* remove TAM from dotnet-publish.Tests
* remove TAM from dotnet-restore.Tests
* remove TAM dependency from dotnet-remove-reference.Tests
* remove TAM dependency from dotnet-run.Tests
* remove TAM dependency from dotnet-test.Tests
* remove TAM dependency from Microsoft.DotNet.Cli.Utils.Tests
* remove TAM from TestBase
* remove TAM
* remove newly introduced dependency on TAM
2017-02-15 15:35:03 -08:00
Livar
d1a844da2c
Merge branch 'rel/1.0.0' into dev/jgoshi/dotnetAddDefaultProjectTypeGuid
2017-02-15 14:10:10 -08:00
Livar Cunha
8d38a2a67f
Making the tool name comparison with the package case insensitive, so that tools are not required to be declared with the exact casing as the packages that contain them.
2017-02-15 11:33:59 -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
Livar Cunha
54464dda36
Updating the version test to check that dotnet --version uses the .version file instead of using a regular expression to validate the printed version.
2017-02-14 10:32:11 -08:00
Rama Krishnan Raghupathy
c20e106d75
Adding End to End test for cache and filtered publish
2017-02-13 17:56:25 -08:00
Livar
6ef4bdf4e2
Merge branch 'rel/1.0.0' into new_shared_framework_versions
2017-02-13 13:44:57 -08:00
jonsequitur
1a0adcbe5a
fix loc text dependent test
2017-02-13 13:35:41 -08:00
Piotr Puszkiewicz
a101c703a1
First try at refactor of Prepare.targets ( #5647 )
...
* First try at refactor of Prepare.targets
* Enable restore of CLI build tasks
* Fix up build
* Feedback
* Newlines
* Add new props to sln
* CommitCount
* NuGet.config
* WorkingDir
* packages dir path
* Add missing nuget.configs
* Workaround for https://github.com/NuGet/Home/issues/4583
* Match NuGet.Config casing
* Put back Version Badge Properties
* Remove duplicate
2017-02-13 13:06:30 -08:00
Livar Cunha
02c70abe49
Updating the version of the ASP.NET packages that we migrate to, to the RTM package versions.
2017-02-12 22:09:44 -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
Eric Erhardt
454dd10f8d
Update dotnet new to use the new 2.0 templates.
2017-02-09 10:18:39 -06:00
Justin Goshi
5e3f368338
Update the test
2017-02-08 14:26:14 -08:00
Eric Erhardt
546d62061a
Merge branch 'master' into rel100toMaster
2017-02-08 12:30:32 -06:00
Justin Goshi
50c10decf5
Migrate compilationOptions
2017-02-08 00:20:04 -08:00
jonsequitur
161b10d0d0
WIP
2017-02-07 10:08:14 -08:00
Piotr Puszkiewicz
b0a5d53ed5
Merge rel/1.0.0 to master
2017-02-06 12:43:57 -08:00
Eric Erhardt
e947baaa17
Update Microsoft.NETCore.App to 2.0.0-beta-001507-00.
...
Use the crossgen and jit that comes with Microsoft.NETCore.App so we don't have to keep a corresponding CoreCLR version around.
Remove workarounds for crossgen bug https://github.com/dotnet/coreclr/issues/9118
2017-02-06 14:37:39 -06:00
jonsequitur
182c695275
throw CommandParsingException rather than crash on missing single value
2017-02-03 10:57:57 -08:00
Eric Erhardt
a2c1a39d07
Fix projects and tests after merge of rel/1.0.0.
2017-02-01 18:35:52 -06:00
Livar
408a0afe8e
Merge branch 'rel/1.0.0' into wrong_global_json_folders
2017-02-01 15:53:10 -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
Livar
1af25e0fd9
Merge branch 'rel/1.0.0' into wrong_global_json_folders
2017-02-01 14:07:57 -08:00
Justin Goshi
3e07297525
Migration: Remove System.GC.Server from runtimeconfig.template.json and inject ServerGarbageCollection property into the csproj ( #5537 )
...
* Remove runtimeconfig.template.json from templates
* Inject ServerGarbageCollection property
2017-02-01 14:05:53 -08:00
Eric Erhardt
9f0bb778a1
Merge rel/1.0.0 into master.
2017-02-01 14:32:59 -06:00
Livar Cunha
49ae86d09f
Fixing new test to work crossplat by calculating path with Path.Combine
2017-02-01 10:33:53 -08:00
Livar Cunha
6a72ec603e
Changing the order in which search paths are added for migration and setting the project file path in the ProjectDependency appropriately in the case of csproj and project.json
2017-02-01 10:33:53 -08:00
Jon Sequeira
6990c71e84
refresh enumerator when moving to next subcommand ( #5533 )
2017-01-31 21:31:02 -08:00
Justin Goshi
626c8983c2
Migration: embed compiler resources ( #5517 )
...
* Embed compiler resources
* Fix null ref
2017-01-31 20:30:37 -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
Justin Goshi
1c80899909
dotnet migrate uses the correct TreatWarningsAsErrors property ( #5492 )
2017-01-30 16:34:19 -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
fd65cb03b6
Update dotnet new to generate a "2.0" project.
2017-01-29 09:46:46 -06:00
Justin Goshi
5aded80a7b
Migration: excluded files need to be removed ( #5485 )
...
* WIP
* Implement Remove attribute
* Enable tests
* Fix test
* Try a shorter test name
* Try more shortened test names
* Shorten some more
* Merge issues
* Try shortinging names more
* Fix test errors related to test asset renaming
2017-01-28 17:14:17 -08:00
Livar
e38bc4950c
Migrating Microsoft.NetCore.App and NETStandard.Library to RuntimeFrameworkVersion and NetStandardImplicitPackageVersion, respectively. ( #5478 )
2017-01-27 19:47:57 -08:00
Krzysztof Wicher
d6d39a5c9d
fix 5466: explicity including a file causes a build break ( #5475 )
...
* fix 5466: explicity including a file causes a build break
* fix failing unit tests
* Add unit tests and apply fix also to includeFiles
* apply review feedback
2017-01-27 18:39:44 -08:00
Piotr Puszkiewicz
ba69c88c79
Work around build test.sln
race condition until fixed ( #5490 )
...
* Remove GenerateRuntimeConfigurationFiles from this library
* Disable parallel build of test.sln
* PR feedback
2017-01-27 17:13:04 -08: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
Justin Goshi
835bc5bae1
Shorten test name
2017-01-26 15:26:55 -08:00
jonsequitur
573c4efea5
test fixes
2017-01-26 14:48:40 -08:00
jonsequitur
0c80992384
move additional tests to netcoreapp1.1
2017-01-26 14:48:40 -08:00
jonsequitur
9824fa945b
FluentAssertions 4.18.0
2017-01-26 14:48:40 -08:00
jonsequitur
927f0b6dc5
rebase fix
2017-01-26 14:48:39 -08:00
jonsequitur
d55be626a9
netcoreapp1.1 fixes
2017-01-26 14:48:39 -08:00
Eric Erhardt
cfb4cc3cb9
Update tests to netcoreapp1.1.
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
d87653a7c6
Update tests
2017-01-26 14:32:41 -08:00
Justin Goshi
2cc4f3f166
Merge branch 'rel/1.0.0' into dev/jgoshi/handleDeprecatedPJ
2017-01-26 14:28:37 -08:00
Justin Goshi
3821d39d6c
Address PR comments
2017-01-26 12:53:29 -08:00
Livar Cunha
40c0c41cde
Handling a potential race condition when writing global.json during migration.
2017-01-26 12:40:56 -08:00
Livar Cunha
537d78d2a6
Fixing test failures. One of them, is a known issue that still reproes intermittently. The other was some left over code that was causing problems.
2017-01-26 12:40:56 -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
fafc2eedae
Work around ZipArchive bug in tests
...
See https://github.com/dotnet/corefx/issues/15516 , 'dotnet' executable doesn't get its execute flag set in netcoreapp2.0.
2017-01-26 13:18:41 -06:00
Justin Goshi
037da3fc01
Finish tests
2017-01-26 11:00:50 -08:00
Justin Goshi
61ae452fe2
Updating tests
2017-01-26 09:55:09 -08:00
Justin Goshi
8b7c0ad468
Add more tests
2017-01-26 09:15:30 -08:00
Krzysztof Wicher
ecd034b95c
fix build errors after rebase
2017-01-26 09:02:28 -08:00
Krzysztof Wicher
000734d1ef
Ignore explicit glob **/*.cs
2017-01-26 09:02:28 -08:00
Justin Goshi
ddf3261a67
Add more tests
2017-01-26 08:34:36 -08:00
Eric Erhardt
eefdbb8846
Disable test due to crossgen bug https://github.com/dotnet/coreclr/issues/9118 .
2017-01-26 10:05:11 -06:00
Eric Erhardt
d4153815d5
Update the CLI to netcoreapp2.0.
2017-01-26 07:28:59 -06:00
Justin Goshi
150e3c4313
Add more tests
2017-01-25 17:28:57 -08:00
Justin Goshi
b8d4010d85
Handle some of the deprecated properties
2017-01-25 12:30:56 -08:00
Justin Goshi
731ab92c1f
Update the test
2017-01-24 10:57:07 -08:00
Piotr Puszkiewicz
7c62621b8f
Merge branch 'rel/1.0.0-rc3' into rel/1.0.0-rc3
2017-01-24 03:07:49 -08:00
Piotr Puszkiewicz
ad8710decc
SDK 20170123-1 ( #5434 )
...
* Revert "Merge pull request #5362 from dotnet/ragrawal/updatesdktrial"
This reverts commit 4e0b465093
.
* bump SDK to 20170123-1
2017-01-24 01:14:35 -08:00
Mike Lorbetske
872e96cfe2
Update version of Microsoft.AspNetCore.Mvc
2017-01-23 20:21:58 -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
Piotr Puszkiewicz
1dfee9ead8
[WIP] Reduce test target complexity [and running time] ( #5403 )
...
* Reduce test target complexity [and running time]
* WiP
* Enable building tests via solution
Remove deprecated tests
Make Microsoft.DotNet.Tools.Tests.Utilities portable-only
Remove MSI tests from the solution as they are the only tests that currently require dekstop.
* Enable building of tests
* Move migration tests to TA to allow them to self-restore
* Reduce project nesting and test directory name
2017-01-22 14:40:00 -08: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
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