Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to install MS 7.1 together with VS2005 Beta 2?

I have installed Visual Studio 2005 Beta 2 and wish to run Measurement Studio 7.1 together with it eventhough I know that it doesn't support it fully (doesn't matter for know). But how do I install MS 7.1 with VS 2005? I can see from this group that it is possible.

Regards
orc
0 Kudos
Message 1 of 10
(5,573 Views)
Hello

Measurement Studio 7.1 requires the .NET 1.1 framework and the framework SDK for its .NET class libraries to be installed.

There are some issues that exists with using the .NET libraries ( as mentioned here by Elton) that would prevent you from using these libraries in VS 2005. We will correct these issues and fully support VS 2005 once it is officially released by Microsoft. Check out my response here as well.

You can sign up for the beta of the future versions of Measurement Studio at ni.com/beta. The beta will not be licensed for deployment, so as you consider your options, please take into account the fact that Measurement Studio components that support Visual Studio .NET 2005 will most likely not be available for a production application until some time after Visual Studio .NET 2005 releases.
Bilal Durrani
NI
0 Kudos
Message 2 of 10
(5,554 Views)
Hello Bilal

I am also very anxious to know how to install Measurement Studio 7.1 with Visual Studio.NET 2005 Beta. Knowing that it does not support VS 2005 fully how would we have to proceed to be able to install the other features which are possible to install??? Because looking at the first thread you refer to it should be possible to at least install some of the functionality.

Thanks, Regards
Mohadjer
0 Kudos
Message 3 of 10
(5,539 Views)
Hi again,

I have now succesfully installed measurement studio with VS2005. My problem is that when trying to run/debug my application I got a CryptographicException as also mentioned in another post. The only thing I actually need to do for know is to make a design of the userinterface so it doesn't really matter if the code behind works - if I could only be able to show a window with e.g. a menu line and a graph (no need to show a curve in it) I would be really happy. How do I make workaround to the CryptographicException so that I'm able to view the window?

Best regards,
orc
0 Kudos
Message 4 of 10
(5,520 Views)
Add these two line of code just before calling "InitializeComponent();"

System.ComponentModel.LicenseContext newcontext = new System.ComponentModel.Design.DesigntimeLicenseContext();
System.ComponentModel.LicenseManager.CurrentContext = newcontext;

============ The code behind should look like this: ==========
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WindowsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
System.ComponentModel.LicenseContext newcontext = new System.ComponentModel.Design.DesigntimeLicenseContext();
System.ComponentModel.LicenseManager.CurrentContext = newcontext;

InitializeComponent();
}
}
}
Message 5 of 10
(5,509 Views)
Thanks - it works!
0 Kudos
Message 6 of 10
(5,499 Views)
Hi again,

Ohh - Still got this error message when trying to run some of the examples:
"Error 4 Exception occurred creating type 'NationalInstruments.Restricted.AnalysisLicenser,
NationalInstruments.Analysis.Professional, Version=7.1.0.306, Culture=neutral, PublicKeyToken=4544464cdeaab541' System.Security.Cryptography.CryptographicException: Length of the data to decrypt is invalid.
C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples\Application\SimpleGraph\cs\licenses.licx 13 0"

Do you have a solution to this one too?

Thanks and Best regards,
orc
0 Kudos
Message 7 of 10
(5,499 Views)
No, Analysis package does not work.
0 Kudos
Message 8 of 10
(5,476 Views)
Hello all

I want to clarify that the workaround Bijan has provided is not a supported mechanism and is not guaranteed to work with future versions of NationalInstruments.Common.dll. The workaround will break when we change the way we provide licensing for our components. This breaking change could be introduced by any future version of the NationalInstruments.Common.dll assembly installed on a system on which an application that uses this workaround is running. I just want to make sure you are aware of this if you choose to use this unsupported workaround.

We are currently researching a possible fix to NationalInstruments.Common.dll that will allow licensed Measurement Studio libraries to work in Visual Studio .NET 2005. We will update this post when we have more information.
Bilal Durrani
NI
0 Kudos
Message 9 of 10
(5,449 Views)

Hello all

There is now a patch available that should fix the license exception issues that occur with using Measurement Studio 7.x .NET class libraries in VS 2005 Beta 2. Please refer to the following KB for more information. This should allow you to use the analysis libraries with Whidbey.

License Exception When Using Measurement Studio 7.x .NET Libraries with Microsoft Visual Studio 200...


A link to the patch download page is provided in the above knowledgebase. Please review the KB and the patch download page for more information about the patch and installation instructions.

Please let me know if you have any questions. I hope this helps

Message Edited by bilalD on 07-06-2005 03:24 PM

Bilal Durrani
NI
0 Kudos
Message 10 of 10
(5,292 Views)