Xamarin提取温度路径,可以更改吗?

发布于 2025-01-26 13:58:29 字数 891 浏览 0 评论 0原文

是否可以设置Xamarin在归档应用程序构建其“提取”路径时使用的路径,我正在使用Windows最大路径长度达到一个限制(并且已经设置了Group Policy/Regedit标志以支持更长的长度,没有帮助)。

当前,它似乎设置为%appData%\ local \ temp \ xamarin \ extractions \ [guid] \ [appName] [dateTime] \ products \ applications \ [appName] \ [component] \ [component](或无论如何,类似的东西)

在Visual Studio,Msbuild或Xamarin中是否有一个选项 /标志 /设置,我可以在某个地方添加以从%appdata%\ local \ local \ temp \ xamarin \ extractions < / code>设置该初始路径< / code>对于c:\ temp之类的短暂的东西?

用我的Windows登录名称路径为&amp;包括提取已经是允许的260个奇数的63个字符,[guid]到最终文件夹部分是另外146个,因此确实不会离开任何房间为了从中提取 /阅读实际组件本身。

不知道它是否相关/有用,但是我正在使用Windows 10上的Visual Studio Professional 2022,iOS构建是通过网络的Mac Mini完成的,但是由于存档过程失败,它们甚至不会再走那么远。

另外,我遇​​到的实际错误是:有一个错误解压缩文件c:\ developt \ archives \ ios \ 2022-04-29 \ d921bd55.zip:找不到路径的一部分。 :\ users \ ... etc

Is it possible to set the path that Xamarin uses when Archiving app builds for it's "Extractions" path, I'm hitting a limitation with the windows maximum path length currently (And have setup group policy/regedit flags already to support longer lengths, that isn't helping).

Currently it seems to be set to %APPDATA%\Local\Temp\Xamarin\Extractions\[GUID]\[Appname] [DateTime]\Products\Applications\[AppName]\[Component] (or something like that anyway)

Is there an option / flag / setting in Visual Studio, MSBuild, or Xamarin somewhere that I can add to set that initial path from %APPDATA%\Local\Temp\Xamarin\Extractions to something shorter like C:\Temp ?

With my windows login name the path upto & including Extractions is already 63 characters of the 260 odd that are allowed, The [GUID] to the final folder part is another 146, so that really doesn't leave any room for the actual components themselves to be extracted / read from.

Not sure if it's relevant/helpful but I'm using Visual Studio Professional 2022 on Windows 10, the iOS builds are done via a networked Mac Mini but they won't even get that far anymore because of the archive process failing.

Also, the actual error I'm getting is: There was an error unzipping the file C:\Development\Archives\iOS\2022-04-29\d921bd55.zip: Could not find a part of the path 'C:\Users\... etc

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文