Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

Cannot Build DAQmx program with Visual Studio 2008 on Vista x64

Primary Software: Measurement Studio>>.NET Support
Primary Software Version: 8.1.2
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I open an example DAQmx program, I can compile and build the application without errors.  When I try to create my own DAQmx program, I cannot get my application to build.  I am sure that I am linking all of my libraries correctly; what else could be causing this?

Solution:
If you are using Vista x64 with Visual Studio Express, you may need to added a line of text in your project file (*.csproj).  Close your project in Visual Studio Express 2008, and open yourprojectfile.csproj with notepad.  You will see many different tags through the file; you will need to add a <PlatformTarget>x86</PlatformTarget>  tag in the <PropertyGroup Condition … ‘Debug|AnyCPU’ ”> </PropertyGroup> sections.  See the screen shot below for an example of where the tags need to be placed.



Related Links:

Attachments:





Report Date: 12/19/2007
Last Updated: 12/20/2007
Document ID: 4GIDTNQX

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit