缺少项目资料 [英] Missing project profile

查看:84
本文介绍了缺少项目资料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,专家,

我的开发机器上有一个项目(VisualStudio 2008 Standard),该项目设置为Debug | Any CPU.我将其复制到已安装Visual Studio 2008 Express的活动计算机(以及其他硬件,驱动程序等)中.

Debug vs Release的选择器显示为灰色,就像Any CPU vs Konfigurations Manager的选择器一样.

在运行的计算机上,我不再在项目的构建"选项卡中看到条件编译的符号"(大致翻译为德语).

因此,我无法删除目标计算机上需要删除的一些符号.

Hi experts,

I have a project on my development machine (VisualStudio 2008 Standard) that is set to Debug|Any CPU. I copied it to the live machine (with other hardware, drivers, etc) that has Visual Studio 2008 Express installed.

The selector for Debug vs Release is grayed out, just like the one for Any CPU vs Konfigurations Manager.

On the live machine, I can no longer see the "Symbols for conditional compilation" (roughly translated from German) in the project''s "Build" tab.

Therefore I cannot remove some symbols that need to be removed on the target machine.

What shall I do to get thos dropdowns populated and the configurations visible?

推荐答案

Visual Studio Express不支持标准版本的所有功能,因此在移动时会遇到问题这边走.最好的选择是在Express版本中创建一个新的空项目,然后手动将源模块添加到其中.
Visual Studio Express does not support all the features of the standard version so you will have problems moving this way. Your best option is to create a new empty project in the Express version and add your source modules into it manually.


除了解决方案1:

如果Visual Studio Express限制是一个关键问题(请参阅我对解决方案1的评论:我不确定),那么您应该了解,始终可以在没有Studio的情况下构建任何项目.实际上,Visual Studio本身不构建任何东西,它仅向构建系统提供输入.

构建所需的所有内容均未与Visual Studio捆绑在一起,而是与.NET Framework本身捆绑在一起,后者可自由分发并可以重新分发.至少,您始终拥有C#和VB.NET编译器并构建系统(通过MSBuild使用)-免费 .而且这种构建方式完全没有限制.请参阅:
http://en.wikipedia.org/wiki/MSBuild [ http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx [ ^ ].

遇到严重问题时,您始终可以了解项目文件的结构并直接修改该文件.我只能推荐它作为不得已的方法.此外,您可以构建非常自定义的项目文件,以完全构建任何与.NET相关的文件.这种构建项目语言纯粹是声明性的,并且功能非常强大.如果这样做,您可以开发出非常强大的构建系统,从而完全自动化所需的配置扭曲是一种完全安全的方法(特别是通过在MSBuild的命令行参数中传递自定义选项),而无需在开发和开发项目文件后手动触摸它们.已调试.我可以提供非常好的替代项目/解决方案维护.

—SA
In addition to Solution 1:

If Visual Studio Express limitation is a critical issue (please see my comments to Solution 1: I''m not sure), you should understand that you can always build any project without Studio at all. As a matter of fact, Visual Studio itself does not build anything, it only provide input to the build system.

Everything needed for build is bundled not with Visual Studio, but with .NET Framework itself, which is freely distributed and is a re-distributable. At the very least, you always have C# and VB.NET compilers and build system (used via MSBuild) — for free. And this way of build has absolutely no limitations. Please see:
http://en.wikipedia.org/wiki/MSBuild[^],
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[^].

In case of critical problems, you can always learn the structure of project files and modify such file directly. I can only recommend it as a last resort. Also, you can build very custom project files to build anything at all, related to .NET or not. This build project language is purely declarative and very powerful. If you do it, you can develop very robust build system fully automating required configuration twists is a fully safe way (in particular, by passing custom options in command-line parameters of MSBuild), without touching the project files manually after they are developed and debugged. I could provide very good alternative project/solution maintenance.

—SA


感谢所有尝试提供帮助的人,但是这次的解决方案更加亵渎了:一位同事告诉我,有一个开关可以激活在Express版本中启用配置和平台下拉菜单. 请参见此处 [
Thanks to all that tried to help, but the solution this time was so much more profane: A collegue told me that there was a switch to activate in Express editions to enable configuration and platform dropdowns. See here[^].
Having those options hidden intentionally by default puzzles me.


这篇关于缺少项目资料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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