问题描述
代表步骤:
- 创建一个新的空白UWP VC ++应用程序项目(文件->新建-> gt; 项目-> Visual C ++-> Windows->通用->空白应用)
- 将项目存储在D:\ (VS安装在C:上)
- 按F5来构建和运行应用程序
- Create a new, blank, UWP, VC++ app project (File --> New --> Project --> Visual C++ --> Windows --> Universal --> Blank App)
- Store the project on D:\ (VS is installed on C:)
- Hit F5 to build and run the app
错误:
现在重复该过程,但是这次将项目存储在C:\.一切正常.
Now repeat the process but this time store the project on C:\. Everything works just fine.
如何配置VS,以允许我存储和运行存储在与安装VS的驱动器不同的驱动器上的项目?
规格:
Microsoft Visual Studio Enterprise 2015
版本14.0.24720.00更新1
Microsoft .NET Framework
版本4.6.01038
Microsoft Visual Studio Enterprise 2015
Version 14.0.24720.00 Update 1
Microsoft .NET Framework
Version 4.6.01038
Windows 10.
Windows 10.
推荐答案
请创建其他类型的项目,以确保仅UWP项目还是所有类型的项目都出现此问题.
Please create other type of project to make sure whether this problem occurs with just UWP project or with all type projects.
据我所知,项目不需要存储在安装了VS的驱动器中.请将您的项目存储到另一个驱动器,例如E:\或其他.如果您的计算机上没有其他驱动器,请更换安装了VS2015的另一台计算机 并有其他驱动器.
As far as I know, projects needn't to store in the drive where VS installed. Please store your project to another Drive, such as E:\ or others. If you don't have other drives on your computer, please change another computer which installed VS2015 and has other drives.
您还可以检查计算机上的D:\,是否已加密.请参阅具有类似问题的该线程.这是由加密的驱动器引起的.
You also can check the D:\ on your computer, whether it is encrypted. Please refer to this thread, which has the similar problem. It is caused by the encrypted drive.
http://stackoverflow.com/questions /19847563/无法激活Windows-store-app-the-app-didnt-start
根据该错误消息,它提到请参阅帮助以获取有关对问题进行故障排除的建议".请尝试帮助中的建议.
According to the error message, it mentioned that "See help for advice on troubleshooting the issue". Please try the suggestion in help.
最好的问候,
威威
Best Regards,
Weiwei
这篇关于VS2015项目只能放在安装驱动器上吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!