![]() | 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.
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 Action 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>CppConsoleApplication | Win32 | Checked |
<driverName>CsConsoleApplication | x86 | Checked |
<driverName>CWrapperConsoleApplication | Win32 | Checked |
<driverName>CWrapperUnitTest | Win32 | Checked |
<driverName>Driver | Win32 | Checked |
<driverName>Help | Any CPU | Unchecked |
<driverName>Setup | x86 | Unchecked |
<driverName>UnitTest | x86 | Checked |
<driverName>VbConsoleApplication | x86 | 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 Action 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>CppConsoleApplication | x64 | Checked |
<driverName>CsConsoleApplication | x64 | Checked |
<driverName>CWrapperConsoleApplication | x64 | Checked |
<driverName>CWrapperUnitTest | x64 | Checked |
<driverName>Driver | x64 | Checked |
<driverName>Help | Any CPU | Unchecked |
<driverName>Setup | x64 | Unchecked |
<driverName>UnitTest | x64 | Checked |
<driverName>VbConsoleApplication | x64 | Checked |
Use the Active solution configuration combo box to repeat the above settings for both Debug and Release configurations.