






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Click File\New\Project (ctrl+shift+N) to get a tabbed dialog box with project tab selected. Enter a solution location by typing or browsing (if the path you type does not exist it will be created). Select Other Project Types/Visual Studio Solutions and click on Blank Solution Enter a name for your project (will reside in a subdirectory in your workspace by default – change by editing the location). Click on OK – this creates a directory holding a solution file, intellisense database file, and a user options file
Right click on project and select Add/Add New Item Select UI to add a form or Code to add a header or implementation file.
Now you are ready to enter code Note: adding a new file creates a blank file in the project directory
Right click on project and select Add/Add Existing Item Browse through directories until you find the file you want. Select it and click OK Note: adding an existing file to a project does not copy or move any file. It simply adds the path to the selected file into the project settings. Be aware that if you change this added existing file in the IDE editor, it will change the original back in its source folder. This is not the way C# works, and is probably not what you want. To avoid this you can make a copy, using Windows Explorer, and add the copy to the project directory. That, of course, means that you now have two versions of the file. Be careful!
By default, if you select build it will build all projects in the solution. If you select Project Only/Build, you will build just the selected project. Warnings and errors are shown in the bottom window. Fix these and rebuild. Double click on warnings and errors to go to the problem location in source code
drag and drop. A click on that will start an execution
Click Project\Settings to get a tabbed dialog box. Click on Debug tab and enter Program arguments for the command line
Click OK
Figure 1. – Add Blank Solution
Figure 2. – Add a Win32 Project Figure 3. – Select Application Settings
Figure 10. – Tabs and Spaces