File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -190,13 +190,11 @@ private async Task LoadData()
190190
191191 try
192192 {
193- #if __WASM__
194193 // Workaround for https://github.com/unoplatform/uno/issues/8649
195194 if ( fileExtension . Contains ( ".cs" ) )
196195 {
197196 fileExtension = fileExtension . Replace ( ".cs" , ".cs.dat" ) ;
198197 }
199- #endif
200198
201199 var finalPath = $ "ms-appx:///{ filePath } .{ fileExtension . Trim ( '.' ) } ";
202200
Original file line number Diff line number Diff line change 4646
4747 <!-- Link/.dat is a workaround for https://github.com/unoplatform/uno/issues/8649 -->
4848 <Content Include =" $(RepositoryDirectory)components\**\samples\**\*.cs" Exclude =" $(RepositoryDirectory)**\**\samples\obj\**\*.cs;$(RepositoryDirectory)**\**\samples\bin\**\*.cs" >
49- <Link Condition = " $(IsWasm) == 'true' " >SourceAssets/%(RecursiveDir)%(FileName)%(Extension).dat</Link >
49+ <Link >SourceAssets/%(RecursiveDir)%(FileName)%(Extension).dat</Link >
5050 </Content >
5151
5252 <!-- Include markdown files from all samples so the head can access them in the source generator -->
6161
6262 <!-- Link/.dat is a workaround for https://github.com/unoplatform/uno/issues/8649 -->
6363 <Content Include =" $(MSBuildProjectDirectory)\..\..\samples\**\*.cs" Exclude =" $(MSBuildProjectDirectory)\..\..\samples\obj\**\*.cs;$(MSBuildProjectDirectory)\..\..\samples\bin\**\*.cs" >
64- <Link Condition = " $(IsWasm) == 'true' " >SourceAssets/%(RecursiveDir)%(FileName)%(Extension).dat</Link >
64+ <Link >SourceAssets/%(RecursiveDir)%(FileName)%(Extension).dat</Link >
6565 </Content >
6666
6767 <!-- Include markdown files from all samples so the head can access them in the source generator -->
You can’t perform that action at this time.
0 commit comments