XNA 3.1 and TX2D 3.1 warnings
by Martin Andresen · in Torque X 2D · 09/27/2009 (12:08 pm) · 2 replies
I've just installed XNA 3.1 and TX2D 3.1, but when I create a new Starter Game project I get a lot of warnings.
First, the Core project is set to 360, 2D and game is initially x86. I change Core to x86, and can now build it, however I get a lot of warnings. In debug mode I get 6 warnings, but when I compile it in release mode I get a whopping 1349 warnings. Why am I gettings all these warnings?
Is anyone else seeing this?
Regards,
Martin
First, the Core project is set to 360, 2D and game is initially x86. I change Core to x86, and can now build it, however I get a lot of warnings. In debug mode I get 6 warnings, but when I compile it in release mode I get a whopping 1349 warnings. Why am I gettings all these warnings?
Is anyone else seeing this?
Regards,
Martin
Associate John Kanalakis
EnvyGames
The large number of warnings in release mode sounds familiar. Go the project settings, right-click on the project name and choose "Properties". Go to the "Build" tab. At the bottom, find the "Output" section and see if the "XML Documentation File" is checked. If so, uncheck it. This setting scans your source code and checks to make sure that ALL properties and methods are code-commented to generate code docs. (any property/method not commented will trigger an error) That should stop the large number of warning messages.
John K.
www.envygames.com