且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么我在VS中找不到工具集设置?

更新时间:2023-11-17 19:35:52

OP提供的链接用于C ++项目。 OP现在已经确认它是Windows Forms和
The link supplied by the OP was for a C++ project. OP has now confirmed that it's Windows Forms and
引用:

我只看到应用程序,构建,构建事件,调试 ,...没有找到共同属性或配置属性

I just see "Application", "Build", "Build Events", "Debug", ... No "Common Properties" or "Configuration Properties" were found





要做同等的事情:



在属性页面的Build选项卡上有一个 Platform目标: - 您可以将其设置为 x86 但请注意,这不是一个好习惯! (***使用任何CPU)。



更好的方法是在Application选项卡中更改目标框架:你的XP机器上有哪个版本(3.5通常都可以)。



请注意,我在尝试在Windows 7上运行的XP上运行项目时遇到了问题我不知道这是不是一个共同的主题,或者只是我当时的设置 - 我通过在XP机器上进行构建来解决这个问题。



To do the equivalent:

On the Build tab of the properties pages there is a Platform target: - you can set that to x86 but note that this is not good practice! (Any CPU is preferable).

The better approach is to change the Target framework: in the Application tab to whichever version you have on your XP machine (3.5 is usually ok).

Note that I have experienced issues trying to run projects on XP that were built on Windows 7. I don't know if that is a common theme or it was just my set up at the time - I got around it by doing the build on the XP machine.