Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio 2019 extension for Visual Studio 2019 did not load...

Environment:
Windows 10 Enterprise Build 18362
Visual Studio Professional 2019 Version 16.2.5
Measurement Studio 2019 f1
 

Problem:
After installing Measurement Studio I get a message from VS2019 "Visual Studio did not load one or more extensions that were using deprecated APIs". If I select the second option "Manage performance" I see two messages from NI Measurement Studio:
1. This extension is using the synchronous autoload mechanism which can negatively impact performance
2. This extension was not loaded because it uses deprecated synchronous autoload APIs.

 

When I try to start a new project (NI Windows Forms Application) or open some example from Measurement Studio, VS craches. I have reinstalled all Windows, VS and Measurement Studio do not help.
 
What can I do? Is there a solution?
0 Kudos
Message 1 of 9
(4,367 Views)

Hi etep,

 

This is an issue that we are aware of and working on. Could you take a look at this forum post where we had a discussion about this?

 

https://forums.ni.com/t5/Measurement-Studio-for-NET/Measurement-Studio-2019-extension-for-Visual-Stu...

 

Hopefully this will resolve the problem.

 

Cheers,

Ryan Curtis

Product Support Engineer

Automated Test Software R&D

0 Kudos
Message 2 of 9
(4,328 Views)

Thank you for answer.

I have read that but not understand. What the patch 2019f1?

 

0 Kudos
Message 3 of 9
(4,317 Views)

Hi etep,

 

The 2019 f1 patch is what is currently available in NI Package Manager and for download on our website. If you installed MStudio from either of those places, you definitively have the f1 patch (it is the only version of 2019 we posted on the website/Package Manager).

 

Is there another part of the troubleshooting that did not work for you?

 

Cheers,

Ryan Curtis

Product Support Engineer

Automated Test Software R&D

0 Kudos
Message 4 of 9
(4,301 Views)
I tried installing MStudio 2019f1 on a brand new computer under Windows 10 Enterprise with Visual Studio 2019 Professional. Visual Studio 2019 crashes when I try to use some components from MStudio or when I try to open MStudio examples.
In accordance with the “Measurement Studio and Visual Studio Version Compatibility” https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019RD9SAM&l=en-US, MStudio 2019 should work but ...
 
Is there any solution?
0 Kudos
Message 5 of 9
(4,276 Views)

Hi etep,

 

Did you enable Synchronous Autoload of Extensions as recommended in the forum post I linked? You'll need to go to Extensions >> Manage Extensions, click Change your settings for Extensions, and then check Allow synchronous autoload of extensions.

 

Cheers,

Ryan Curtis

Product Support Engineer

Automated Test Software R&D

0 Kudos
Message 6 of 9
(4,265 Views)
Yes of course.

I get 3 (three) options:
1.Don't allow deprecated API usage [Recommended]
2.Manage performance
3. Don't show this message for current extensions
 
 If I select the second option "Manage performance" I see two messages from NI Measurement Studio:
1. This extension is using the synchronous autoload mechanism which can negatively impact performance
2. This extension was not loaded because it uses deprecated synchronous autoload APIs.
 
For example: if I try to select Extensions from the menu, VS crashes.
0 Kudos
Message 7 of 9
(4,255 Views)

Hey etep,

 

We have seen the same behavior, and it should load correctly if you choose option 3. Does that work for you?

 

Cheers,

Ryan Curtis

Product Support Engineer

Automated Test Software R&D

0 Kudos
Message 8 of 9
(4,214 Views)
Do you mean Don't show this message for current extensions?
This is only to hide message not more.
Any case MStudio extension was not loaded and VStudio crashes.
0 Kudos
Message 9 of 9
(4,195 Views)