09-08-2016 01:30 PM
Hi there, I just downloaded a manufacturer's driver which asks me to put a LabVIEW.exe.config file into my <National Instruments>\LabVIEW 2012 folder. I don't want this file for one instrument to have an impact on other projects, is there anything I should be aware of? The contents of the file in a text editor appears to be an XML file:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"></supportedRuntime>
</startup>
</configuration>
09-08-2016 02:16 PM
Strange, I always thought specification should be v4.0.30319, not simply v4.0:
http://zone.ni.com/reference/en-XX/help/371361J-01/lvhowto/configuring_clr_version/
If your other components use something specific for old versions, you will have troubles - you can not load 2 different .net versions at the same time. But in general they are backward compatible. https://msdn.microsoft.com/en-us/library/ff602939(v=vs.110).aspx
BTW, there is difference between CLR and .NET version. Now .NET is 4.6, but CLR.dll is loaded from C:\Windows\Microsoft.NET\Framework\v4.0.30319. (Win7) with specification above.