This commit is contained in:
Vlada Shubina 2022-08-26 16:21:03 +02:00 коммит произвёл Vlada Shubina
Родитель fcc8700e8e
Коммит 089c6f0f66
142 изменённых файлов: 539 добавлений и 520 удалений

Просмотреть файл

@ -21,7 +21,7 @@
"src\\Tests\\dotnet-new.Tests\\dotnet-new.IntegrationTests.csproj",
"src\\Tests\\dotnet.Tests\\dotnet.Tests.csproj",
"template_feed\\Microsoft.DotNet.Common.ItemTemplates\\Microsoft.DotNet.Common.ItemTemplates.csproj",
"template_feed\\Microsoft.DotNet.Common.ProjectTemplates.7.0\\Microsoft.DotNet.Common.ProjectTemplates.7.0.csproj"
"template_feed\\Microsoft.DotNet.Common.ProjectTemplates.8.0\\Microsoft.DotNet.Common.ProjectTemplates.8.0.csproj"
]
}
}

Просмотреть файл

@ -383,7 +383,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "template_feed", "template_f
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Common.ItemTemplates", "template_feed\Microsoft.DotNet.Common.ItemTemplates\Microsoft.DotNet.Common.ItemTemplates.csproj", "{92F4E400-8C28-41B9-9D7D-8E9A4535636B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Common.ProjectTemplates.7.0", "template_feed\Microsoft.DotNet.Common.ProjectTemplates.7.0\Microsoft.DotNet.Common.ProjectTemplates.7.0.csproj", "{AB7ADCF8-48AC-4885-9C70-16D752B97168}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DotNet.Common.ProjectTemplates.8.0", "template_feed\Microsoft.DotNet.Common.ProjectTemplates.8.0\Microsoft.DotNet.Common.ProjectTemplates.8.0.csproj", "{AB7ADCF8-48AC-4885-9C70-16D752B97168}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet-new.IntegrationTests", "src\Tests\dotnet-new.Tests\dotnet-new.IntegrationTests.csproj", "{8868D816-C072-4B66-84D6-7E014EA16D48}"
EndProject

Просмотреть файл

@ -40,7 +40,7 @@
"src\\WebSdk\\Web\\Tasks\\Microsoft.NET.Sdk.Web.Tasks.csproj",
"src\\WebSdk\\Worker\\Tasks\\Microsoft.NET.Sdk.Worker.Tasks.csproj",
"template_feed\\Microsoft.DotNet.Common.ItemTemplates\\Microsoft.DotNet.Common.ItemTemplates.csproj",
"template_feed\\Microsoft.DotNet.Common.ProjectTemplates.7.0\\Microsoft.DotNet.Common.ProjectTemplates.7.0.csproj"
"template_feed\\Microsoft.DotNet.Common.ProjectTemplates.8.0\\Microsoft.DotNet.Common.ProjectTemplates.8.0.csproj"
]
}
}

Просмотреть файл

@ -26,7 +26,7 @@
<Error Text="SDK Stage 0 has more than one folder with templates: @(TemplatesFolderPath->'%(FolderName)')" Condition="@(TemplatesFolderPath->Count()) > 1"></Error>
<!--Prepare Microsoft.DotNet.Common.*.nupkg and pack them directly to target <redist root>\templates\<runtime version> folder. -->
<Exec Command="$(DotnetTool) pack $(RepoRoot)template_feed\Microsoft.DotNet.Common.ProjectTemplates.7.0 --configuration $(Configuration) --output $(RedistLayoutPath)\templates\@(TemplatesFolderPath->'%(FolderName)')\" />
<Exec Command="$(DotnetTool) pack $(RepoRoot)template_feed\Microsoft.DotNet.Common.ProjectTemplates.8.0 --configuration $(Configuration) --output $(RedistLayoutPath)\templates\@(TemplatesFolderPath->'%(FolderName)')\" />
<Exec Command="$(DotnetTool) pack $(RepoRoot)template_feed\Microsoft.DotNet.Common.ItemTemplates --configuration $(Configuration) --output $(RedistLayoutPath)\templates\@(TemplatesFolderPath->'%(FolderName)')\" />
<!-- 2. Other template packages will be included from SDK Stage 0. -->

Просмотреть файл

@ -16,15 +16,15 @@ Options:
--type <project> Specifies the template type to instantiate.
Template options:
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
Default: net7.0
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
-f, --framework <net6.0|net7.0|net8.0> The target framework for the project.
Type: choice
net8.0 Target net8.0
net7.0 Target net7.0
net6.0 Target net6.0
Default: net8.0
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
To see help for other template languages (C#, VB), use --language option:
dotnet new console -h --language C#

Просмотреть файл

@ -16,20 +16,20 @@ Options:
--type <project> Specifies the template type to instantiate.
Template options:
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
Default: net7.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
-f, --framework <net6.0|net7.0|net8.0> The target framework for the project.
Type: choice
net8.0 Target net8.0
net7.0 Target net7.0
net6.0 Target net6.0
Default: net8.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
To see help for other template languages (F#, VB), use --language option:
dotnet new console -h --language F#

Просмотреть файл

@ -16,19 +16,19 @@ Options:
--type <project> Specifies the template type to instantiate.
Template options:
-f, --framework <net5.0|net7.0|netcoreapp3.1|netstandard2.0|netstandard2.1> The target framework for the project.
Type: choice
net7.0 Target net7.0
netstandard2.1 Target netstandard2.1
netstandard2.0 Target netstandard2.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
Default: net7.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
-f, --framework <net6.0|net7.0|net8.0|netstandard2.0|netstandard2.1> The target framework for the project.
Type: choice
net8.0 Target net8.0
netstandard2.1 Target netstandard2.1
netstandard2.0 Target netstandard2.0
net7.0 Target net7.0
net6.0 Target net6.0
Default: net8.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
To see help for other template languages (F#, VB), use --language option:
dotnet new classlib -h --language F#

Просмотреть файл

@ -16,20 +16,20 @@ Options:
--type <project> Specifies the template type to instantiate.
Template options:
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
Default: net7.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
-f, --framework <net6.0|net7.0|net8.0> The target framework for the project.
Type: choice
net8.0 Target net8.0
net7.0 Target net7.0
net6.0 Target net6.0
Default: net8.0
--langVersion <langVersion> Sets the LangVersion property in the created project file
Type: text
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
Default: false
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
To see help for other template languages (F#, VB), use --language option:
dotnet new console -h --language F#

Просмотреть файл

@ -1,9 +1,9 @@
Error: Invalid option(s):
--framework
'' is not a valid value for --framework. The possible values are:
net5.0 - Target net5.0
net7.0 - Target net7.0
netcoreapp3.1 - Target netcoreapp3.1
net6.0 - Target net6.0
net7.0 - Target net7.0
net8.0 - Target net8.0
For more information, run:
dotnet new console -h

Просмотреть файл

@ -3,9 +3,9 @@
'--fake' is not a valid option
--framework netcoreapp
'netcoreapp' is not a valid value for --framework. The possible values are:
net5.0 - Target net5.0
net7.0 - Target net7.0
netcoreapp3.1 - Target netcoreapp3.1
net6.0 - Target net6.0
net7.0 - Target net7.0
net8.0 - Target net8.0
For more information, run:
dotnet new console -h

Просмотреть файл

@ -1,9 +1,9 @@
Error: Invalid option(s):
--framework fake
'fake' is not a valid value for --framework. The possible values are:
net5.0 - Target net5.0
net7.0 - Target net7.0
netcoreapp3.1 - Target netcoreapp3.1
net6.0 - Target net6.0
net7.0 - Target net7.0
net8.0 - Target net8.0
For more information, run:
dotnet new console -h

Просмотреть файл

@ -1,9 +1,9 @@
Error: Invalid option(s):
--framework netcoreapp
'netcoreapp' is not a valid value for --framework. The possible values are:
net5.0 - Target net5.0
net7.0 - Target net7.0
netcoreapp3.1 - Target netcoreapp3.1
--framework net
'net' is not a valid value for --framework. The possible values are:
net6.0 - Target net6.0
net7.0 - Target net7.0
net8.0 - Target net8.0
For more information, run:
dotnet new console -h

Просмотреть файл

@ -68,11 +68,10 @@ Template options:
-uld, --use-local-db Whether to use LocalDB instead of SQLite. This option only applies if --auth Individual or --auth IndividualB2C is specified.
Type: bool
Default: false
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
-f, --framework <net6.0|net7.0> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
net7.0 Target net7.0
net6.0 Target net6.0
Default: net7.0
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool
@ -89,9 +88,6 @@ Template options:
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
-rrc, --razor-runtime-compilation Determines if the project is configured to use Razor runtime compilation in Debug builds.
Type: bool
Default: false
To see help for other template languages (F#), use --language option:
dotnet new mvc -h --language F#

Просмотреть файл

@ -59,11 +59,10 @@ Template options:
-minimal, --use-minimal-apis Whether to use minimal APIs instead of controllers.
Type: bool
Default: false
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
-f, --framework <net6.0|net7.0> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
net7.0 Target net7.0
net6.0 Target net6.0
Default: net7.0
--no-restore If specified, skips the automatic restore of the project on create.
Type: bool

Просмотреть файл

@ -72,11 +72,10 @@ Template options:
-uld, --use-local-db Whether to use LocalDB instead of SQLite. This option only applies if --auth Individual or --auth IndividualB2C is specified.
Type: bool
Default: false
-f, --framework <net5.0|net7.0|netcoreapp3.1> The target framework for the project.
-f, --framework <net6.0|net7.0> The target framework for the project.
Type: choice
net7.0 Target net7.0
net5.0 Target net5.0
netcoreapp3.1 Target netcoreapp3.1
net7.0 Target net7.0
net6.0 Target net6.0
Default: net7.0
--called-api-url <called-api-url> URL of the API to call from the web app. This option only applies if --auth SingleOrg, --auth MultiOrg or --auth IndividualB2C is specified.
Type: string
@ -88,8 +87,5 @@ Template options:
Type: string
Default: user.read
--use-program-main Whether to generate an explicit Program class and Main method instead of top-level statements.
Type: bool
Default: false
-rrc, --razor-runtime-compilation Determines if the project is configured to use Razor runtime compilation in Debug builds.
Type: bool
Default: false

Просмотреть файл

@ -7,6 +7,7 @@ using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Xml.Linq;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.NET.TestFramework;
using Microsoft.NET.TestFramework.Assertions;
using Microsoft.NET.TestFramework.Commands;
using Microsoft.TemplateEngine.TestHelper;
@ -30,17 +31,17 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
[InlineData("Console App", "console", "C#")]
[InlineData("Console App", "console", "F#")]
[InlineData("Console App", "console", "VB")]
[InlineData("Console App", "console", "C#", "net7.0")]
[InlineData("Console App", "console", "F#", "net7.0")]
[InlineData("Console App", "console", "VB", "net7.0")]
[InlineData("Console App", "console", "C#", "net8.0")]
[InlineData("Console App", "console", "F#", "net8.0")]
[InlineData("Console App", "console", "VB", "net8.0")]
[InlineData("Class Library", "classlib")]
[InlineData("Class Library", "classlib", "C#")]
[InlineData("Class Library", "classlib", "F#")]
[InlineData("Class Library", "classlib", "VB")]
[InlineData("Class Library", "classlib", "C#", "net7.0")]
[InlineData("Class Library", "classlib", "F#", "net7.0")]
[InlineData("Class Library", "classlib", "VB", "net7.0")]
[InlineData("Class Library", "classlib", "C#", "net8.0")]
[InlineData("Class Library", "classlib", "F#", "net8.0")]
[InlineData("Class Library", "classlib", "VB", "net8.0")]
[InlineData("Class Library", "classlib", "C#", "netstandard2.1")]
[InlineData("Class Library", "classlib", "VB", "netstandard2.1")]
[InlineData("Class Library", "classlib", "F#", "netstandard2.1")]
@ -118,29 +119,28 @@ Restore succeeded\.",
[InlineData("Console App", "console", "C#")]
[InlineData("Console App", "console", "F#")]
[InlineData("Console App", "console", "VB")]
[InlineData("Console App", "console", "C#", "net8.0")]
[InlineData("Console App", "console", "F#", "net8.0")]
[InlineData("Console App", "console", "VB", "net8.0")]
[InlineData("Console App", "console", "C#", "net7.0")]
[InlineData("Console App", "console", "F#", "net7.0")]
[InlineData("Console App", "console", "VB", "net7.0")]
[InlineData("Console Application", "console", "C#", "net5.0")]
[InlineData("Console Application", "console", "F#", "net5.0")]
[InlineData("Console Application", "console", "VB", "net5.0")]
[InlineData("Console Application", "console", "C#", "netcoreapp3.1")]
[InlineData("Console Application", "console", "F#", "netcoreapp3.1")]
[InlineData("Console Application", "console", "VB", "netcoreapp3.1")]
[InlineData("Console App", "console", "C#", "net6.0")]
[InlineData("Console App", "console", "F#", "net6.0")]
[InlineData("Console App", "console", "VB", "net6.0")]
[InlineData("Class Library", "classlib")]
[InlineData("Class Library", "classlib", "C#")]
[InlineData("Class Library", "classlib", "F#")]
[InlineData("Class Library", "classlib", "VB")]
[InlineData("Class Library", "classlib", "C#", "net8.0")]
[InlineData("Class Library", "classlib", "F#", "net8.0")]
[InlineData("Class Library", "classlib", "VB", "net8.0")]
[InlineData("Class Library", "classlib", "C#", "net7.0")]
[InlineData("Class Library", "classlib", "F#", "net7.0")]
[InlineData("Class Library", "classlib", "VB", "net7.0")]
[InlineData("Class library", "classlib", "C#", "net5.0")]
[InlineData("Class library", "classlib", "F#", "net5.0")]
[InlineData("Class library", "classlib", "VB", "net5.0")]
[InlineData("Class library", "classlib", "C#", "netcoreapp3.1")]
[InlineData("Class library", "classlib", "F#", "netcoreapp3.1")]
[InlineData("Class library", "classlib", "VB", "netcoreapp3.1")]
[InlineData("Class Library", "classlib", "C#", "net6.0")]
[InlineData("Class Library", "classlib", "F#", "net6.0")]
[InlineData("Class Library", "classlib", "C#", "netstandard2.1")]
[InlineData("Class Library", "classlib", "VB", "netstandard2.1")]
[InlineData("Class Library", "classlib", "F#", "netstandard2.1")]
@ -241,22 +241,22 @@ Restore succeeded\.",
[InlineData(
@"{
""sdk"": {
""version"": ""5.0.200""
""version"": ""6.0.200""
}
}",
"globaljson",
"--sdk-version",
"5.0.200")]
"6.0.200")]
[InlineData(
@"{
""sdk"": {
""rollForward"": ""major"",
""version"": ""5.0.200""
""version"": ""6.0.200""
}
}",
"globaljson",
"--sdk-version",
"5.0.200",
"6.0.200",
"--roll-forward",
"major")]
public void GlobalJsonTests(string expectedContent, params string[] parameters)
@ -327,13 +327,13 @@ Restore succeeded\.",
{
var templatesToTest = new[]
{
new { Name = "console", Frameworks = new[] { null, "net7.0" } }
new { Name = "console", Frameworks = new[] { null, "net8.0" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
string?[] topLevelStatementSupport = { null, "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] topLevelStatementSupport = { null, "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
foreach (var template in templatesToTest)
{
@ -397,7 +397,7 @@ Restore succeeded\.",
.ExitWith(0)
.And.NotHaveStdErr();
CommandResult buildResult = new DotnetBuildCommand(_log, "MyProject")
CommandResult buildResult = new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute();
@ -438,6 +438,8 @@ Restore succeeded\.",
}
[Theory]
[InlineData("12.0")]
[InlineData("12")]
[InlineData("11.0")]
[InlineData("11")]
[InlineData("10.0")]
@ -466,7 +468,7 @@ Restore succeeded\.",
.ExitWith(0)
.And.NotHaveStdErr();
new DotnetBuildCommand(_log, "MyProject")
new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute()
.Should().ExitWith(0).And.NotHaveStdErr();
@ -508,7 +510,7 @@ class Program
.ExitWith(0)
.And.NotHaveStdErr();
new DotnetBuildCommand(_log, "MyProject")
new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute()
.Should().ExitWith(0).And.NotHaveStdErr();
@ -537,15 +539,15 @@ class Program
{
var templatesToTest = new[]
{
new { Template = "console", Frameworks = new[] { null, "net7.0" } },
new { Template = "classlib", Frameworks = new[] { null, "net7.0", "netstandard2.0", "netstandard2.1" } }
new { Template = "console", Frameworks = new[] { null, "net8.0" } },
new { Template = "classlib", Frameworks = new[] { null, "net8.0", "netstandard2.0", "netstandard2.1" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedInFrameworkByDefault = { null, "net7.0", "netstandard2.1" };
string?[] supportedInLanguageVersion = { "8.0", "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedInFrameworkByDefault = { null, "net8.0", "netstandard2.1" };
string?[] supportedInLanguageVersion = { "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
foreach (var template in templatesToTest)
{
@ -611,7 +613,7 @@ class Program
.ExitWith(0)
.And.NotHaveStdErr();
CommandResult buildResult = new DotnetBuildCommand(_log, "MyProject")
CommandResult buildResult = new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute();
@ -644,14 +646,14 @@ class Program
{
var templatesToTest = new[]
{
new { Template = "console", Frameworks = new[] { null, "net7.0" } },
new { Template = "classlib", Frameworks = new[] { null, "net7.0", "netstandard2.0", "netstandard2.1" } }
new { Template = "console", Frameworks = new[] { null, "net8.0" } },
new { Template = "classlib", Frameworks = new[] { null, "net8.0", "netstandard2.0", "netstandard2.1" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedInFramework = { null, "net7.0" };
string?[] supportedInLangVersion = { null, "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedInFramework = { null, "net8.0" };
string?[] supportedInLangVersion = { null, "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
foreach (var template in templatesToTest)
{
@ -715,7 +717,7 @@ class Program
.ExitWith(0)
.And.NotHaveStdErr();
CommandResult buildResult = new DotnetBuildCommand(_log, "MyProject")
CommandResult buildResult = new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute();
@ -748,13 +750,13 @@ class Program
{
var templatesToTest = new[]
{
new { Template = "classlib", Frameworks = new[] { null, "net7.0", "netstandard2.0", "netstandard2.1" } }
new { Template = "classlib", Frameworks = new[] { null, "net8.0", "netstandard2.0", "netstandard2.1" } }
};
string[] unsupportedLanguageVersions = { "1", "ISO-1" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedLanguageVersions = { null, "ISO-2", "2", "3", "4", "5", "6", "7", "7.1", "7.2", "7.3", "8.0", "9.0", "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedFrameworks = { null, "net7.0" };
string?[] fileScopedNamespacesSupportedLanguages = { "10.0", "11.0", "latest", "latestMajor", "default", "preview" };
string?[] supportedFrameworks = { null, "net8.0" };
string?[] fileScopedNamespacesSupportedLanguages = { "10.0", "11.0", "12.0", "latest", "latestMajor", "default", "preview" };
foreach (var template in templatesToTest)
{
@ -804,7 +806,7 @@ class Program
.ExitWith(0)
.And.NotHaveStdErr();
CommandResult buildResult = new DotnetBuildCommand(_log, "MyProject")
CommandResult buildResult = new DotnetCommand(_log, "build", "MyProject")
.WithWorkingDirectory(workingDir)
.Execute();
@ -852,44 +854,42 @@ public class Class1
[InlineData("Nullable", "enable", "Console App", "console", null, null)]
[InlineData("CheckForOverflowUnderflow", null, "Console App", "console", null, null)]
[InlineData("LangVersion", null, "Console App", "console", null, null)]
[InlineData("TargetFramework", "net7.0", "Console App", "console", null, null)]
[InlineData("Nullable", null, "Console Application", "console", null, "net5.0")]
[InlineData("Nullable", null, "Console Application", "console", null, "netcoreapp3.1")]
[InlineData("TargetFramework", "net8.0", "Console App", "console", null, null)]
[InlineData("Nullable", null, "Console App", "console", "F#", null)]
[InlineData("CheckForOverflowUnderflow", null, "Console App", "console", "F#", null)]
[InlineData("LangVersion", null, "Console App", "console", "F#", null)]
[InlineData("TargetFramework", "net7.0", "Console App", "console", "F#", null)]
[InlineData("TargetFramework", "net8.0", "Console App", "console", "F#", null)]
[InlineData("GenerateDocumentationFile", null, "Console App", "console", "F#", null)]
[InlineData("Nullable", null, "Console App", "console", "VB", null)]
[InlineData("CheckForOverflowUnderflow", null, "Console App", "console", "VB", null)]
[InlineData("LangVersion", null, "Console App", "console", "VB", null)]
[InlineData("TargetFramework", "net7.0", "Console App", "console", "VB", null)]
[InlineData("TargetFramework", "net8.0", "Console App", "console", "VB", null)]
[InlineData("Nullable", "enable", "Class Library", "classlib", null, null)]
[InlineData("CheckForOverflowUnderflow", null, "Class Library", "classlib", null, null)]
[InlineData("LangVersion", null, "Class Library", "classlib", null, null)]
[InlineData("TargetFramework", "net7.0", "Class Library", "classlib", null, null)]
[InlineData("TargetFramework", "net8.0", "Class Library", "classlib", null, null)]
[InlineData("Nullable", null, "Class Library", "classlib", null, "netstandard2.0")]
[InlineData("Nullable", "enable", "Class Library", "classlib", null, "netstandard2.1")]
[InlineData("Nullable", null, "Class Library", "classlib", "F#", null)]
[InlineData("CheckForOverflowUnderflow", null, "Class Library", "classlib", "F#", null)]
[InlineData("LangVersion", null, "Class Library", "classlib", "F#", null)]
[InlineData("TargetFramework", "net7.0", "Class Library", "classlib", "F#", null)]
[InlineData("TargetFramework", "net8.0", "Class Library", "classlib", "F#", null)]
[InlineData("GenerateDocumentationFile", "true", "Class Library", "classlib", "F#", null)]
[InlineData("Nullable", null, "Class Library", "classlib", "F#", "netstandard2.0")]
[InlineData("Nullable", null, "Class Library", "classlib", "VB", null)]
[InlineData("CheckForOverflowUnderflow", null, "Class Library", "classlib", "VB", null)]
[InlineData("LangVersion", null, "Class Library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net7.0", "Class Library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net8.0", "Class Library", "classlib", "VB", null)]
[InlineData("Nullable", null, "Class Library", "classlib", "VB", "netstandard2.0")]
public void SetPropertiesByDefault(string propertyName, string? propertyValue, string expectedTemplateName, string templateShortName, string? language, string? framework)
{
string workingDir = CreateTemporaryFolder(folderName: $"{propertyName}-{templateShortName}-{templateShortName.Replace("#", "Sharp") ?? "null"}-{framework ?? "null"}");
string workingDir = TestUtils.CreateTemporaryFolder();
List<string> args = new() { templateShortName, "--no-restore" };
if (!string.IsNullOrWhiteSpace(language))
{
@ -940,22 +940,22 @@ public class Class1
[InlineData("LangVersion", "9.0", "--langVersion", "9.0", "Class Library", "classlib", "VB", null)]
//framework
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Console Application", "console", null, null)]
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Console Application", "console", "VB", null)]
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Console Application", "console", "F#", null)]
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Class library", "classlib", null, null)]
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Class library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net5.0", "--framework", "net5.0", "Class library", "classlib", "F#", null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Console App", "console", null, null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Console App", "console", "VB", null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Console App", "console", "F#", null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Class Library", "classlib", null, null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Class Library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net6.0", "--framework", "net6.0", "Class Library", "classlib", "F#", null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Console Application", "console", null, null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Console Application", "console", "VB", null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Console Application", "console", "F#", null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Class library", "classlib", null, null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Class library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net5.0", "-f", "net5.0", "Class library", "classlib", "F#", null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Console App", "console", null, null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Console App", "console", "VB", null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Console App", "console", "F#", null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Class Library", "classlib", null, null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Class Library", "classlib", "VB", null)]
[InlineData("TargetFramework", "net6.0", "-f", "net6.0", "Class Library", "classlib", "F#", null)]
public void CanSetProperty(string propertyName, string? propertyValue, string argName, string argValue, string expectedTemplateName, string templateShortName, string? language, string? framework)
{
string workingDir = CreateTemporaryFolder(folderName: $"{propertyName}-{templateShortName}-{templateShortName.Replace("#", "Sharp") ?? "null"}-{framework ?? "null"}");
string workingDir = TestUtils.CreateTemporaryFolder();
List<string> args = new() { templateShortName, "--no-restore" };
if (!string.IsNullOrWhiteSpace(language))
{

Просмотреть файл

@ -173,7 +173,7 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
{
string workingDirectory = CreateTemporaryFolder();
CommandResult commandResult = new DotnetNewCommand(_log, "console", "--framework", "netcoreapp")
var commandResult = new DotnetNewCommand(_log, "console", "--framework", "net")
.WithCustomHive(_fixture.HomeDirectory)
.WithWorkingDirectory(workingDirectory)
.Execute();

Просмотреть файл

@ -28,7 +28,11 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
protected ITestOutputHelper Log { get; private set; }
public void Dispose() => Directory.Delete(HomeDirectory, true);
public void Dispose()
{
Directory.Delete(HomeDirectory, true);
GC.SuppressFinalize(this);
}
public void InstallPackage(string packageName, string? workingDirectory = null, string? nugetSource = null)
{
@ -40,7 +44,7 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
{
workingDirectory = Directory.GetCurrentDirectory();
}
var args = new List<string> { "-i", packageName, };
List<string> args = new() { "install", packageName };
if (!string.IsNullOrWhiteSpace(nugetSource))
{
args.AddRange(new[] { "--nuget-source", nugetSource });
@ -65,7 +69,7 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
.And
.NotHaveStdErr();
new DotnetNewCommand(Log, "--install", TemplatePackagesPaths.MicrosoftDotNetCommonProjectTemplates31Path)
new DotnetNewCommand(Log, "install", TemplatePackagesPaths.MicrosoftDotNetCommonProjectTemplates60Path)
.WithCustomHive(HomeDirectory)
.Execute()
.Should()
@ -73,7 +77,7 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
.And
.NotHaveStdErr();
new DotnetNewCommand(Log, "--install", TemplatePackagesPaths.MicrosoftDotNetCommonProjectTemplates50Path)
new DotnetNewCommand(Log, "install", TemplatePackagesPaths.MicrosoftDotNetCommonProjectTemplates70Path)
.WithCustomHive(HomeDirectory)
.Execute()
.Should()

Просмотреть файл

@ -5,6 +5,7 @@
using Microsoft.DotNet.Cli.Utils;
using Microsoft.NET.TestFramework.Assertions;
using Microsoft.NET.TestFramework.Commands;
using Microsoft.TemplateEngine.TestHelper;
using Xunit.Abstractions;
namespace Microsoft.DotNet.Cli.New.IntegrationTests
@ -23,14 +24,18 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
}
[Theory]
[InlineData("emptyweb_cs-50", "web")]
[InlineData("mvc_cs-50", "mvc")]
[InlineData("mvc_fs-50", "mvc", "-lang", "F#")]
[InlineData("api_cs-50", "webapi")]
[InlineData("emptyweb_cs-31", "web", "-f", "netcoreapp3.1")]
[InlineData("mvc_cs-31", "mvc", "-f", "netcoreapp3.1")]
[InlineData("mvc_fs-31", "mvc", "-lang", "F#", "-f", "netcoreapp3.1")]
[InlineData("api_cs-31", "webapi", "-f", "netcoreapp3.1")]
[InlineData("emptyweb_cs-latest", "web")]
[InlineData("mvc_cs-latest", "mvc")]
[InlineData("mvc_fs-latest", "mvc", "-lang", "F#")]
[InlineData("api_cs-latest", "webapi")]
[InlineData("emptyweb_cs-60", "web", "-f", "net6.0")]
[InlineData("mvc_cs-60", "mvc", "-f", "net6.0")]
[InlineData("mvc_fs-60", "mvc", "-lang", "F#", "-f", "net6.0")]
[InlineData("api_cs-60", "webapi", "-f", "net6.0")]
[InlineData("emptyweb_cs-70", "web", "-f", "net7.0")]
[InlineData("mvc_cs-70", "mvc", "-f", "net7.0")]
[InlineData("mvc_fs-70", "mvc", "-lang", "F#", "-f", "net7.0")]
[InlineData("api_cs-70", "webapi", "-f", "net7.0")]
public void AllWebProjectsRestoreAndBuild(string testName, params string[] args)
{
string workingDir = Path.Combine(_fixture.BaseWorkingDirectory, testName);
@ -126,9 +131,10 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
{
public WebProjectsFixture(IMessageSink messageSink) : base(messageSink)
{
BaseWorkingDirectory = Utilities.CreateTemporaryFolder(nameof(WebProjectsTests));
InstallPackage(TemplatePackagesPaths.MicrosoftDotNetWebProjectTemplates31Path, BaseWorkingDirectory);
InstallPackage(TemplatePackagesPaths.MicrosoftDotNetWebProjectTemplates50Path, BaseWorkingDirectory);
BaseWorkingDirectory = TestUtils.CreateTemporaryFolder(nameof(WebProjectsTests));
InstallPackage(TemplatePackagesPaths.MicrosoftDotNetWebProjectTemplates60Path, BaseWorkingDirectory);
InstallPackage(TemplatePackagesPaths.MicrosoftDotNetWebProjectTemplates70Path, BaseWorkingDirectory);
}
internal string BaseWorkingDirectory { get; private set; }

Просмотреть файл

@ -22,11 +22,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Common.ProjectTemplates.2.1" Version="5.0" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Common.ProjectTemplates.3.1" Version="5.0" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Common.ProjectTemplates.5.0" Version="5.0" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Web.ProjectTemplates.3.1" Version="3.1.*" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Web.ProjectTemplates.5.0" Version="5.0.*" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Common.ProjectTemplates.6.0" Version="6.0.*" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Common.ProjectTemplates.7.0" Version="7.0.*-*" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Web.ProjectTemplates.6.0" Version="6.0.*" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.DotNet.Web.ProjectTemplates.7.0" Version="7.0.*-*" GeneratePathProperty="true" />
</ItemGroup>
<PropertyGroup>
@ -36,11 +35,10 @@ namespace Microsoft.DotNet.Cli.New.IntegrationTests
{
internal class TemplatePackagesPaths
{
public const string MicrosoftDotNetCommonProjectTemplates21Path = @"$(PkgMicrosoft_DotNet_Common_ProjectTemplates_2_1)"%3B
public const string MicrosoftDotNetCommonProjectTemplates31Path = @"$(PkgMicrosoft_DotNet_Common_ProjectTemplates_3_1)"%3B
public const string MicrosoftDotNetCommonProjectTemplates50Path = @"$(PkgMicrosoft_DotNet_Common_ProjectTemplates_5_0)"%3B
public const string MicrosoftDotNetWebProjectTemplates31Path = @"$(PkgMicrosoft_DotNet_Web_ProjectTemplates_3_1)"%3B
public const string MicrosoftDotNetWebProjectTemplates50Path = @"$(PkgMicrosoft_DotNet_Web_ProjectTemplates_5_0)"%3B
public const string MicrosoftDotNetCommonProjectTemplates60Path = @"$(PkgMicrosoft_DotNet_Common_ProjectTemplates_6_0)"%3B
public const string MicrosoftDotNetCommonProjectTemplates70Path = @"$(PkgMicrosoft_DotNet_Common_ProjectTemplates_7_0)"%3B
public const string MicrosoftDotNetWebProjectTemplates60Path = @"$(PkgMicrosoft_DotNet_Web_ProjectTemplates_6_0)"%3B
public const string MicrosoftDotNetWebProjectTemplates70Path = @"$(PkgMicrosoft_DotNet_Web_ProjectTemplates_7_0)"%3B
}
}
]]>

Просмотреть файл

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
@ -14,9 +14,9 @@
<NoPackageAnalysis>true</NoPackageAnalysis>
<PackageId>Microsoft.DotNet.Common.ItemTemplates</PackageId>
<Authors>Microsoft</Authors>
<Description>Common File Templates for Microsoft Template Engine</Description>
<Description>Common Item Templates</Description>
<language>en-US</language>
<PackageProjectUrl>https://github.com/dotnet/templating</PackageProjectUrl>
<PackageProjectUrl>https://github.com/dotnet/sdk</PackageProjectUrl>
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>True</SuppressDependenciesWhenPacking>
<NoDefaultExcludes>true</NoDefaultExcludes>

Просмотреть файл

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.0</TargetFramework>
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSource>False</IncludeSource>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
@ -12,11 +12,11 @@
<IsShippingPackage>true</IsShippingPackage>
<NoWarn>2008;NU5105</NoWarn>
<NoPackageAnalysis>true</NoPackageAnalysis>
<PackageId>Microsoft.DotNet.Common.ProjectTemplates.7.0</PackageId>
<PackageId>Microsoft.DotNet.Common.ProjectTemplates.8.0</PackageId>
<Authors>Microsoft</Authors>
<Description>Common File Templates for Microsoft Template Engine</Description>
<Description>Common .NET Project Templates</Description>
<language>en-US</language>
<PackageProjectUrl>https://github.com/dotnet/templating</PackageProjectUrl>
<PackageProjectUrl>https://github.com/dotnet/sdk</PackageProjectUrl>
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>True</SuppressDependenciesWhenPacking>
</PropertyGroup>

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 16 KiB

После

Ширина:  |  Высота:  |  Размер: 16 KiB

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Knihovna tříd",
"description": "Projekt pro vytvoření knihovny tříd určené pro .NET nebo .NET Standard",
"symbols/TargetFrameworkOverride/description": "Přepíše cílovou architekturu.",
"symbols/TargetFrameworkOverride/displayName": "Přepsání cílové architektury",
"symbols/Framework/description": "Cílová architektura pro projekt",
"symbols/Framework/choices/net7.0/description": "Cílový net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Cílit na netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Cílit na netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Klassenbibliothek",
"description": "Ein Projekt zum Erstellen einer Klassenbibliothek für .NET oder .NET Standard",
"symbols/TargetFrameworkOverride/description": "Überschreibt das Zielframework",
"symbols/TargetFrameworkOverride/displayName": "Zielframeworküberschreibung",
"symbols/Framework/description": "Das Zielframework für das Projekt.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Auf „netstandard2.1“ abzielen",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Auf „netstandard2.0“ abzielen",

Просмотреть файл

@ -5,8 +5,8 @@
"symbols/TargetFrameworkOverride/description": "Overrides the target framework",
"symbols/TargetFrameworkOverride/displayName": "Target framework override",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Target netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Target netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de clases",
"description": "Proyecto para crear una biblioteca de clases para .NET o .NET Standard",
"symbols/TargetFrameworkOverride/description": "Invalida la plataforma de destino",
"symbols/TargetFrameworkOverride/displayName": "Invalidación de la plataforma de destino",
"symbols/Framework/description": "Marco de destino del proyecto.",
"symbols/Framework/choices/net7.0/description": "Objetivo net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Objetivo netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Objetivo netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Bibliothèque de classe",
"description": "Projet de création d'une bibliothèque de classes ciblant .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Remplace linfrastructure cible",
"symbols/TargetFrameworkOverride/displayName": "Remplacement du frame cible",
"symbols/Framework/description": "Framework cible du projet.",
"symbols/Framework/choices/net7.0/description": "Cible net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "netstandard2.1 cible",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "netstandard2.0 cible",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Libreria di classi",
"description": "Progetto per la creazione di una libreria di classi destinata a .NET o.NET Standard.",
"symbols/TargetFrameworkOverride/description": "Ignora il framework di destinazione",
"symbols/TargetFrameworkOverride/displayName": "Override del framework di destinazione",
"symbols/Framework/description": "Il framework di destinazione per il progetto.",
"symbols/Framework/choices/net7.0/description": "Destinazione net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 di destinazione",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 di destinazione",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "クラス ライブラリ",
"description": ".NET または .NET Standard を対象とするクラス ライブラリを作成するためのプロジェクト",
"symbols/TargetFrameworkOverride/description": "ターゲット フレームワークをオーバーライドする",
"symbols/TargetFrameworkOverride/displayName": "ターゲット フレームワークのオーバーライド",
"symbols/Framework/description": "プロジェクトのターゲット フレームワークです。",
"symbols/Framework/choices/net7.0/description": "ターゲット net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "ターゲット netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "ターゲット netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "클래스 라이브러리",
"description": ".NET 또는 .NET Standard를 대상으로 하는 클래스 라이브러리를 만들기 위한 프로젝트",
"symbols/TargetFrameworkOverride/description": "대상 프레임워크를 재정의합니다",
"symbols/TargetFrameworkOverride/displayName": "대상 프레임워크 재정의",
"symbols/Framework/description": "프로젝트에 대한 대상 프레임워크입니다.",
"symbols/Framework/choices/net7.0/description": "대상 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "대상 netstandard 2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "대상 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteka klas",
"description": "Projekt służący do tworzenia biblioteki klas przeznaczonej dla platformy .NET lub .NET Standard",
"symbols/TargetFrameworkOverride/description": "Zastępuje platformę docelową",
"symbols/TargetFrameworkOverride/displayName": "Odrzucenie platformy docelowej",
"symbols/Framework/description": "Platforma docelowa dla tego projektu.",
"symbols/Framework/choices/net7.0/description": "Docelowe środowisko net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Docelowy netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Docelowy netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de Classes",
"description": "Um projeto para criar uma biblioteca de classes direcionada para o .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Substitui a estrutura de destino",
"symbols/TargetFrameworkOverride/displayName": "Substituição da estrutura de destino",
"symbols/Framework/description": "A estrutura de destino do projeto.",
"symbols/Framework/choices/net7.0/description": "Alvo .NET7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 de destino",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 de destino",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Майкрософт",
"name": "Библиотека классов",
"description": "Проект для создания библиотеки классов, предназначенной для .NET или .NET Standard.",
"symbols/TargetFrameworkOverride/description": "Переопределяет целевую платформу",
"symbols/TargetFrameworkOverride/displayName": "Переопределение целевой платформы",
"symbols/Framework/description": "Целевая платформа для проекта.",
"symbols/Framework/choices/net7.0/description": "Целевая версия net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Целевая платформа: netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Целевая платформа: netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Sınıf Kitaplığı",
"description": ".NET veya .NET Standardı hedefleyen bir sınıf kitaplığı oluşturmaya yönelik proje.",
"symbols/TargetFrameworkOverride/description": "Hedef çerçeveyi geçersiz kılar",
"symbols/TargetFrameworkOverride/displayName": "Hedef çerçeveyi geçersiz kılma",
"symbols/Framework/description": "Projenin hedef çerçevesi.",
"symbols/Framework/choices/net7.0/description": "Hedef net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Hedef netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Hedef netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "类库",
"description": "用于创建面向 .NET 或 .NET Standard 的类库的项目",
"symbols/TargetFrameworkOverride/description": "替代目标框架",
"symbols/TargetFrameworkOverride/displayName": "目标框架替代",
"symbols/Framework/description": "项目的目标框架。",
"symbols/Framework/choices/net7.0/description": "目标 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目标 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目标 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "類別庫",
"description": "專案,用於建立以 .NET 或 .NET Standard 為目標的類別庫",
"symbols/TargetFrameworkOverride/description": "覆寫目標 Framework",
"symbols/TargetFrameworkOverride/displayName": "目標 Framework 覆寫",
"symbols/Framework/description": "專案的目標 Framework。",
"symbols/Framework/choices/net7.0/description": "目標 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目標 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目標 netstandard2.0",

Просмотреть файл

@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a class library that targets .NET or .NET Standard",
"groupIdentity": "Microsoft.Common.Library",
"precedence": "9000",
"identity": "Microsoft.Common.Library.CSharp.7.0",
"precedence": "10000",
"identity": "Microsoft.Common.Library.CSharp.8.0",
"shortName": "classlib",
"tags": {
"language": "C#",
@ -22,7 +22,7 @@
"app": {
"description": "Target .NET",
"defaultOverrides": {
"Framework": "net7.0"
"Framework": "net8.0"
}
},
"standard": {
@ -47,9 +47,9 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target net7.0",
"displayName": ".NET 7.0"
"choice": "net8.0",
"description": "Target net8.0",
"displayName": ".NET 8.0"
},
{
"choice": "netstandard2.1",
@ -62,8 +62,8 @@
"displayName": ".NET Standard 2.0"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0",
"replaces": "net8.0",
"defaultValue": "net8.0",
"displayName": "Framework"
},
"langVersion": {
@ -76,7 +76,7 @@
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
"binding": "host:HostIdentifier"
},
"skipRestore": {
"type": "parameter",
@ -85,31 +85,39 @@
"defaultValue": "false",
"displayName": "Skip restore"
},
"csharp10orLater": {
"csharp9orOlder": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(|11|11\\.0|10\\.0|10|preview|latest|default|latestMajor)$",
"pattern": "^(ISO-1|ISO-2|[1-7]|[8-9]|[8-9]\\.0|7\\.[0-3])$",
"source": "langVersion"
}
},
"csharp8orLater": {
"csharp7orOlder": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(|8|8\\.0|9|9\\.0|10\\.0|10|11|11\\.0|preview|latest|default|latestMajor)$",
"pattern": "^(ISO-1|ISO-2|[1-7]|7\\.[0-3])$",
"source": "langVersion"
}
},
"csharp10orLater": {
"type": "computed",
"value": "!csharp9orOlder"
},
"csharp8orLater": {
"type": "computed",
"value": "!csharp7orOlder"
},
"csharpFeature_ImplicitUsings": {
"type": "computed",
"value": "Framework == \"net7.0\" && csharp10orLater == \"true\""
"value": "(Framework == \"net7.0\" || Framework == \"net8.0\")&& csharp10orLater == \"true\""
},
"csharpFeature_FileScopedNamespaces": {
"type": "computed",
"value": "(Framework == \"net7.0\" || langVersion != \"\") && csharp10orLater == \"true\""
"value": "(Framework == \"net7.0\" || Framework == \"net8.0\" || langVersion != \"\") && csharp10orLater == \"true\""
},
"csharpFeature_Nullable": {
"type": "computed",
@ -151,4 +159,4 @@
"continueOnError": true
}
]
}
}

Просмотреть файл

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net7.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.ClassLibrary1</RootNamespace>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>

Просмотреть файл

До

Ширина:  |  Высота:  |  Размер: 49 KiB

После

Ширина:  |  Высота:  |  Размер: 49 KiB

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Knihovna tříd",
"description": "Projekt pro vytvoření knihovny tříd určené pro .NET nebo .NET Standard",
"symbols/TargetFrameworkOverride/description": "Přepíše cílovou architekturu.",
"symbols/TargetFrameworkOverride/displayName": "Přepsání cílové architektury",
"symbols/Framework/description": "Cílová architektura pro projekt",
"symbols/Framework/choices/net7.0/description": "Cílový net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Cílit na netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Cílit na netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Klassenbibliothek",
"description": "Ein Projekt zum Erstellen einer Klassenbibliothek für .NET oder .NET Standard",
"symbols/TargetFrameworkOverride/description": "Überschreibt das Zielframework",
"symbols/TargetFrameworkOverride/displayName": "Zielframeworküberschreibung",
"symbols/Framework/description": "Das Zielframework für das Projekt.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Auf „netstandard2.1“ abzielen",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Auf „netstandard2.0“ abzielen",

Просмотреть файл

@ -5,8 +5,8 @@
"symbols/TargetFrameworkOverride/description": "Overrides the target framework",
"symbols/TargetFrameworkOverride/displayName": "Target framework override",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Target netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Target netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de clases",
"description": "Proyecto para crear una biblioteca de clases para .NET o .NET Standard",
"symbols/TargetFrameworkOverride/description": "Invalida la plataforma de destino",
"symbols/TargetFrameworkOverride/displayName": "Invalidación de la plataforma de destino",
"symbols/Framework/description": "Marco de destino del proyecto.",
"symbols/Framework/choices/net7.0/description": "Objetivo net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Objetivo netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Objetivo netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Bibliothèque de classe",
"description": "Projet de création d'une bibliothèque de classes ciblant .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Remplace linfrastructure cible",
"symbols/TargetFrameworkOverride/displayName": "Remplacement du frame cible",
"symbols/Framework/description": "Framework cible du projet.",
"symbols/Framework/choices/net7.0/description": "Cible net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "netstandard2.1 cible",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "netstandard2.0 cible",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Libreria di classi",
"description": "Progetto per la creazione di una libreria di classi destinata a .NET o.NET Standard.",
"symbols/TargetFrameworkOverride/description": "Ignora il framework di destinazione",
"symbols/TargetFrameworkOverride/displayName": "Override del framework di destinazione",
"symbols/Framework/description": "Il framework di destinazione per il progetto.",
"symbols/Framework/choices/net7.0/description": "Destinazione net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 di destinazione",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 di destinazione",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "クラス ライブラリ",
"description": ".NET または .NET Standard を対象とするクラス ライブラリを作成するためのプロジェクト",
"symbols/TargetFrameworkOverride/description": "ターゲット フレームワークをオーバーライドする",
"symbols/TargetFrameworkOverride/displayName": "ターゲット フレームワークのオーバーライド",
"symbols/Framework/description": "プロジェクトのターゲット フレームワークです。",
"symbols/Framework/choices/net7.0/description": "ターゲット net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "ターゲット netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "ターゲット netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "클래스 라이브러리",
"description": ".NET 또는 .NET Standard를 대상으로 하는 클래스 라이브러리를 만들기 위한 프로젝트",
"symbols/TargetFrameworkOverride/description": "대상 프레임워크를 재정의합니다",
"symbols/TargetFrameworkOverride/displayName": "대상 프레임워크 재정의",
"symbols/Framework/description": "프로젝트에 대한 대상 프레임워크입니다.",
"symbols/Framework/choices/net7.0/description": "대상 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "대상 netstandard 2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "대상 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteka klas",
"description": "Projekt służący do tworzenia biblioteki klas przeznaczonej dla platformy .NET lub .NET Standard",
"symbols/TargetFrameworkOverride/description": "Zastępuje platformę docelową",
"symbols/TargetFrameworkOverride/displayName": "Odrzucenie platformy docelowej",
"symbols/Framework/description": "Platforma docelowa dla tego projektu.",
"symbols/Framework/choices/net7.0/description": "Docelowe środowisko net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Docelowy netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Docelowy netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de Classes",
"description": "Um projeto para criar uma biblioteca de classes direcionada para o .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Substitui a estrutura de destino",
"symbols/TargetFrameworkOverride/displayName": "Substituição da estrutura de destino",
"symbols/Framework/description": "A estrutura de destino do projeto.",
"symbols/Framework/choices/net7.0/description": "Alvo .NET7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 de destino",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 de destino",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Майкрософт",
"name": "Библиотека классов",
"description": "Проект для создания библиотеки классов, предназначенной для .NET или .NET Standard.",
"symbols/TargetFrameworkOverride/description": "Переопределяет целевую платформу",
"symbols/TargetFrameworkOverride/displayName": "Переопределение целевой платформы",
"symbols/Framework/description": "Целевая платформа для проекта.",
"symbols/Framework/choices/net7.0/description": "Целевая версия net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Целевая платформа: netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Целевая платформа: netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Sınıf Kitaplığı",
"description": ".NET veya .NET Standardı hedefleyen bir sınıf kitaplığı oluşturmaya yönelik proje.",
"symbols/TargetFrameworkOverride/description": "Hedef çerçeveyi geçersiz kılar",
"symbols/TargetFrameworkOverride/displayName": "Hedef çerçeveyi geçersiz kılma",
"symbols/Framework/description": "Projenin hedef çerçevesi.",
"symbols/Framework/choices/net7.0/description": "Hedef net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Hedef netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Hedef netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "类库",
"description": "用于创建面向 .NET 或 .NET Standard 的类库的项目",
"symbols/TargetFrameworkOverride/description": "替代目标框架",
"symbols/TargetFrameworkOverride/displayName": "目标框架替代",
"symbols/Framework/description": "项目的目标框架。",
"symbols/Framework/choices/net7.0/description": "目标 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目标 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目标 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "類別庫",
"description": "專案,用於建立以 .NET 或 .NET Standard 為目標的類別庫",
"symbols/TargetFrameworkOverride/description": "覆寫目標 Framework",
"symbols/TargetFrameworkOverride/displayName": "目標 Framework 覆寫",
"symbols/Framework/description": "專案的目標 Framework。",
"symbols/Framework/choices/net7.0/description": "目標 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目標 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目標 netstandard2.0",

Просмотреть файл

@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a class library that targets .NET or .NET Standard",
"groupIdentity": "Microsoft.Common.Library",
"precedence": "9000",
"identity": "Microsoft.Common.Library.FSharp.7.0",
"precedence": "10000",
"identity": "Microsoft.Common.Library.FSharp.8.0",
"shortName": "classlib",
"tags": {
"language": "F#",
@ -22,7 +22,7 @@
"app": {
"description": "Target .NET",
"defaultOverrides": {
"Framework": "net7.0"
"Framework": "net8.0"
}
},
"standard": {
@ -47,9 +47,9 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target net7.0",
"displayName": ".NET 7.0"
"choice": "net8.0",
"description": "Target net8.0",
"displayName": ".NET 8.0"
},
{
"choice": "netstandard2.1",
@ -62,13 +62,13 @@
"displayName": ".NET Standard 2.0"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0",
"replaces": "net8.0",
"defaultValue": "net8.0",
"displayName": "Framework"
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
"binding": "host:HostIdentifier"
},
"skipRestore": {
"type": "parameter",
@ -113,4 +113,4 @@
"continueOnError": true
}
]
}
}

Просмотреть файл

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net7.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<RootNamespace Condition="'$(name)' != '$(name{-VALUE-FORMS-}safe_namespace)'">Company.ClassLibrary1</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Knihovna tříd",
"description": "Projekt pro vytvoření knihovny tříd určené pro .NET nebo .NET Standard",
"symbols/TargetFrameworkOverride/description": "Přepíše cílovou architekturu.",
"symbols/TargetFrameworkOverride/displayName": "Přepsání cílové architektury",
"symbols/Framework/description": "Cílová architektura pro projekt",
"symbols/Framework/choices/net7.0/description": "Cílový net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Cílit na netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Cílit na netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Klassenbibliothek",
"description": "Ein Projekt zum Erstellen einer Klassenbibliothek für .NET oder .NET Standard",
"symbols/TargetFrameworkOverride/description": "Überschreibt das Zielframework",
"symbols/TargetFrameworkOverride/displayName": "Zielframeworküberschreibung",
"symbols/Framework/description": "Das Zielframework für das Projekt.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Auf „netstandard2.1“ abzielen",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Auf „netstandard2.0“ abzielen",

Просмотреть файл

@ -5,8 +5,8 @@
"symbols/TargetFrameworkOverride/description": "Overrides the target framework",
"symbols/TargetFrameworkOverride/displayName": "Target framework override",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Target netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Target netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de clases",
"description": "Proyecto para crear una biblioteca de clases para .NET o .NET Standard",
"symbols/TargetFrameworkOverride/description": "Invalida la plataforma de destino",
"symbols/TargetFrameworkOverride/displayName": "Invalidación de la plataforma de destino",
"symbols/Framework/description": "Marco de destino del proyecto.",
"symbols/Framework/choices/net7.0/description": "Objetivo net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Objetivo netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Objetivo netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Bibliothèque de classe",
"description": "Projet de création d'une bibliothèque de classes ciblant .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Remplace linfrastructure cible",
"symbols/TargetFrameworkOverride/displayName": "Remplacement du frame cible",
"symbols/Framework/description": "Framework cible du projet.",
"symbols/Framework/choices/net7.0/description": "Cible net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "netstandard2.1 cible",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "netstandard2.0 cible",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Libreria di classi",
"description": "Progetto per la creazione di una libreria di classi destinata a .NET o.NET Standard.",
"symbols/TargetFrameworkOverride/description": "Ignora il framework di destinazione",
"symbols/TargetFrameworkOverride/displayName": "Override del framework di destinazione",
"symbols/Framework/description": "Il framework di destinazione per il progetto.",
"symbols/Framework/choices/net7.0/description": "Destinazione net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 di destinazione",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 di destinazione",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "クラス ライブラリ",
"description": ".NET または .NET Standard を対象とするクラス ライブラリを作成するためのプロジェクト",
"symbols/TargetFrameworkOverride/description": "ターゲット フレームワークをオーバーライドする",
"symbols/TargetFrameworkOverride/displayName": "ターゲット フレームワークのオーバーライド",
"symbols/Framework/description": "プロジェクトのターゲット フレームワークです。",
"symbols/Framework/choices/net7.0/description": "ターゲット net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "ターゲット netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "ターゲット netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "클래스 라이브러리",
"description": ".NET 또는 .NET Standard를 대상으로 하는 클래스 라이브러리를 만들기 위한 프로젝트",
"symbols/TargetFrameworkOverride/description": "대상 프레임워크를 재정의합니다",
"symbols/TargetFrameworkOverride/displayName": "대상 프레임워크 재정의",
"symbols/Framework/description": "프로젝트에 대한 대상 프레임워크입니다.",
"symbols/Framework/choices/net7.0/description": "대상 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "대상 netstandard 2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "대상 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteka klas",
"description": "Projekt służący do tworzenia biblioteki klas przeznaczonej dla platformy .NET lub .NET Standard",
"symbols/TargetFrameworkOverride/description": "Zastępuje platformę docelową",
"symbols/TargetFrameworkOverride/displayName": "Odrzucenie platformy docelowej",
"symbols/Framework/description": "Platforma docelowa dla tego projektu.",
"symbols/Framework/choices/net7.0/description": "Docelowe środowisko net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Docelowy netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Docelowy netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Biblioteca de Classes",
"description": "Um projeto para criar uma biblioteca de classes direcionada para o .NET ou .NET Standard",
"symbols/TargetFrameworkOverride/description": "Substitui a estrutura de destino",
"symbols/TargetFrameworkOverride/displayName": "Substituição da estrutura de destino",
"symbols/Framework/description": "A estrutura de destino do projeto.",
"symbols/Framework/choices/net7.0/description": "Alvo .NET7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Netstandard2.1 de destino",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Netstandard2.0 de destino",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Майкрософт",
"name": "Библиотека классов",
"description": "Проект для создания библиотеки классов, предназначенной для .NET или .NET Standard.",
"symbols/TargetFrameworkOverride/description": "Переопределяет целевую платформу",
"symbols/TargetFrameworkOverride/displayName": "Переопределение целевой платформы",
"symbols/Framework/description": "Целевая платформа для проекта.",
"symbols/Framework/choices/net7.0/description": "Целевая версия net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Целевая платформа: netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Целевая платформа: netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Sınıf Kitaplığı",
"description": ".NET veya .NET Standardı hedefleyen bir sınıf kitaplığı oluşturmaya yönelik proje.",
"symbols/TargetFrameworkOverride/description": "Hedef çerçeveyi geçersiz kılar",
"symbols/TargetFrameworkOverride/displayName": "Hedef çerçeveyi geçersiz kılma",
"symbols/Framework/description": "Projenin hedef çerçevesi.",
"symbols/Framework/choices/net7.0/description": "Hedef net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "Hedef netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "Hedef netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "类库",
"description": "用于创建面向 .NET 或 .NET Standard 的类库的项目",
"symbols/TargetFrameworkOverride/description": "替代目标框架",
"symbols/TargetFrameworkOverride/displayName": "目标框架替代",
"symbols/Framework/description": "项目的目标框架。",
"symbols/Framework/choices/net7.0/description": "目标 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目标 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目标 netstandard2.0",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "類別庫",
"description": "專案,用於建立以 .NET 或 .NET Standard 為目標的類別庫",
"symbols/TargetFrameworkOverride/description": "覆寫目標 Framework",
"symbols/TargetFrameworkOverride/displayName": "目標 Framework 覆寫",
"symbols/Framework/description": "專案的目標 Framework。",
"symbols/Framework/choices/net7.0/description": "目標 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/choices/netstandard2.1/description": "目標 netstandard2.1",
"symbols/Framework/choices/netstandard2.1/displayName": ".NET Standard 2.1",
"symbols/Framework/choices/netstandard2.0/description": "目標 netstandard2.0",

Просмотреть файл

@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a class library that targets .NET or .NET Standard",
"groupIdentity": "Microsoft.Common.Library",
"precedence": "9000",
"identity": "Microsoft.Common.Library.VisualBasic.7.0",
"precedence": "10000",
"identity": "Microsoft.Common.Library.VisualBasic.8.0",
"shortName": "classlib",
"tags": {
"language": "VB",
@ -22,7 +22,7 @@
"app": {
"description": "Target .NET",
"defaultOverrides": {
"Framework": "net7.0"
"Framework": "net8.0"
}
},
"standard": {
@ -47,9 +47,9 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target net7.0",
"displayName": ".NET 7.0"
"choice": "net8.0",
"description": "Target net8.0",
"displayName": ".NET 8.0"
},
{
"choice": "netstandard2.1",
@ -62,8 +62,8 @@
"displayName": ".NET Standard 2.0"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0",
"replaces": "net8.0",
"defaultValue": "net8.0",
"displayName": "Framework"
},
"langVersion": {
@ -76,7 +76,7 @@
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
"binding": "host:HostIdentifier"
},
"skipRestore": {
"type": "parameter",
@ -121,4 +121,4 @@
"continueOnError": true
}
]
}
}

Просмотреть файл

@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>Company.ClassLibrary1</RootNamespace>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net7.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">TargetFrameworkOverride</TargetFramework>
<LangVersion Condition="'$(langVersion)' != ''">$(ProjectLanguageVersion)</LangVersion>
</PropertyGroup>

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Konzolová aplikace",
"description": "Projekt pro vytvoření aplikace příkazového řádku, která běží na platformě .NET v systémech Windows, Linux a macOS",
"symbols/TargetFrameworkOverride/description": "Přepíše cílovou architekturu.",
"symbols/TargetFrameworkOverride/displayName": "Přepsání cílové architektury",
"symbols/Framework/description": "Cílová architektura pro projekt",
"symbols/Framework/choices/net7.0/description": "Cílový net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Nastaví vlastnost LangVersion ve vytvořeném souboru projektu.",
"symbols/langVersion/displayName": "Verze jazyka",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Konsolen-App",
"description": "Ein Projekt zum Erstellen einer Befehlszeilenanwendung, die mit .NET unter Windows, Linux und macOS ausgeführt werden kann",
"symbols/TargetFrameworkOverride/description": "Überschreibt das Zielframework",
"symbols/TargetFrameworkOverride/displayName": "Zielframeworküberschreibung",
"symbols/Framework/description": "Das Zielframework für das Projekt.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Legt die „LangVersion“-Eigenschaft in der erstellten Projektdatei fest",
"symbols/langVersion/displayName": "Sprachversion",

Просмотреть файл

@ -5,8 +5,8 @@
"symbols/TargetFrameworkOverride/description": "Overrides the target framework",
"symbols/TargetFrameworkOverride/displayName": "Target framework override",
"symbols/Framework/description": "The target framework for the project.",
"symbols/Framework/choices/net7.0/description": "Target net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Sets the LangVersion property in the created project file",
"symbols/langVersion/displayName": "Language version",
@ -18,4 +18,4 @@
"postActions/restore/description": "Restore NuGet packages required by this project.",
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'",
"postActions/open-file/description": "Opens Program.cs in the editor"
}
}

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Aplicación de consola",
"description": "Proyecto para crear una aplicación de línea de comandos que se puede ejecutar en .NET en Windows, Linux y macOS.",
"symbols/TargetFrameworkOverride/description": "Invalida la plataforma de destino",
"symbols/TargetFrameworkOverride/displayName": "Invalidación de la plataforma de destino",
"symbols/Framework/description": "Marco de destino del proyecto.",
"symbols/Framework/choices/net7.0/description": "Objetivo net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Plataforma",
"symbols/langVersion/description": "Establece la propiedad LangVersion en el archivo de proyecto creado.",
"symbols/langVersion/displayName": "Versión de lenguaje",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Application console",
"description": "Projet de création d'une application en ligne de commande pouvant s'exécuter sur .NET sur Windows, Linux et macOS",
"symbols/TargetFrameworkOverride/description": "Remplace linfrastructure cible",
"symbols/TargetFrameworkOverride/displayName": "Remplacement du frame cible",
"symbols/Framework/description": "Framework cible du projet.",
"symbols/Framework/choices/net7.0/description": "Cible net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Définit la propriété LangVersion dans le fichier projet créé",
"symbols/langVersion/displayName": "Version du langage",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "App console",
"description": "Progetto per la creazione di un'applicazione da riga di comando eseguibile in .NET in Windows, Linux e macOS",
"symbols/TargetFrameworkOverride/description": "Ignora il framework di destinazione",
"symbols/TargetFrameworkOverride/displayName": "Override del framework di destinazione",
"symbols/Framework/description": "Il framework di destinazione per il progetto.",
"symbols/Framework/choices/net7.0/description": "Destinazione net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Imposta la proprietà LangVersion nel file di progetto creato",
"symbols/langVersion/displayName": "Versione del linguaggio",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "コンソール アプリ",
"description": "Windows、Linux、macOS 上の .NET で実行できるコマンド ライン アプリケーションを作成するためのプロジェクト",
"symbols/TargetFrameworkOverride/description": "ターゲット フレームワークをオーバーライドする",
"symbols/TargetFrameworkOverride/displayName": "ターゲット フレームワークのオーバーライド",
"symbols/Framework/description": "プロジェクトのターゲット フレームワークです。",
"symbols/Framework/choices/net7.0/description": "ターゲット net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "フレームワーク",
"symbols/langVersion/description": "作成されたプロジェクト ファイルで LangVersion プロパティを設定する",
"symbols/langVersion/displayName": "言語バージョン",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "콘솔 앱",
"description": "Windows, Linux 및 macOS의 .NET에서 실행할 수 있는 명령줄 응용 프로그램을 만들기 위한 프로젝트",
"symbols/TargetFrameworkOverride/description": "대상 프레임워크를 재정의합니다",
"symbols/TargetFrameworkOverride/displayName": "대상 프레임워크 재정의",
"symbols/Framework/description": "프로젝트에 대한 대상 프레임워크입니다.",
"symbols/Framework/choices/net7.0/description": "대상 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "프레임워크",
"symbols/langVersion/description": "만든 프로젝트 파일에 LangVersion 속성을 설정합니다",
"symbols/langVersion/displayName": "언어 버전",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Aplikacja konsoli",
"description": "Projekt służący do tworzenia aplikacji wiersza polecenia, która może działać na platformie .NET w systemach Windows, Linux i macOS",
"symbols/TargetFrameworkOverride/description": "Zastępuje platformę docelową",
"symbols/TargetFrameworkOverride/displayName": "Odrzucenie platformy docelowej",
"symbols/Framework/description": "Platforma docelowa dla tego projektu.",
"symbols/Framework/choices/net7.0/description": "Docelowe środowisko net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Platforma",
"symbols/langVersion/description": "Ustawia właściwość LangVersion w utworzonym pliku projektu",
"symbols/langVersion/displayName": "Wersja języka",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Aplicativo do Console",
"description": "Um projeto para criar um aplicativo de linha de comando que pode ser executado no .NET no Windows, Linux e macOS",
"symbols/TargetFrameworkOverride/description": "Substitui a estrutura de destino",
"symbols/TargetFrameworkOverride/displayName": "Substituição da estrutura de destino",
"symbols/Framework/description": "A estrutura de destino do projeto.",
"symbols/Framework/choices/net7.0/description": "Alvo .NET7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Framework",
"symbols/langVersion/description": "Define a propriedade LangVersion no arquivo do projeto criado",
"symbols/langVersion/displayName": "Versão do idioma",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Майкрософт",
"name": "Консольное приложение",
"description": "Проект для создания приложения командной строки, которое может выполняться в среде .NET в Windows, Linux и macOS",
"symbols/TargetFrameworkOverride/description": "Переопределяет целевую платформу",
"symbols/TargetFrameworkOverride/displayName": "Переопределение целевой платформы",
"symbols/Framework/description": "Целевая платформа для проекта.",
"symbols/Framework/choices/net7.0/description": "Целевая версия net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Платформа",
"symbols/langVersion/description": "Задает свойство LangVersion в созданном файле проекта",
"symbols/langVersion/displayName": "Версия языка",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "Konsol Uygulaması",
"description": "Windows, Linux ve macOS'de .NET üzerinde çalışabilen bir komut satırı uygulaması oluşturma projesi",
"symbols/TargetFrameworkOverride/description": "Hedef çerçeveyi geçersiz kılar",
"symbols/TargetFrameworkOverride/displayName": "Hedef çerçeveyi geçersiz kılma",
"symbols/Framework/description": "Projenin hedef çerçevesi.",
"symbols/Framework/choices/net7.0/description": "Hedef net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "Çerçeve",
"symbols/langVersion/description": "Oluşturulan proje dosyasında LangVersion özelliğini ayarlar",
"symbols/langVersion/displayName": "Dil sürümü",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "控制台应用",
"description": "用于创建可在 Windows、Linux 和 macOS 上 .NET 上运行的命令行应用程序的项目",
"symbols/TargetFrameworkOverride/description": "替代目标框架",
"symbols/TargetFrameworkOverride/displayName": "目标框架替代",
"symbols/Framework/description": "项目的目标框架。",
"symbols/Framework/choices/net7.0/description": "目标 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "框架",
"symbols/langVersion/description": "在创建的项目文件中设置 LangVersion 属性",
"symbols/langVersion/displayName": "语言版本",

Просмотреть файл

@ -1,12 +1,12 @@
{
{
"author": "Microsoft",
"name": "主控台應用程式",
"description": "專案,用於建立可在 Windows、Linux 及 macOS 於 .NET 執行的命令列應用程式",
"symbols/TargetFrameworkOverride/description": "覆寫目標 Framework",
"symbols/TargetFrameworkOverride/displayName": "目標 Framework 覆寫",
"symbols/Framework/description": "專案的目標 Framework。",
"symbols/Framework/choices/net7.0/description": "目標 net7.0",
"symbols/Framework/choices/net7.0/displayName": ".NET 7.0",
"symbols/Framework/choices/net8.0/description": "Target net8.0",
"symbols/Framework/choices/net8.0/displayName": ".NET 8.0",
"symbols/Framework/displayName": "架構",
"symbols/langVersion/description": "設定建立的專案檔中的 LangVersion 屬性",
"symbols/langVersion/displayName": "語言版本",

Просмотреть файл

@ -9,8 +9,8 @@
"generatorVersions": "[1.0.0.0-*)",
"description": "A project for creating a command-line application that can run on .NET on Windows, Linux and macOS",
"groupIdentity": "Microsoft.Common.Console",
"precedence": "9000",
"identity": "Microsoft.Common.Console.CSharp.7.0",
"precedence": "10000",
"identity": "Microsoft.Common.Console.CSharp.8.0",
"shortName": "console",
"tags": {
"language": "C#",
@ -33,13 +33,13 @@
"datatype": "choice",
"choices": [
{
"choice": "net7.0",
"description": "Target net7.0",
"displayName": ".NET 7.0"
"choice": "net8.0",
"description": "Target net8.0",
"displayName": ".NET 8.0"
}
],
"replaces": "net7.0",
"defaultValue": "net7.0",
"replaces": "net8.0",
"defaultValue": "net8.0",
"displayName": "Framework"
},
"langVersion": {
@ -52,7 +52,7 @@
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
"binding": "host:HostIdentifier"
},
"skipRestore": {
"type": "parameter",
@ -68,32 +68,44 @@
"description": "Whether to generate an explicit Program class and Main method instead of top-level statements.",
"displayName": "Do not use _top-level statements"
},
"csharp10orLater": {
"csharp9orOlder": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(|10\\.0|10|11|11\\.0|preview|latest|default|latestMajor)$",
"pattern": "^(ISO-1|ISO-2|[1-7]|[8-9]|[8-9]\\.0|7\\.[0-3])$",
"source": "langVersion"
}
},
"csharp8orOlder": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(ISO-1|ISO-2|[1-7]|8|8\\.0|7\\.[0-3])$",
"source": "langVersion"
}
},
"csharp7orOlder": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(ISO-1|ISO-2|[1-7]|7\\.[0-3])$",
"source": "langVersion"
}
},
"csharp10orLater": {
"type": "computed",
"value": "!csharp9orOlder"
},
"csharp9orLater": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(|9|9\\.0|10\\.0|10|11|11\\.0|preview|latest|default|latestMajor)$",
"source": "langVersion"
}
"type": "computed",
"value": "!csharp8orOlder"
},
"csharp8orLater": {
"type": "generated",
"generator": "regexMatch",
"datatype": "bool",
"parameters": {
"pattern": "^(|8|8\\.0|9|9\\.0|10\\.0|10|11|11\\.0|preview|latest|default|latestMajor)$",
"source": "langVersion"
}
"type": "computed",
"value": "!csharp7orOlder"
},
"csharpFeature_ImplicitUsings": {
"type": "computed",

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше