开发者

Using different references in Visual Studio 2010 for different build platforms?

How do I set up a VS2010 project so that it uses different references based on the chosen platform? In practice, I would like to link a 32-bit library when I choose x86 as platform, but the 64-bit version of it when I choose x64.

Any idea on how to get this swap done for a C#开发者_JAVA技巧 VS2010 project?


Haven't tried it, but possibly you'll need to edit the project file and hack the Conditions into the ItemGroup with the references.

Here you go, found an SO question here with the answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜