File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 <!-- Post-build event to copy WASM files to web directories -->
2424 <Target Name =" CopyWasmFilesToWeb" AfterTargets =" Publish" Condition =" '$(RuntimeIdentifier)' == 'browser-wasm'" >
2525 <PropertyGroup >
26- <WasmAppBundlePath >$(PublishDir)..\ AppBundle\ _framework</WasmAppBundlePath >
27- <WebPublicWasmPath >$(MSBuildProjectDirectory)\..\..\ examples\ web\ public\ wasm</WebPublicWasmPath >
28- <WebLibWasmPath >$(MSBuildProjectDirectory)\..\..\ src\ web\ wasm</WebLibWasmPath >
26+ <WasmAppBundlePath >$(PublishDir)../ AppBundle/ _framework</WasmAppBundlePath >
27+ <WebPublicWasmPath >$(MSBuildProjectDirectory)/../../ examples/ web/ public/ wasm</WebPublicWasmPath >
28+ <WebLibWasmPath >$(MSBuildProjectDirectory)/../../ src/ web/ wasm</WebLibWasmPath >
2929 </PropertyGroup >
3030
3131 <Message Text =" Copying WASM files from $(WasmAppBundlePath) to $(WebPublicWasmPath) and $(WebLibWasmPath)" Importance =" high" />
3636
3737 <!-- Copy all WASM framework files (including subdirectories) -->
3838 <ItemGroup >
39- <WasmFrameworkFiles Include =" $(WasmAppBundlePath)\**\ *" />
39+ <WasmFrameworkFiles Include =" $(WasmAppBundlePath)/**/ *" />
4040 </ItemGroup >
4141
42- <Copy SourceFiles =" @(WasmFrameworkFiles)" DestinationFolder =" $(WebPublicWasmPath)\ %(RecursiveDir)" SkipUnchangedFiles =" false" />
43- <Copy SourceFiles =" @(WasmFrameworkFiles)" DestinationFolder =" $(WebLibWasmPath)\ %(RecursiveDir)" SkipUnchangedFiles =" false" />
42+ <Copy SourceFiles =" @(WasmFrameworkFiles)" DestinationFolder =" $(WebPublicWasmPath)/ %(RecursiveDir)" SkipUnchangedFiles =" false" />
43+ <Copy SourceFiles =" @(WasmFrameworkFiles)" DestinationFolder =" $(WebLibWasmPath)/ %(RecursiveDir)" SkipUnchangedFiles =" false" />
4444
4545 <Message Text =" WASM files copied successfully!" Importance =" high" />
4646 </Target >
You can’t perform that action at this time.
0 commit comments