beginner: visual basic build cpp - visual-c++

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

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.

Can I use Visual Studio for developing Linux C or C++?

I have to develop something in Linux(CentOS 6.5) Environment using C or C++ language with many of libraries for linux.
As you know, CentOS is not GUI. So, I want to use Microsoft Visual Studio for my work. It's OK even if use just VS as the Editor.
I mean that I like the features of IDE visual studio(intellisense, debugger, and so on).
I have Visual Studio 2008, 2010, 2013 Professional.
yes you can, in fact, if you have setup a VM machine, you can even directly include the C++ include library of Linux (However, this only works for write code, not work with compiling). You could also setup CYGWIN or MINGW for referencing the header of Linux platform.
In fact, for myself, I switched to QtCreator as a cross platform C++ IDE, it also has auto-complete and debug features.

Create a setup file in Visual Studio 2012

I have a windows form project and I want to create an installation package for this project. How can I create a setup file in Visual Studio 2012 ? My project is without data base.
How to create a Setup package using Visual Studio 2012.NET?
Microsoft released the Visual Studio Installer Project extension in April of this year, the catch is it's for VS2013, not VS2012.
http://blogs.msdn.com/b/visualstudio/archive/2014/04/17/visual-studio-installer-projects-extension.aspx
The 'lite' InstallShield option remains in VS if you need something with more flexibility.
Advanced Installer also has a free version that includes an extension for VS. This is a commercial tool but the extension is included in the free edition as I said, for more advanced features you need to purchase a Professional or higher licenses and edit the project direct from Advanced Installer GUI, not from VS. (but you can still use the project in the VS solution, so you get the MSI built at the end of your build process)
Visual Studio setup projects (vdproj) are not supplied with VS 2012
There are several solutions for you:
You could use InstallShield instead.
If you don't want or
can't use InstallShield for any reason, you could try WiX. This
toolset builds Windows installation packages from XML source code.
If you only use Windows Presentation Foundation (.xbap), Windows Forms (.exe), console application (.exe), or Office solution (.dll) you could look at ClickOnce. To use this you should right click on the project file in the solution explorer and select "Publish" from the pop-up menu.
Alternatively you can use previous version of Visual Studio (2010).

How to generate code map in VS 2012

How can I generate a code map in visual studio, can generate class diagram but where is the option for code map ?
You need to have installed Update 1 for VS2012, and be using Professional, Premium or Ultimate editions if Visual Studio.
Taken from this source here:
Before we get started you need to be aware of the requirements for Code Map. Below are the requirements to leverage this feature:
Visual Studio 2012.1 and one of these editions:
Visual Studio 2012 Ultimate to create code maps from the code editor or from Solution Explorer.
Visual Studio 2012 Premium or Visual Studio 2012 Professional to open code maps, make limited edits, and navigate code.
A solution with Visual C# .NET or Visual Basic .NET code
Note: Before you share maps with others who use Premium or Professional, make sure that all the items on the map are visible, such as hidden items, expanded groups, and cross-group links.

Customise Visual Studio 2012 installation (C# only)

Is there any way to customise which languages are installed with Visual Studio 2012? I only want C#, no VB or F# etc.
I'm trying to install Visual Studio 2012 Premium RTM.
The first install page I see this:
and the next I see this:
but there's no option to choose which languages I want to install :-(
I think thats as much customization as your going to get.
http://blogs.msdn.com/b/visualstudio/archive/2012/06/04/setup-improvements-for-visual-studio.aspx
http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2639283-bring-back-the-visual-studio-installation-customiz
According to those links they [Microsoft] removed then brought back the option for customization. And what you see there is all you get. I know my installation of VS 2012 (upgraded express to ultimate) is only taking up 2 gb so IDK why it is saying it needs 6.
I've raised the point on the Visual Studio installation forum, see what comes of it.

Resources