d07a78532c
This commit changes `NETCoreSdkRuntimeIdentifier` to be based off of `ProductMonikerRid` instead of `CoreSetupRid`. `CoreSetupRid` is set to the host RID for the build, by default. For most architectures, this was fine. However, for ARM/ARM64 builds, we cross-build, so `CoreSetupRid` is actually x64 and not ARM/ARM64. As a result, the default apphost being used isn't built for ARM so `dotnet run` fails with an exec format error when trying to exec the apphost. Instead, we should be using the RID of the product being built rather than the host RID. Fixes dotnet/cli#10291. |
||
---|---|---|
.. | ||
buildpipeline/security | ||
compile | ||
package | ||
prepare | ||
publish | ||
templates | ||
test | ||
AppHostTemplate.proj | ||
AzureInfo.props | ||
BackwardsCompatibilityRuntimes.props | ||
BranchInfo.props | ||
Branding.props | ||
BuildAndPublishAllLinuxDistrosNativeInstallers.targets | ||
BuildDefaults.props | ||
BuildInfo.targets | ||
BundledDotnetTools.proj | ||
BundledDotnetTools.props | ||
BundledRuntimes.props | ||
BundledTemplates.proj | ||
BundledTemplates.props | ||
BundledToolset.props | ||
CLI_Baseline.csv | ||
ComposeSdk.targets | ||
CrossGen.props | ||
DependencyVersions.props | ||
DerivedHostMachineInfo.props | ||
DownloadPackageVersions.targets | ||
FileExtensions.props | ||
GenerateResxSource.targets | ||
GitCommitInfo.targets | ||
HostInfo.targets | ||
InitRepo.props | ||
InitRepo.targets | ||
InputDirectories.props | ||
InstallerInfo.props | ||
LinuxDistrosNativeInstaller.props | ||
MicroBuild.props | ||
Microsoft.DotNet.Cli.tasks | ||
MSBuildExtensions.targets | ||
NugetConfigFile.targets | ||
OutputDirectories.props | ||
Package.targets | ||
Prepare.targets | ||
Publish.targets | ||
RestoreDependency.proj | ||
run-build.ps1 | ||
SandBoxAndPackage.proj | ||
SandBoxAndPackageInParallel.proj | ||
SetupPreviousStage.props | ||
Signing.proj | ||
TargetFramework.props | ||
Test.targets | ||
TestDependencyVersions.props | ||
Version.props |