Previous Topic: Inline Code StatementNext Topic: GENENV.BAT for Windows


Visual Studio 2012 Support

CA Gen supports compiling generated C applications on Windows using Visual Studio 2012. C# applications (ASP.Net Web Clients and .Net Servers) can use Visual Studio 2012 as well with .Net Framework 3.5. By default, applications are compiled using Visual Studio 2010.

The %GENxx%Gen\VS110 (for 32-bit) and %GENxx%Gen\VS110\amd64 folder (for 64-bit) contains a collection of files that support Visual Studio 2012. A set of user exit rebuild procedures are present in the VS110 folder and are used to rebuild any necessary Visual Studio 2012 designated user exits.

When using Visual Studio 2012, users must modify the PATH to append %GENxx%Gen\VS110 before any other GEN directories %GENxx%Gen. If you build with Visual Studio 2012 and execute the application outside the Build Tool without modifying the PATH, the client application crashes. If you execute the application from the Build Tool, the application executes because the Build Tool is aware that you want to use Visual Studio 2012.

Note: Prepending %GENxx%Gen\VS110 to the PATH must only be done in the current command window session, and must not be set in the System Environment variables.