diff --git a/samples/HelloWorld/HelloWorld.csproj b/samples/HelloWorld/HelloWorld.csproj index b7b8383f4845..04235d6a4a5f 100644 --- a/samples/HelloWorld/HelloWorld.csproj +++ b/samples/HelloWorld/HelloWorld.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 true true diff --git a/samples/NativeLibrary/NativeLibrary.csproj b/samples/NativeLibrary/NativeLibrary.csproj index 9e06bb9bf99f..6d5a02128190 100644 --- a/samples/NativeLibrary/NativeLibrary.csproj +++ b/samples/NativeLibrary/NativeLibrary.csproj @@ -2,7 +2,7 @@ library - net9.0 + net10.0 true true @@ -15,7 +15,7 @@ - + diff --git a/src/tests/nativeaot/SmokeTests/HelloWasm/PackagingTests.csproj b/src/tests/nativeaot/SmokeTests/HelloWasm/PackagingTests.csproj index bad8d36b5959..f621b7c44c43 100644 --- a/src/tests/nativeaot/SmokeTests/HelloWasm/PackagingTests.csproj +++ b/src/tests/nativeaot/SmokeTests/HelloWasm/PackagingTests.csproj @@ -7,22 +7,44 @@ - - - - - $(OutputPath)%(FileName) - - - $(Configuration) $(NetCoreAppCurrent) $(TargetOS)-$(TargetArchitecture) $(ArtifactsShippingPackagesDir) $([MSBuild]::NormalizeDirectory('$(PackageOutputPath)', 'packages', '$(Configuration)')) + $(NETCoreSdkPortableRuntimeIdentifier.Replace('-$(BuildArchitecture)', '-$(IlcHostArch)')) + + + + Test_Configuration=$(Test_Configuration); + Test_TargetFramework=$(Test_TargetFramework); + Test_RuntimeIdentifier=$(Test_RuntimeIdentifier); + Test_PackageVersion=$(NetCoreAppCurrentVersion).0-*; + Test_RestoreSource=$(Test_RestoreSource); + Test_RestorePackagesPath=$(Test_RestorePackagesPath); + Test_HostPackageRuntimeIdentifier=$(Test_HostPackageRuntimeIdentifier); + _hostArchitecture=$(IlcHostArch); + + + + + + + + Configuration=$(Test_Configuration); + RuntimeIdentifier=$(Test_RuntimeIdentifier); + + + + + + + @@ -35,33 +57,19 @@ before "./build nativeaot.packages" because the pkgproj targets do not declare their inputs properly. --> - - - - - Test_Configuration=$(Test_Configuration); - Test_TargetFramework=$(Test_TargetFramework); - Test_RuntimeIdentifier=$(Test_RuntimeIdentifier); - Test_PackageVersion=$(NetCoreAppCurrentVersion).0-*; - Test_RestoreSource=$(Test_RestoreSource); - Test_RestorePackagesPath=$(Test_RestorePackagesPath); - Test_HostPackageRuntimeIdentifier=$(NETCoreSdkPortableRuntimeIdentifier.Replace('-$(BuildArchitecture)', '-$(IlcHostArch)')); - _hostArchitecture=$(IlcHostArch); - - + + Properties="%(BuildProperties)" /> -