chore: Adjust long paths warning
This commit is contained in:
Родитель
24adab3256
Коммит
4c1c25b926
|
@ -68,14 +68,12 @@
|
|||
">true</WasmBuildNative>
|
||||
|
||||
<WasmCachePath>$([System.IO.Path]::GetFullPath('$(IntermediateOutputPath)emsdk-cache'))</WasmCachePath>
|
||||
|
||||
<!-- Adjust the cache on windows if the root folder is not the same -->
|
||||
<WasmCachePath Condition="
|
||||
'$(OS)' == 'Windows_NT'
|
||||
AND '$(EmscriptenSdkToolsPath.Substring(1))' != '$(MSBuildProjectDirectory.Substring(1))'
|
||||
">C:\emsdk-cache</WasmCachePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<Warning
|
||||
Condition="'$(registry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled)'!='1' and '$(UnoUIDisableLongPathWarning)'==''"
|
||||
Text="Windows LongPath support is not enabled, you may experience build errors. You can avoid these by enabling LongPath with "reg ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1", or disable this warning by setting UnoUIDisableLongPathWarning to true."/>
|
||||
|
||||
<ItemGroup>
|
||||
<_NativeAssetsFiltered Remove="@(_NativeAssetsFiltered)" />
|
||||
</ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче