NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand 2021 UserInterfaces CSharp TestExec.sln Layout Fail

Solved!
Go to solution

TestStand 2021\UserInterfaces\Simple\CSharp Failed to show Layout in my VS2022

It can run normally in the VS2022, but can not load the MainForm Layout 

HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))

Leo_Liao_0-1681201727346.png

I have tried the URL:已解决: Re: TestStand 2014 Operator Interface Examples fail - NI Community mentioned solutions:

1. If you have TestStand 32-bit installed only, ensure that the platform selected for the example solution is x86, then rebuild the solution. =>Tried

2. Does the simple User Interface example give the same error?  ("<TestStand 2014>\UserInterfaces\Full-Featured\CSharp\TestExec.sln") =>Yes

3. If you run the TestStand version selector, and select to make TestStand 2014 active (even if it is already active), do you get any errors?  Does the example give the same error after this step? =>Tried

4. If you have Visual Studio 2010 installed, please test with this version as well since this is the version the examples were developed in. =>TestStand 2021 including the VS2015,I am not quite willing to try this. 

Any other suggestions to try? Thanks!

 

0 Kudos
Message 1 of 4
(936 Views)
Solution
Accepted by topic author Leo_Liao

Hi,

 

Please note that TestStand compatibility with Visual studio :

https://www.ni.com/en-in/support/documentation/compatibility/18/teststand-and--net-framework-compati...

 

VS 2022 is still not supported.

 

Ravi

0 Kudos
Message 2 of 4
(932 Views)

Thanks for your reply.

Also I tryied VS2015 and then it works.

0 Kudos
Message 3 of 4
(906 Views)

Hi Leo,

 

Not supported means not tested/not supported if there are any issues.

So its  possible it may work or it may not work.It only means NI has not tested it nor will support if you are facing issues with this versions.

 

Ravi

0 Kudos
Message 4 of 4
(876 Views)