Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement studio 2015, VS2017, lc.exe return -1

Solved!
Go to solution

Hello,

 

I have a project in C# Visual Studio 2017. I use measurement Studio 2015 with license for the shared variable.

I have added a licence.licx file in my project and checked the TokenPublickey.

NationalInstruments.NetworkVariable.WindowsForms.NetworkVariableDataSource, NationalInstruments.NetworkVariable, Version=15.0.40.49153, Culture=neutral, PublicKeyToken=dc6ad606294fc298
NationalInstruments.NetworkVariable.WindowsForms.NetworkVariableBrowserDialog, NationalInstruments.NetworkVariable, Version=15.0.40.49153, Culture=neutral, PublicKeyToken=dc6ad606294fc298
NationalInstruments.NetworkVariable.NetworkVariableLicenser, NationalInstruments.NetworkVariable, Version=15.0.40.49153, Culture=neutral, PublicKeyToken=dc6ad606294fc298

But when i compile my library, the compiler return lc.exe error -1.

 

How I do for compile without error ?

 

Thanks

 

Johan CAILLET

Message 1 of 4
(4,038 Views)
Solution
Accepted by topic author j.caillet

Sorry, it's solved.

 

It's a mistake, last week I'm simply installed maesurement studio. I'm forgot to finalise activation register..

 

But now it's OK.

 

Thanks

 

Johan

0 Kudos
Message 2 of 4
(4,026 Views)

 I thought NI measurement Studio 2015 only supports VS 2010, 2012 and 2013. Does it support VS2017? How you do it? I read a solution about how can Measurement Studio 2015 support Visual Studio 2015 or newer versions (https://www.ni.com/en/support/documentation/supplemental/18/measurement-studio-2015-with-microsoft-v...). Does it work? Looking forward to your reply.

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

First one, Hello c++Ronaldo,

 

Measurement Studio 2015, works well for me on VS2017.

I have installed and registrer MS 2015, the licence.licx is generated by the compiler.

Best regards

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