diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets index 0edd9c12335..03311e67ab4 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets @@ -106,7 +106,10 @@ - + + + + <_FilesToCopyToNative Include="$(NativeOutputPath)\dotnet.native.js" /> <_FilesToCopyToNative Include="$(NativeOutputPath)\dotnet.native.wasm" /> diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets index 6418e84d3b3..d26e02924e2 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.targets @@ -444,7 +444,7 @@ The .NET Foundation licenses this file to you under the MIT license. "$(WASI_SDK_PATH)/bin/clang++" "$(WASI_SDK_PATH)/bin/clang" - + @@ -537,6 +537,7 @@ The .NET Foundation licenses this file to you under the MIT license. true + $([System.IO.Path]::ChangeExtension('$(NativeBinary)', '.debug.wasm')) @@ -587,6 +588,7 @@ The .NET Foundation licenses this file to you under the MIT license. +