Application manifest updates to declare long path capability
有用,有时候遇到一些莫名其妙的问题就怀疑下是不是路径太长了。
<windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings"> <ws2:longPathAware>true</ws2:longPathAware> </windowsSettings>
对于 maui 项目,加到 Platforms\Windows\app.manifest 文件里