Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .NET 5 templates with net5.0 tfm #2312

Merged
merged 1 commit into from
Mar 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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