Required Visual Studio Configuration Changes
Before building an IVI-COM driver project, several configuration settings must be manually changed. The Visual Studio project system does not expose this functionality in a way that allows Nimbus to automatically perform these configuration changes, so this topic explains each step the driver developer must perform.
To configure the appropriate solution platforms
Section titled “To configure the appropriate solution platforms”-
From Solution Explorer, right click on the solution and choose Configuration Manager. The Configuration Manager Dialog Box appears.
-
From the Active solution platform combo box, choose <Edit…>. The Edit Solution Platforms dialog box appears.
-
The following platforms should be present:
- Any CPU
- Mixed Platforms
- Win32
- x64
- x86
-
Remove all platforms except for x86 and x64.
-
Close the Edit Solution Platforms dialog.
-
From the Configuration Manager dialog, choose the x86 platform from the Active solution platform combo box.
-
Make sure that the Platform column setting and Build column setting for each project is set according to the table below. (Note the list of projects that appears depends upon the driver options chosen.)
Project Platform Build <driverName>CppConsoleApplicationWin32 Checked <driverName>CsConsoleApplicationx86 Checked <driverName>CWrapperConsoleApplicationWin32 Checked <driverName>CWrapperUnitTestWin32 Checked <driverName>DriverWin32 Checked <driverName>HelpAny CPU Unchecked <driverName>Setupx86 Unchecked <driverName>UnitTestx86 Checked <driverName>VbConsoleApplicationx86 Checked -
Use the Active solution configuration combo box to repeat the above settings for both Debug and Release configurations.
-
From the Configuration Manager dialog, choose the x64 platform from the Active solution platform combo box.
-
Make sure that the Platform column setting and Build column setting for each project is set according to the table below. (Note the list of projects that appears depends upon the driver options chosen.)
Project Platform Build <driverName>CppConsoleApplicationx64 Checked <driverName>CsConsoleApplicationx64 Checked <driverName>CWrapperConsoleApplicationx64 Checked <driverName>CWrapperUnitTestx64 Checked <driverName>Driverx64 Checked <driverName>HelpAny CPU Unchecked <driverName>Setupx64 Unchecked <driverName>UnitTestx64 Checked <driverName>VbConsoleApplicationx64 Checked -
Use the Active solution configuration combo box to repeat the above settings for both Debug and Release configurations.