From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-07-2013 04:37 AM
Hello,
I've been using licenses.licx to load NI assemblies in my application. This used to sort of work, with a crash in the LC.exe compiler here and there, but if I keep trying to recompile it would succeed eventually...
Now that my project has gone bigger, I can't make it to succeed and I would like a good solution to that problem.
My project used to be: Visual Studio 2012, WPF application using .NET 4.5 and NI assemblies from Measurement Studio 2012, with licenses.licx to load NationalInstruments.NetworkVariable.NetworkVariableLicenser (version 12.0.40.318).
I moved to Measurement Studio 2013, and to version 13.0.45.242 of the licenser class, but I get the same error.
Can anyone point me to a workaround or a fix to that problem? Is anyone experiencing it too?
DLB
05-21-2013 02:34 AM
Hi Proengin,
Could you join a screenshot of your error?
Thanks,
Mélinda B
National Instruments France
05-24-2013 08:58 AM
Sorry for being late on my reply.
Here are two screenshots, one for the top of the error message, and one for the bottom where you can have a better look at the stack.
I have made some progress on a workaround for this problem:
. I've split my project in two exe, one for the calls to the NI DLL, and the other for everything else, so as to keep my code small.
. After trying several combinations, in my case the best one is to use Visual Studio 2012, .NET framework 3.5 and NI assemblies version 12.0.35.xx
I only rarely get the error message now, and usually it compiles after rebooting.
Thank you for your help.
DLB
03-27-2017 07:22 AM
Hello,
I'm developing some product with NI inside. Solution was working well for almost one year, without complation error with LC.exe. Suddenly one day I've got something like below.
No idea what happened. The best is that nothing was changed in code. Just stopped compiling. The brilliant ideas from NI are to rebuild (not working), tried hundred times. Other idea was to change something in UI, whatever it means, I tried to change XAML, but it is not compiling at all, because I don't have compiled DLLs of dependencies.
After I expand above window I get something like this:
I'm fighting with this since 3 days. It is just insane that 3rd party DLL blocks my compilation, I know, I know the license,. but there are so much better solutions...
Anyone knows how to fix it??!!!
06-20-2017 07:02 AM
2. You will find a Licenses.licx file created in the Solution.Right click and exclude this file from project.