Commit graph

2136 commits

Author SHA1 Message Date
Daniel Plaisted
424024ad0c Update .NET Core version, and add test to catch when ASP.NET depends on a later version than we have
Fixes https://github.com/dotnet/cli/issues/10553
2019-01-07 13:55:18 -08:00
Livar Cunha
3ccbd61dc0 Fixing a build failure due to the merge from master. 2018-12-26 09:57:33 -08:00
Livar Cunha
3ce8eaefaa Merge branch 'master' into official_builds
* master:
  Adding a Wpf and Winforms templates registry key (#218)
  Update coresetup to preview-27218-01 (#216)
  Update WindowsDesktop Framework (#215)
  Update coresetup to preview-27217-02 (#214)
  Update coresetup to preview-27217-01
  Update coresetup to preview-27216-02 (#211)
  make GivenDotnetUsesDotnetTools test optional based on AspNetCore availability (#207)
  Update DependencyVersions.props
  Include the WindowsDesktop sharedframework in install 'Finish' page. (#208)
  Update readme; core-sdk:master (#209)
  Update WindowsDesktop
  Update toolset
  Update coresetup to preview-27214-02
  change debug to Debug to match managed part
  add entry for freebsd to badge processing
  update stage0 sdk to 3.0 preview
  Update coresetup to preview-27206-02 (#202)
  initial support for freebsd
2018-12-25 19:08:40 -08:00
Tomas Weinfurt
e1e6c25c1b make GivenDotnetUsesDotnetTools test optional based on AspNetCore availability (#207) 2018-12-14 20:08:38 -08:00
Daniel Plaisted
f974e2bbac Merge upstream changes 2018-12-05 18:08:40 -08:00
Livar Cunha
829bc78ccf Updating the CLi.Utils version that we use in core-sdk to one with a new muxer class that has the proper AppContext handling. 2018-12-05 15:48:17 -08:00
Daniel Plaisted
3df2eb5c8e Fix using wrong SDK when restoring
DotnetCommand should be used so that MSBuildSDKsPath gets unset
2018-11-29 23:43:09 -08:00
Daniel Plaisted
7d461295be Check bitness of dotnet under test instead of test host process 2018-11-29 23:38:49 -08:00
Daniel Plaisted
d4db5e64b5 Merge upstream changes 2018-11-29 17:27:58 -08:00
Daniel Plaisted
a8c664ba67 Enable targeting .NET Core 2.2 2018-11-26 18:58:37 -08:00
Daniel Plaisted
d8b5dbb44b Apply code review feedback 2018-11-21 18:43:34 -08:00
Daniel Plaisted
32627d01d2 Only test winforms/wpf templates on Windows 2018-11-20 19:43:45 -08:00
Daniel Plaisted
7d3fd28fc4 Remove commented out code 2018-11-20 18:56:01 -08:00
Daniel Plaisted
22dacc82d8 Enable web and mvc template tests 2018-11-20 18:55:46 -08:00
Daniel Plaisted
b757854508 Delete "Dependency Tool Invoker" test
This is a scenario that is no longer valid, using the Microsoft.DotNet.Cli.Utils library in a project tool to invoke another project tool.
It was breaking because the dependency-tool-invoker was using a different version of MSBuild than the CLI, which caused problems
when the ToolsVersion changed from 15.0 to Current.
2018-11-20 18:39:10 -08:00
Daniel Plaisted
6fd4a5afad Refactor tests, add coverage for building templates 2018-11-20 10:53:39 -08:00
Daniel Plaisted
7b76c6dd89 Generate version file 2018-11-20 10:46:41 -08:00
Daniel Plaisted
b395776e87 Enable / fix tests 2018-11-12 15:24:05 -08:00
Daniel Plaisted
b7e4f06bed Use built version of redist instead of stage 0 for running tests 2018-11-12 11:31:10 -08:00
Daniel Plaisted
e13e5fca99 Merge upstream changes 2018-11-09 15:22:10 -08:00
Daniel Plaisted
cc5a67d2e5 Refactor / fix implicit version tests 2018-11-08 12:11:30 -08:00
Daniel Plaisted
ce468ec79e Move layout folder 2018-10-29 12:26:31 -07:00
Daniel Plaisted
96c79f9661 Enable tests 2018-10-29 11:26:53 -07:00
Daniel Plaisted
914f465b30 Get tests and skeleton build tasks building 2018-10-22 19:59:58 -07:00
Daniel Plaisted
acc97038e8 Apply workaround for https://github.com/dotnet/cli/issues/10196 2018-10-19 08:44:39 -07:00
Daniel Plaisted
69d4d21ee5 Disable implicit version tests (#10123), fix 3.0 implicit version 2018-10-08 18:59:44 -07:00
Daniel Plaisted
bfcc6fa2a0 Merge CLI 2.2.1xx changes 2018-10-08 18:59:34 -07:00
Livar Cunha
56d2ba9810 Adding netcoreapp3.0 templates for console apps. 2018-10-02 11:21:50 -07:00
Daniel Plaisted
328a3fd9be Add and enable tests for roll-forward behavior 2018-09-26 18:54:17 -07:00
Andy Zivkovic
2b84ebe054
Code review feedback changes.
This commit implements the requested changes from the PR code review.

- Remove unnecessary comments
- Use Directory.Exists rather than getting file attributes
- Use GracefulException where appripriate
- Improve test names and fix spacing
- Don't force trailing slash on directory
- Don't use option forwarding
- Delete unnecessary MSBuild.exe[.config] files from test project
- Use forwarded options
2018-09-20 10:26:02 -07:00
Abood AbuHashem
7d2f3151e8
Implement the dotnet list package command.
This commit implements the `dotnet list package` command.
2018-09-20 10:26:01 -07:00
William Li
efcae15d0d Fix/disable test due to netcoreapp3.0 vs netcoreapp2.0 2018-09-09 21:56:57 -07:00
William Li
f3c7f5ed78 Merge remote-tracking branch 'oldcli/release/2.2.1xx' into merge-release/2.2.1xx 2018-09-09 20:42:17 -07:00
Livar Cunha
7bb693bff5 We have a few tests that write their own NuGet.Config file to use during restore. Those tests need access to the ExternalRestoreSources value to be added to this NuGet config so that they can restore properly. This change writes a file in the test/artifacts folder containing the value of ExternalRestoreSources value. The tests can then use it to write that to their NuGet.Config. There is a failure in ProdCon that this addresses. 2018-08-28 17:16:58 -07:00
Livar Cunha
057098046f Merge remote-tracking branch 'dotnet/release/2.1.5xx' into merges/release/2.1.5xx-to-release/2.2.1xx
* dotnet/release/2.1.5xx:
  MSBuild 15.9.8-preview
  MSBuild SDK Resolver Improvements (#9547)
  Remove fallback folder
  Remove redundent call, ensure no apt list
  Update links in the readme to release/2.1.5xx
  MSBuild 15.9.0-preview-000006
  Use prebuild image
  Revert "Disabled MSBuildTreatWarningsAsErrors"
  Disabled MSBuildTreatWarningsAsErrors
  Add back: "PUBLISH_NUPKG_TO_BLOB_FEED" to manage the no-suffix builds in 2.1
  Adding the 2.1.3 runtime blob feed as a feed for the CLI
  Update CLI branding to 2.1.402
  Updated test
  TestPlatform 15.9.0-preview Insertion
  Update CLI branding to 2.1.203.
  Fix warnings-as-errors in Linux packaging
  Don't let crossgen warnings become msbuild warnings-as-errors
  Fix build warning and treat msbuild warnings as errors

 Conflicts:
	README.md
	build/DependencyVersions.props
	build/package/Installer.DEB.proj
2018-08-22 20:39:52 -07:00
Davis Goodin
6152eaabcf Add --disable-parallel to dotnet-new.Tests
Added to a "restore" executed via string literal. It's present in RestoreCommand used by the other tests already.
2018-08-17 12:52:23 -05:00
Nick Guerrera
3ccc3593c8
MSBuild SDK Resolver Improvements (#9547)
1. When there's no global.json, use latest SDK that is compatible with msbuild, not latest SDK overall
2. Respect VS setting to allow / disallow resolving to preview SDKs
2018-08-16 19:21:48 -07:00
Peter Huene
f43226c2f1
Fix test with framework-dependent apphost.
This commit fixes the `ItPublishesFrameworkDependentWithRid` test to ensure
the apphost is present in the published files.

It also runs the application from the apphost to ensure it executes
successfully.

Fixes #9843.
2018-08-15 15:06:03 -07:00
William Li
d7b9504c9f
Select forward arguments to restore (#9830) 2018-08-14 14:45:38 -07:00
Vagisha Nidhi
00bf470ddb Updated test 2018-08-10 16:26:00 +05:30
Mike Lorbetske
201dfd581b
Fix tests 2018-08-03 20:02:55 -07:00
Mike Lorbetske
2b5cf41ee9
Update several of the tests to look for netcoreapp2.2 rather than 2.1 with the new templates 2018-08-03 14:16:44 -07:00
William Li
7ae822277d
Refactoring: Introduce Parameter Object (#9789) 2018-08-03 10:35:11 -07:00
John Beisner
fb7c80b585
Merge branch 'release/2.2.1xx' into merges/release/2.1.4xx-to-release/2.2.1xx 2018-08-02 13:44:26 -07:00
Daniel Plaisted
670f15e4ce Import TestDependencyVersions.props for test projects 2018-08-01 11:40:45 -07:00
Peter Huene
29ee450c70
Fix test failure.
The most recent SDK for 2.2.1xx pinned netstandard.library to 2.0.3 due to
https://github.com/dotnet/sdk/issues/2410.

This commit changes the expected version to match.
2018-07-31 16:39:48 -07:00
Peter Huene
7db00ca232
Merge branch 'release/2.1.4xx' into release/2.2.1xx
* release/2.1.4xx:
  Fix dotnet sln add for multitargeted C# and VB projects.
2018-07-31 13:53:34 -07:00
Nick Guerrera
60fd63aa41
Merge pull request #9771 from dotnet/merges/release/2.1.4xx-to-release/2.1.401
Merge release/2.1.4xx to release/2.1.401
2018-07-31 11:08:57 -07:00
Nick Guerrera
d6d0130942 Fix test issues 2018-07-30 17:49:02 -07:00
Nick Guerrera
d6a733c76b Add CLI side of "latest patch for 2.1" in roll-forward logic
Also adjust comment with real reason for skipping test, pointing
to dotnet/sdk bug.
2018-07-30 17:46:02 -07:00