What's new

Visual Studio .Net Enterprise Question

Hexidecimal

Emutalk Bounty Hunter.
Is there anything special i need to do to get the Build Selection button to come into function?

I'm used to Visual C++ 6, all I want to do is get CPP files to compile and link to programs, and I can't get them to compile.
 

PsyMan

Just Another Wacko ;)
Every program has a "project" file (For microsoft's visual C++ it should be "myprogram.vcproj" or similar). You just open that file with Visual Studio .Net (the file is converted when necessary) and after that you're able to build it.
 
Last edited:
OP
Hexidecimal

Hexidecimal

Emutalk Bounty Hunter.
What type of project file do I need if I just want console applications to come from my source?
 

PsyMan

Just Another Wacko ;)
The type of the application doesn't matter. The extension of the project file varies depending on the development environment you're using (microsoft's environments are compatible with VS .NET).
While running VS .NET you can open the project file of your project from the "file, open, project" tab. Then you just go to the directory where your project files are and you should be able to open the project file. After that you can build your project from the "build" tab. :)
 
Last edited:
OP
Hexidecimal

Hexidecimal

Emutalk Bounty Hunter.
Sorry, I'm starting from scratch and am used to our schools setup, where my doofus teacher just tells us to open a new CPP file and code, not informing us of the workspace and project setup.

At school I code, hit build, it compiles and links, then sends me to the program (which are command line programs, dos based) I'm just wandering how to get to that point.
 

PsyMan

Just Another Wacko ;)
I see... In that case you should start a new C++ project (in your case choose a console application) and add the source files and the header files of your project manualy.

EDIT: There is a possibility that some things will need be changed, added or deleted from the project...
 
Last edited:

Eagle

aka Alshain
Moderator
If youve never used a project then you haven't learned much except C++, which is fine you can do a lot of advanced stuff in C++. Your teacher wasn't a dufus, he/she was just teaching you what the course required and Projects are not a part of C++ technically, but a part of the compilers. If you would really like to get into the specifics of what your compiler can do (in this case VC.net) then I would reccomend finding a good resource book.
 
OP
Hexidecimal

Hexidecimal

Emutalk Bounty Hunter.
Ok, Im getting it to comile now, but no exe comes out of it, in fact, nothing comes out of it at all, it just compiles and makes no new files.
 

_Chrono_

aka Chrono Archangel
Hexidecimal said:
Ok, Im getting it to comile now, but no exe comes out of it, in fact, nothing comes out of it at all, it just compiles and makes no new files.

if its like VB projects..it should find itself in the bin or Release folder of the project.
 

remmy

reenignE
By default, if you haven't modified the output or build type, it will output the executable to the Debug folder.
 

Top