diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 1bec18114bb6..b9b7e3017d6b 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -1,62 +1,62 @@ - + https://github.com/dotnet/templating - 38cb2e434cc8c6f1de7f44386c9c9dc0c75792cb + 41e6e40afd6864941ceaabc6d6451925daa47c01 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/msbuild - 4b5e303b3646131dfbaf425c21021f5233cece8e + d434c0e464ee0c119bdd5ee87b448e16fe0786be - + https://github.com/dotnet/msbuild - 4b5e303b3646131dfbaf425c21021f5233cece8e + d434c0e464ee0c119bdd5ee87b448e16fe0786be - + https://github.com/dotnet/fsharp - 75647e8f098a1a2b50d4d755394598ae6f38b164 + 69e9a985b80c41e7d9d589e58b75a004831c07bc - + https://github.com/dotnet/fsharp - 75647e8f098a1a2b50d4d755394598ae6f38b164 + 69e9a985b80c41e7d9d589e58b75a004831c07bc @@ -64,185 +64,185 @@ 2cb3e68c6b9a966114572fd63f2a20d2cb54a288 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/roslyn - 7347efa598bc5e34086f6c1078f1c0e864400d29 + 4641f2bff815fb7743be8aa2bdafe82b74a1f756 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/nuget/nuget.client - 00375a7dfc2e2687c95ada0a0d24b570dc807d5d + 4d5af8a3492c8d9d0c99c3cdf3cce12129c8e743 - + https://github.com/microsoft/vstest - 3990c633bcf933291f40d44c0b7586c3a6e89d55 + 05c0c4c4f084782533443dfeae0f6627018c5b6a - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 https://github.com/dotnet/linker c790896f128957acd2999208f44f09ae1e826c8c - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 - + https://github.com/dotnet/windowsdesktop - 7514f9bc0755cdb942b1426c99e57abb129f6f43 + b587906c2964aaefab5fbd7a27af5fbc59120a4e - + https://github.com/dotnet/windowsdesktop - 7514f9bc0755cdb942b1426c99e57abb129f6f43 + b587906c2964aaefab5fbd7a27af5fbc59120a4e - + https://github.com/dotnet/windowsdesktop - 7514f9bc0755cdb942b1426c99e57abb129f6f43 + b587906c2964aaefab5fbd7a27af5fbc59120a4e - + https://github.com/dotnet/windowsdesktop - 7514f9bc0755cdb942b1426c99e57abb129f6f43 + b587906c2964aaefab5fbd7a27af5fbc59120a4e - + https://github.com/dotnet/wpf - c37ab558d3aebf3bfe0038c86e8a4be78d09e03c + 71ca704b43ee711d5808e71be88c67e18e99eea0 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/razor - cd9273ff529ec2103c054c0620870d977c08e0a9 + d7ad748d4f436f89ecc1298f64a876047524ac45 - + https://github.com/dotnet/razor - cd9273ff529ec2103c054c0620870d977c08e0a9 + d7ad748d4f436f89ecc1298f64a876047524ac45 - + https://github.com/dotnet/razor - cd9273ff529ec2103c054c0620870d977c08e0a9 + d7ad748d4f436f89ecc1298f64a876047524ac45 - + https://github.com/dotnet/razor - cd9273ff529ec2103c054c0620870d977c08e0a9 + d7ad748d4f436f89ecc1298f64a876047524ac45 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 - + https://github.com/dotnet/aspnetcore - ce8e0ce086b0be93d25b985e1c4cdf3fe6d7bc21 + 446e27e0fd79ab0e0193915d8d342b6f787a7569 https://github.com/dotnet/xdt 9a1c3e1b7f0c8763d4c96e593961a61a72679a7b - + https://github.com/dotnet/roslyn-analyzers - 50f62a926806bc75f294b5f738bc6694e0941361 + c6352bf2e1bd214fce090829de1042000d021497 - + https://github.com/dotnet/roslyn-analyzers - 50f62a926806bc75f294b5f738bc6694e0941361 + c6352bf2e1bd214fce090829de1042000d021497 @@ -254,9 +254,9 @@ 8374d5fca634a93458c84414b1604c12f765d1ab - + https://github.com/dotnet/source-build-externals - 616f121630a3c46bff2cd7f50640f051f446070d + 8e1b361dfb41ed15955a3793d4da1f2cf8129fb0 @@ -278,9 +278,9 @@ https://github.com/dotnet/arcade c4a85adbff520f62bfade7a6132f471506c3d35a - + https://github.com/dotnet/runtime - 3adabbcf308556bd0506c2dc3d82a022c8751456 + eb20195fb00d3cc7217a10b7de4b3b00710ce672 https://github.com/dotnet/xliff-tasks diff --git a/eng/Versions.props b/eng/Versions.props index 6f087d92ffbf..18fc9b0ca0fc 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -13,7 +13,7 @@ 8.0.100 preview - 2 + 3 false release @@ -35,12 +35,12 @@ 6.0.0 8.0.0-beta.23120.1 7.0.0-preview.22423.2 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 4.3.0 4.3.0 4.0.5 6.0.0 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 4.6.0 2.0.0-beta4.22564.1 1.0.0-preview5.1.22263.1 @@ -48,22 +48,22 @@ - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 $(MicrosoftNETCoreAppRuntimewinx64PackageVersion) - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 6.0.0 $(MicrosoftExtensionsDependencyModelPackageVersion) 6.0.0 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 7.0.0 - 6.6.0-preview.2.23 + 6.6.0-preview.2.29 $(NuGetBuildTasksPackageVersion) 6.0.0-rc.278 $(NuGetBuildTasksPackageVersion) @@ -80,15 +80,15 @@ - 17.6.0-preview-20230221-02 + 17.6.0-preview-20230223-05 $(MicrosoftNETTestSdkPackageVersion) $(MicrosoftNETTestSdkPackageVersion) - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 + 8.0.0-preview.2.23126.3 @@ -96,11 +96,11 @@ - 8.0.0-preview1.23121.1 + 8.0.0-preview1.23124.1 - 17.6.0-preview-23122-01 + 17.6.0-preview-23124-12 $(MicrosoftBuildPackageVersion) - 8.0.100-preview.2.23122.3 + 8.0.100-preview.3.23124.8 $(MicrosoftTemplateEngineAbstractionsPackageVersion) $(MicrosoftTemplateEngineAbstractionsPackageVersion) $(MicrosoftTemplateEngineAbstractionsPackageVersion) @@ -133,39 +133,39 @@ - 12.5.0-beta.23114.3 + 12.5.0-beta.23124.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 - 4.6.0-2.23122.3 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 + 4.6.0-2.23126.2 $(MicrosoftNetCompilersToolsetPackageVersion) 4.6.0-2.23081.23 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 - 8.0.0-preview.2.23122.6 + 8.0.0-preview.3.23126.2 + 8.0.0-preview.3.23126.2 + 8.0.0-preview.3.23126.2 + 8.0.0-preview.3.23126.2 + 8.0.0-preview.3.23126.2 + 8.0.0-preview.3.23126.2 - 7.0.0-preview.23122.4 - 7.0.0-preview.23122.4 - 7.0.0-preview.23122.4 - 7.0.0-preview.23122.4 + 7.0.0-preview.23125.1 + 7.0.0-preview.23125.1 + 7.0.0-preview.23125.1 + 7.0.0-preview.23125.1 - 8.0.0-preview.2.23121.2 + 8.0.0-preview.2.23124.2 diff --git a/src/Cli/dotnet/CommonLocalizableStrings.resx b/src/Cli/dotnet/CommonLocalizableStrings.resx index 7a2cfe25a05d..60734d7c228c 100644 --- a/src/Cli/dotnet/CommonLocalizableStrings.resx +++ b/src/Cli/dotnet/CommonLocalizableStrings.resx @@ -708,4 +708,7 @@ The default is 'true' if a runtime identifier is specified. The solution file '{0}' is missing EndProject tags or has invalid child-parent project folder mappings around project GUID: '{1}'. Manually repair the solution or try to open and save it in Visual Studio." + + .NET Cli Options: + diff --git a/src/Cli/dotnet/CommonOptions.cs b/src/Cli/dotnet/CommonOptions.cs index 97a35ee092a4..ee4fb619ef97 100644 --- a/src/Cli/dotnet/CommonOptions.cs +++ b/src/Cli/dotnet/CommonOptions.cs @@ -52,7 +52,14 @@ public static Option FrameworkOption(string description) => .AddCompletions(Complete.TargetFrameworksFromProjectFile); private static string RuntimeArgName = CommonLocalizableStrings.RuntimeIdentifierArgumentName; - private static Func> RuntimeArgFunc = o => new string[] { $"-property:RuntimeIdentifier={o}", "-property:_CommandLineDefinedRuntimeIdentifier=true" }; + public static IEnumerable RuntimeArgFunc(string rid) + { + if (GetArchFromRid(rid) == "amd64") + { + rid = GetOsFromRid(rid) + "-x64"; + } + return new string[] { $"-property:RuntimeIdentifier={rid}", "-property:_CommandLineDefinedRuntimeIdentifier=true" }; + } private static Func> RuntimeCompletions = Complete.RunTimesFromProjectFile; public static Option RuntimeOption = @@ -224,6 +231,7 @@ private static IEnumerable ResolveRidShorthandOptions(string os, string internal static string ResolveRidShorthandOptionsToRuntimeIdentifier(string os, string arch) { var currentRid = GetCurrentRuntimeId(); + arch = arch == "amd64" ? "x64" : arch; os = string.IsNullOrEmpty(os) ? GetOsFromRid(currentRid) : os; arch = string.IsNullOrEmpty(arch) ? GetArchFromRid(currentRid) : arch; return $"{os}-{arch}"; diff --git a/src/Cli/dotnet/Parser.cs b/src/Cli/dotnet/Parser.cs index 95fde70e5db7..c0f9992a35ca 100644 --- a/src/Cli/dotnet/Parser.cs +++ b/src/Cli/dotnet/Parser.cs @@ -281,6 +281,28 @@ private static void SetHelpCustomizations(HelpBuilder builder) } } + public void additionalOption(HelpContext context) + { + List options = new(); + HashSet