Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VB.NET 2008 different versions of same dependant assembly

Hi Walter, 

 

Thank you for posting the build output.  I will need to take a closer look at this before I tell you anything definitive.  I will let you know once I know more.  Thank you for your patience while we work through this together.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 11 of 14
(3,020 Views)

Hi Walter, 

 

I apologize for the long delay.  From what I can determine, this warning is likely happening because the version of Common on your system is newer than the version expected by the Measurement Studio assemblies.  To rectify this warning, you will need to double-click on the warning.  This will create an App.config file which will account for this versioning difference.

 

Please try this, and let me know if it clears up the warning.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 12 of 14
(3,007 Views)

Thanks Daniel. Yes this clears the warning but at what expense? Are there any negative consequences of doing it this way? I had thought that this method was more of a bandaid than a fix. Also every application I write in the future will have this same bug until I implement this 'cure'.

Is there no way of instructing NI software of the Common that I am actually using?

Labview 8.5
Meas Studio 2008
0 Kudos
Message 13 of 14
(3,000 Views)

Hi Walter,

 

This method is going to create a file called app.config which is then included in your project.  This is not going to have an adverse effect on your application.  If you look inside app.config, you'll see it explicitly tells the application which version of Common to use.  

 

The reason this message is a warning and not an error is because Visual Studio likely does this automatically in the background, but prefers an explicit instruction, which is what is done by creating app.config.

 

Please let me know if this clears things up.

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 14 of 14
(2,984 Views)