Skip to content

Commit

Permalink
Update .NET 5 templates with net5.0 tfm
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer authored and genalt committed Mar 13, 2020
1 parent 8d4a7e8 commit a81c58f
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
}
},
"usageExamples": [
"--framework netcoreapp3.1"
"--framework net5.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"description": "Target .NET",
"defaultOverrides": {
"Framework": "netcoreapp5.0"
"Framework": "net5.0"
}
},
"standard": {
Expand All @@ -43,8 +43,8 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
},
{
"choice": "netstandard2.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
}
},
"usageExamples": [
"--framework netcoreapp3.1"
"--framework net5.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"description": "Target .NET",
"defaultOverrides": {
"Framework": "netcoreapp5.0"
"Framework": "net5.0"
}
},
"standard": {
Expand All @@ -43,8 +43,8 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
},
{
"choice": "netstandard2.1",
Expand All @@ -55,8 +55,8 @@
"description": "Target netstandard2.0"
}
],
"replaces": "netstandard2.0",
"defaultValue": "netstandard2.0"
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"HostIdentifier": {
"type": "bind",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.ClassLibrary1</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
}
},
"usageExamples": [
"--framework netcoreapp3.1"
"--framework net5.0"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"preferNameDirectory": true,
"baselines": {
"app": {
"description": "Target netcoreapp",
"description": "Target .NET",
"defaultOverrides": {
"Framework": "netcoreapp5.0"
"Framework": "net5.0"
}
},
"standard": {
Expand All @@ -43,8 +43,8 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
},
{
"choice": "netstandard2.1",
Expand All @@ -55,8 +55,8 @@
"description": "Target netstandard2.0"
}
],
"replaces": "netstandard2.0",
"defaultValue": "netstandard2.0"
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"langVersion": {
"type": "parameter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RootNamespace>Company.ClassLibrary1</RootNamespace>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netstandard2.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
}
],
"replaces": "netcoreapp5.0",
"defaultValue": "netcoreapp5.0"
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"langVersion": {
"type": "parameter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.ConsoleApplication1</RootNamespace>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
}
],
"replaces": "netcoreapp5.0",
"defaultValue": "netcoreapp5.0"
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"HostIdentifier": {
"type": "bind",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.ConsoleApplication1</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"datatype": "choice",
"choices": [
{
"choice": "netcoreapp5.0",
"description": "Target netcoreapp5.0"
"choice": "net5.0",
"description": "Target net5.0"
}
],
"replaces": "netcoreapp5.0",
"defaultValue": "netcoreapp5.0"
"replaces": "net5.0",
"defaultValue": "net5.0"
},
"langVersion": {
"type": "parameter",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>Company.ConsoleApplication1</RootNamespace>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">netcoreapp5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net5.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
</PropertyGroup>
Expand Down

0 comments on commit a81c58f

Please sign in to comment.