netcoreapp3.0 -> netcoreapp5.0 for new files

This commit is contained in:
wtgodbe 2019-08-28 15:28:18 -07:00
parent 48374ca8bb
commit a6a7f36150
7 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<DefaultItemExcludes>$(DefaultItemExcludes);TestProjects\**\*</DefaultItemExcludes>
<TestGroupName>ApiDescriptionClientTests</TestGroupName>
</PropertyGroup>

View File

@ -4,7 +4,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<IsTestAssetProject>true</IsTestAssetProject>
</PropertyGroup>

View File

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<OutputType>exe</OutputType>
<Description>Command line tool to add an OpenAPI service reference</Description>
<RootNamespace>Microsoft.DotNet.Openapi.Tools</RootNamespace>

View File

@ -25,13 +25,13 @@ namespace Microsoft.DotNet.OpenApi.Add.Tests
{
var project1 = refProj1.WithCSharpProject("refProj");
project1
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.Create();
var project2 = refProj2.WithCSharpProject("refProj2");
project2
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.Create();
@ -64,7 +64,7 @@ namespace Microsoft.DotNet.OpenApi.Add.Tests
var refProjName = "refProj";
var csproj = refProj.WithCSharpProject(refProjName);
csproj
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.Create();
@ -98,7 +98,7 @@ namespace Microsoft.DotNet.OpenApi.Add.Tests
var refProjName = "refProj";
refProj
.WithCSharpProject(refProjName)
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.Create();

View File

@ -20,7 +20,7 @@ namespace Microsoft.DotNet.OpenApi.Remove.Tests
var nswagJsonFile = "openapi.json";
_tempDir
.WithCSharpProject("testproj")
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.WithContentFile(nswagJsonFile)
.WithContentFile("Startup.cs")
@ -66,7 +66,7 @@ namespace Microsoft.DotNet.OpenApi.Remove.Tests
{
_tempDir
.WithCSharpProject("testproj")
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.WithContentFile("Startup.cs")
.Create();
@ -108,7 +108,7 @@ namespace Microsoft.DotNet.OpenApi.Remove.Tests
{
_tempDir
.WithCSharpProject("testproj")
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.WithContentFile("Startup.cs")
.Create();
@ -117,7 +117,7 @@ namespace Microsoft.DotNet.OpenApi.Remove.Tests
var refProjName = "refProj";
refProj
.WithCSharpProject(refProjName)
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.Create();
@ -160,7 +160,7 @@ namespace Microsoft.DotNet.OpenApi.Remove.Tests
var swagFile2 = "swag2.json";
_tempDir
.WithCSharpProject("testproj")
.WithTargetFrameworks("netcoreapp3.0")
.WithTargetFrameworks("netcoreapp5.0")
.Dir()
.WithContentFile(nswagJsonFile)
.WithFile(swagFile2)

View File

@ -61,7 +61,7 @@ namespace Microsoft.DotNet.OpenApi.Tests
var nswagJsonFile = "openapi.json";
var project = _tempDir
.WithCSharpProject("testproj", sdk: "Microsoft.NET.Sdk.Web")
.WithTargetFrameworks("netcoreapp3.0");
.WithTargetFrameworks("netcoreapp5.0");
var tmp = project.Dir();
if (withOpenApi)

View File

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<AssemblyName>Microsoft.DotNet.Open.Api.Tools.Tests</AssemblyName>
<DefaultItemExcludes>$(DefaultItemExcludes);TestProjects\**\*</DefaultItemExcludes>
<TestGroupName>DotNetAddOpenAPIReferenceToolsTests</TestGroupName>