|
MsBuild Template Topic updated 18-10-2007 |
|
The MsBuild Template takes care of the compilation process after a project has been generated, and it generates a C# project file (.csproj) where this is required by the project type. It depends on the .NET 2.0 Framework to accomplish the compilation task. Projects generated by GenWise are a 100% compatible with the Microsoft Visual Studio .NET 2005 project system, so the generated C# project file can be opened directly with Visual Studio. Since the MsBuild Template is a GenWise Template, you can add your own code to the compilation process (inside the User Codeblocks).
The MsBuild Template is required as a single instance template per project. It cannot be deleted from a project and it cannot be added to a project manually. Normally, C# projects require one item that can be built. A validation error results if this in not the case. The MsBuild Template is automatically added to projects:
See also Compilation is started from the Build Page. The Building your First Application chapter gives examples of using the MsBuild Template for building applications:
|