diff --git a/src/Microsoft.AspNetCore.Components.WebAssembly.Runtime/Microsoft.AspNetCore.Components.WebAssembly.Runtime.csproj b/src/Microsoft.AspNetCore.Components.WebAssembly.Runtime/Microsoft.AspNetCore.Components.WebAssembly.Runtime.csproj index 74cb0e49..3c1056f8 100644 --- a/src/Microsoft.AspNetCore.Components.WebAssembly.Runtime/Microsoft.AspNetCore.Components.WebAssembly.Runtime.csproj +++ b/src/Microsoft.AspNetCore.Components.WebAssembly.Runtime/Microsoft.AspNetCore.Components.WebAssembly.Runtime.csproj @@ -17,7 +17,7 @@ - + @@ -25,10 +25,20 @@ - + + + <_WasmItemsToCopy Include="@(WasmItemsToCopy)" + DestinationPath="$(MonoDistDir)wasm\%(RecursiveDir)%(FileName)%(Extension)" + Condition="'%(Extension)'!='.js'" /> + + <_WasmItemsToCopy Include="@(WasmItemsToCopy)" + DestinationPath="$(MonoDistDir)wasm\%(RecursiveDir)%(FileName).$(PackageVersion)%(Extension)" + Condition="'%(Extension)'=='.js'" /> + + - +