How can you access the Visual Studio solution level platform from a C# project's build event?

后端 未结 5 1920
既然无缘
既然无缘 2020-12-11 02:07

We have a large VS 2010 solution that is mostly C# code but there are a few native DLLs that various C# projects depend upon (including our unit testing DLL). We\'re in the

5条回答
  •  萌比男神i
    2020-12-11 02:19

    When I had to do this, I simply made all of my assemblies buildable as x86 or x64 rather than AnyCPU, and had two separate output packages. There's really no point in AnyCPU if you KNOW your process must be 32-bit or 64-bit a prori.

提交回复
热议问题