Commit graph

1774 commits

Author SHA1 Message Date
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