From 01064911bab600418b8dec2cd20c937f280f2d1a Mon Sep 17 00:00:00 2001 From: Pranav K Date: Tue, 3 Mar 2020 09:15:57 -0800 Subject: [PATCH] Use version numbers in dotnet.js pack output (#1985) * Use version numbers in dotnet.js pack output --- ...NetCore.Components.WebAssembly.Runtime.csproj | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) 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'" /> + + - +