September 30, 2009
The Workshop provides quiz questions to help solidify your understanding of what was covered in this hour. Answers are provided in Appendix A, “Quiz Answers.”
Quiz
1: What is a solution?
2: Can Visual C++, Visual Basic, and C# projects all reside within the same solution?
3: How many steps does it take to build a solution with all [...]
September 27, 2009
Is it possible to convert existing workspaces from previous Visual Studio versions into a solution within Visual Studio .NET?
A1: Yes. By you opening the existing workspace, Visual Studio .NET will convert it into a solution for you so that you can start working with your old projects in the new environment.
Q2: What if I [...]
September 24, 2009
The Configuration Manager, shown in Figure 1.8, allows you to manage all the configurations of each project currently loaded in Visual Studio .NET. You can determine which configuration to build for each project for each solution configuration. Configurations can be configured to selectively eliminate projects from the build.
As indicated earlier, you can build an entire [...]
September 21, 2009
Added Visual C++ runtime error checks, to name a few, are notification when assigning a long data type to a shorter one, the use of uninitialized variables, and stack corruption. In addition, you can customize the runtime error checks in a number of ways—one of which is routing the error information to a file or [...]
September 18, 2009
Other new features include the following:
Debugging applications written for the .NET Framework or Win32. Because solutions written with the .NET Framework may contain several projects with differing programming languages, Visual Studio has integrated the debugging process to seamlessly transition from the debugging of one language to another without any extra work needed by the user.
Attaching [...]
September 15, 2009
There are not many differences between how you perform the build/debug process in Visual Studio .NET and previous versions of Visual Studio. There are, however, several internal differences that allow debugging across languages now that all the compilers are integrated. It is possible with the new debugger to debug Visual Basic, Visual C++, C#, the [...]
September 12, 2009
The solution shown in Figure 1.7 actually contains five different projects and a miscellaneous file. The five projects include a Web service written in VB .NET, a Web site written in ASP.NET with C#, a couple of Visual C++ projects, and a Web Setup Windows Installer project.
By using a single command, Ctrl+Shift+B, or the menu [...]
September 9, 2009
One of the most notable changes in Visual Studio .NET from previous versions is how projects are managed and organized. Previous versions of Visual Studio allowed you to add several projects to a workspace, but they all had to be independent projects and written in Visual C++.
Visual Studio .NET, however, recognizes several project types, including [...]
September 6, 2009
ATL Server project (new). Create a new Internet Information Services (IIS) Web server extension using ATL. Among the many features ATL Server provides (such as access to cryptography, mail, and message queuing on the server), ATL Server lets you create and define your own markup tags on Web pages. When these markup tags are encountered [...]
September 3, 2009
MFC application. Create a new Windows application using the MFC library. The MFC library is a collection of C++ classes that make using the WIN32 application programming interface (API) much easier. It supports various features such as window management, Internet programming, file I/O, and extended data types, to name just a few.
MFC DLL project. Create [...]