 bprins
		
			bprins
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		01-19-2017
	
		
		07:43 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		10-14-2025
	
		
		11:41 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
I am not able to build an application in VS2015 which refers to NI NetworkVariables.
An issue similar to this unresolved topic:
Please see attached screenshot.
What can I do to fix this problem? Or will NetworkVariables never be supported more recent versions of Visual Studio (=later than 2013)?
			
    
	
		
		
		01-20-2017
	
		
		08:32 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		10-14-2025
	
		
		11:42 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi there,
Please check that you are definitely generating the right license files for your project according to the following document. It's important to specify the correct .NET and VS versions. (And I believe you'll need to select Network Variable Communication - this selector is multi-select however, so include everything necessary)
How Can I Create a .licx File for my Measurement Studio Project?
After you have added these files and finishes building, if there is still an error relating to unlicensed assemblies, please refer to the following document.
Why Do I Get an Unlicensed Assemblies Error Message at Runtime When Using Measurement Studio .NET Controls in a Visual C++ Project?
http://digital.ni.com/public.nsf/allkb/53028D50C975D67286256DEF006FDB27
I hope this helps, best of luck with your application!
Sarah Flanagan
Applications Engineer
National Instruments UK
01-27-2017 02:02 AM
Hi,
thanks for your quick reply! Although it did not solve the issue, it was good to learn a little bit more about the topic.
You will never believe what solved the problem, because it is simply too lame (which makes it kind of brilliant). One of the developers pressed "the button". The "Debug" button. The debug button in assertion dialog of the LC compiler error. It actually results in a succesfull build. When we then build again, the message no longer appears.
So god knows what really happened under the hood, but also on my PC, when I rebuild the solution, and press the debug button once. Nothing happens, except for that the build ends successfully. Every consequent build after that just runs fine.
Sometimes it's just doensn't make sense, but I don't really care :).
Hope this weird story also saves some time for somebody else (although that seems unlikely for some reason!)