Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Merge Module for Visual Studio 2010

Hi all,

 

I've upgrade my machine from VS2008 to VS2010.

So I've upgraded a project from 2008 to 2010.

This project uses NI.Common.dll (NiVisa, GPIB, ...).

In VS2008, when I've created a setup project to install my application, it automatically adds MstudioCommon.2008.msm

But, in VS2010, it doesn't add this merge module although it's required.

I can add merge module but why is it not automatically added.

And which merge module must I add (MstudioCommon.2010.msm or MstudioCommon.2008.msm) ?

 

Thanks in advance for your help.

 

Regards,

Maxime

 

 

0 Kudos
Message 1 of 3
(4,759 Views)

I just went through the scenario you described and it added the merge module properly in VS 2010. It does not add the merge module in either version until you add the Primary Output from the project. Have you done that?

 

As for which version you need, that depends on which version of the .NET framework you are using. If you have upgraded your project to VS 2010, but have not changed the .NET framework from 3.5 to 4.0, then you will want to continue to use the 2008 version of common. The versions of common correspond to the .NET framework that was introduced with that version of Visual Studio. So if you upgrade to .NET 4.0, then you will need to use the 2010 version of common.

National Instruments
0 Kudos
Message 2 of 3
(4,755 Views)

Yes sure, I added "Project Output" -> "Main Output". This action added the main Exe file and all dependencies DLL and Framework 3.5.

But it didn't add NI merge module.

 

0 Kudos
Message 3 of 3
(4,750 Views)