visual-studio - 无法在 macOS 上构建 VS 项目
问题描述
如果项目不在 Users/../projects 文件夹中,每当我尝试在 macOS 上构建 VS 项目时,我都会收到“路径上的共享冲突”错误。我将我的工作文件保存在单独的驱动器 (exFat) 上,该驱动器完全可以访问并且在 Windows 和 macOS 下都可以正常工作。
我认为这是由于某些权限违规而发生的,但我对 macOS 很陌生,无法弄清楚。
macOS 版本 - 莫哈韦沙漠
解决方案
Fixed in the way like kinhoon said, thanks. One useful side note: we can use "Home" env variable instead of hardcoded users/<user_id> folder
<IntermediateOutputPath Condition=" '$(OS)' == 'Unix' ">$(Home)\path_to_folder\$(Platform)\$(Configuration)</IntermediateOutputPath>
推荐阅读
- asp.net-mvc - samba 网络驱动器中的 Visual Studio 项目导致 IIS Express 权限被拒绝
- mysql - 我们可以在没有mysql中的过程的情况下执行IF ELSE吗
- java - 在 .bash_profile 中设置 JAVA_HOME 不返回正确的路径
- python - Python字典将值插入为元组而不是浮点数
- java - spring bean 方法:如何获取方法名称?
- javascript - 如何使粘性 div 响应浮动(位置:固定)div?
- python - 将具有不同键的字典写入 CSV 文件
- android - 如何获取已解析的十六进制颜色字符串以供重用?
- python - 测试经过训练的 python 模型时出现以下错误
- fortran - 如何在 do 循环中区分结果和前一个结果?