- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Duh
devenv AllDll.sln /build "Debug|Win32"
devenv AllDll.sln /build "Debug|AnyCPU"
works...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So does:
devenv AllDll.sln /build "Debug"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page