无法打开Visual Studio“项目 - >属性" (VS 2015) [英] Can't open Visual Studio "Project -> Properties" (VS 2015)

查看:165
本文介绍了无法打开Visual Studio“项目 - >属性" (VS 2015)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一些项目中,我无法打开 ""Project - >属性",它应该弹出,但当我点击它时,我收到一个错误说:


"导入的项目"C:\Users .... \props\myCustomSettings.props"找不到...."


因此我很确定错误是因为" myCustomSettings.props"
我自己做的。我只是测试并删除了文件夹"props"使用"myCustomSettings.props"我做完之后很快就在里面。但是现在我的一些项目链接到这个props文件,即使我没有自己链接
任何项目。


我想知道如何取消导入这个道具文件,或者是否可能导致此错误?


谢谢寻求答案。   

解决方案

您好,


欢迎来到MSDN论坛。


Visual C ++项目系统基于MSBuild,值存储在XML项目文件中,默认.props和.targets文件(对于Visual Studio 2015)位于
< drive> \Program Files(x86)\ MSBuild\Microsoft.Cpp \v4.0\V140 以及您可能添加的自定义.props文件。我们强烈建议您不要手动编辑这些文件。



请检查字符串值,如下面的屏幕截图所示:



如果问题仍然存在,请提供重现问题的详细步骤。


致以最好的问候,


Joyce



In some of my projects I cannot open "Project -> Properties", it should pop up, but when I click on it I get an error saying:

"The imported project "C:\Users....\props\myCustomSettings.props" was not found...."

Therefore I am pretty sure the error is because of "myCustomSettings.props" which I have made myself. I was just testing and deleted the folder "props" with "myCustomSettings.props" inside it very quick after I made it. However now some of my projects is linked to this props-file even though I didn't link any projects to it myself.

I was wondering how I can un-import this props-file, or if it could be anything else that is causing this error?

Thanks for answers.   

解决方案

Hi,

Welcome to MSDN forum.

The Visual C++ project system is based on MSBuild and the values are stored in the XML project file, default .props and .targets files that (for Visual Studio 2015) are located in <drive>\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140 and in custom .props files that you might add. We highly recommend that you use NOT edit those files manually.

Please check the String Value like the following screenshots:

If the issue persists, please provide your detailed steps to reproduce the issue.

Best regards,

Joyce


这篇关于无法打开Visual Studio“项目 - &gt;属性&QUOT; (VS 2015)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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