netcoreapp3.0 -> netcoreapp5.0 for new files
This commit is contained in:
parent
48374ca8bb
commit
a6a7f36150
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
||||
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
|
||||
<IsTestAssetProject>true</IsTestAssetProject>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue