- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I have a solution which consists of many projects: vfproj, vcxproj and 1 csproj (C#). The vfproj and vcxproj have the config Debug|Win32, so I build from the command line with:
devenv AllDll.sln /build "Debug|Win32"
This builds all the vfproj and vcxproj projects. However the csproj doesn't have this config, instead it has Debug|AnyCPU and so the csproj project doesn't build. All projects build fine from Visual Studio if I do a Clean, Build.
Any idea how get them all to build from the command line?
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Duh
devenv AllDll.sln /build "Debug|Win32"
devenv AllDll.sln /build "Debug|AnyCPU"
works...
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
So does:
devenv AllDll.sln /build "Debug"
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I will comment that using AnyCPU in conjunction with a native DLL will get you into trouble if you run on a 64-bit system - at least that's what I have found. I find I need to specify WIn32 or x64 explicitly as the target CPU for the managed code application if it calls a native DLL.