Does the WIX heat utility work with Visual C++ projects? - visual-c++

I am just starting to use Wix and would like to use heat to extract the outputs from my Visual C++ projects to source Wix files. This seems to work great for my C# projects, however, whenever I run heat on a C++ project I get an error:
heat project MyProject.vcproj -pog:Binaries -cg MyGroup -nologo -out MySource.wxs
heat.exe : error HEAT5307 : Build failed.
Is this supposed to work or am I doing something wrong? Thanks

Not in Visual Studio 2008 and earlier. C++ projects are not really MSbuild projects (just a shells around vcbuild.exe or something like that) so there is no introspection into those projects. It's quite sad.
Rumor has it that the VC++ team is fixing this in Visual Studio 2010 so hopefully things will start working there.

Related

CMake to create a Visual Studio Code project

Does any know if there are any efforts for cmake to generate a Visual Studio Code project (not to be confused with Visual Studio)? IE
cmake -G "Eclipse CDT4 - Unix Makefiles"
not for eclipse, but for Visual Studio Code? This would be awesome for linux projects.
As already mentioned, VS Code has the vscode-cmake-tools extension to integrate with CMake projects.
See here for documentation on what features it has to offer. You will see that building and debugging within the IDE are supported.
The design of VS Code is very much centered around being simple and extensible, whereas Visual Studio is more of a monolith and includes its own build system for C++. VS Code is not monolithic like that.

Visual Studio 2013 no C++ templates Modify install doesn't fix

I'm forced to use Visual Studio 2013 for a class, and I need to use c++ within it. I have downloaded and installed VS 2013 Professional with Update 5, however there is no option to create a C++ project. I have already attempted to repair and modify the install to include c++. The checkbox for c++ is selected on this modify isntall screen, and it seems to go through the motions of adding the c++ requirements. However, C++ still doesn't show up as an option in new templates. I have already tried running 'devenv /installvstemplates" from the command line, that seemed to add some files to the directory but still no c++ support. Can anyone shed any light on this? Thank you for your time

how to convert VC++ 2005 projects to VC++ 2012 projects in bulk?

i want to convert around 200 projects from VC++ 2005 to VC++ 2012 projects and build them.
can somebody help me steps i need to follow to achieve this.
Thanks,
Visual Studio will automatically convert your projects from VS2005 to the VS2012 format when you open the solution/project. Notice that an important change is that in VS2012 MSBuild is used instead of VSBuild for building the VC++ projects.
Depending on the projects you have you may run into some breaking changes that you have to resolve manually. Take a look at Lessons learned migrating to Visual Studio 2012 and .NET 4.5 to get an overview of possible problems and things to do.

VS2012 project file into makefile

hello all i'm developing cross-platform system.
I know that we have make it so. and some others like sln2mak.
however they do not support Visual Studio 2012.
does anyone know if something like this exists for VS2012 project files?

beginner: visual basic build cpp

Disclaimer: I am a total beginner to Visual Basic but code a bit in python and Drupal
I need to compile this C++ app (http://sourceforge.net/scm/?type=git&group_id=227253). I succesfully cloned from git, but how do I compile it (get the .exe) in Visual Basic 2008 or 2010 Express?
I have tried this:
1. Open Visual Basic 2008 Express, File, New, Windows Form Application (naive assumption, which should I choose?)
2. Dragged the contents of the git clone into the Solution Explorer Window (which Adds files)
3. Click Build menu
After that I'm lost. Any help is appreciated! This project uses cmake if that helps.
You need Visual C++, not Visual Basic. They are separate languages.
You cannot compile a C++ program in Visual Basic 2008 Express.
You must download Visual C++. Or purchase Visual Studio 2010 Pro (which includes all of VB, C++, C# and the web tools).
If you've got the bandwidth, I'd encourage you to get this .iso:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express-iso
If you're interested in the "bleeding edge", MSVS 2011 beta is available here:
http://www.microsoft.com/visualstudio/11/en-us/downloads
Otherwise, if you just want to compile some C+ code on a Microsoft Visual Studio compiler, get this:
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express

Resources