Click or drag to resize

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

  1. From Solution Explorer, right click on the solution and choose Configuration Manager. The Configuration Manager Dialog Box appears.

  2. From the Active solution platform combo box, choose <Edit...>. The Edit Solution Platforms dialog box appears.

  3. The following platforms should be present:

    • Any CPU

    • Mixed Platforms

    • Win32

    • x64

    • x86

  4. Remove all platforms except for x86 and x64.

  5. Close the Edit Solution Platforms dialog.

  6. From the Configuration Manager dialog, choose the x86 platform from the Action solution platform combo box.

  7. 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

  8. Use the Active solution configuration combo box to repeat the above settings for both Debug and Release configurations.

  9. From the Configuration Manager dialog, choose the x64 platform from the Action solution platform combo box.

  10. 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

  11. Use the Active solution configuration combo box to repeat the above settings for both Debug and Release configurations.

See Also

Download a complete CHM version of this documentation here.