通过编译解决方案错误MSB3073:命令“&%”%PROGRAMFILES%\ Macintosh / SDK \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\退出代码1。 [英] Error MSB3073 by compiling solution: The command ""%PROGRAMFILES%\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe" exited with code 1.

查看:389
本文介绍了通过编译解决方案错误MSB3073:命令“&%”%PROGRAMFILES%\ Macintosh / SDK \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\退出代码1。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在VS2015中构建解决方案时出现错误:

When I'm trying to build a solution in VS2015 I got an error:

推荐答案

欢迎使用MSDN论坛。

Welcome to MSDN forum.

>>将程序集添加到缓存失败:需要管理员权限才能使用选定的选项。使用管理员命令提示符完成这些任务。

请以管理员身份运行visual studio,然后构建解决方案以检查是否问题仍然存在。

Please run visual studio as administrator and then build the solution to check if the issue persists.

如果它不起作用,请以管理员身份打开命令提示符并运行命令:

If it doesn't work, open a command prompt as an administrator and run the command:

" C:\Program Files(x86)\ Microsoft SDKs \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \\gacutil.exe" / if"E:\ path\path\buildoutput \whatever.dll""

"C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\gacutil.exe" /if "E:\path\path\buildoutput\whatever.dll"

祝你好运,

Joyce





这篇关于通过编译解决方案错误MSB3073:命令“&%”%PROGRAMFILES%\ Macintosh / SDK \ Windows \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\退出代码1。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆