01-12-2021 11:02 AM
Hi team,
Background on the error:
The original project was written with dll version 2018 which were running on veristand 2018.
I have to make it work on the veristand 2020 version.
So in the resources folder of the project - i deleted the existing dll and copied the veristand 2020 dll into it.
After that when I'm trying to build the project I'm getting the below error:
Severity Code Description Project File Line Suppression State
Warning The primary reference "NationalInstruments.VeriStand.APIInterface, Version=2018.1.0.0, Culture=neutral, PublicKeyToken=a6d690c380daa308, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "NationalInstruments.VeriStand.SystemStorage, Version=8.0.0.0, Culture=neutral, PublicKeyToken=a6d690c380daa308" which was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". AutoVeristand
I'm attaching the .NET target framework selected by me. I have tried changing the .NET framework to everything available in the list but it's still not working.
Solved! Go to Solution.
01-13-2021 01:06 AM
Hello,
You have to install the .NET framework 4.6.2 (full version) on your development computer and change your VisualStudio project to target this framework (tab Application of the project's properties).
It seems also you still have a reference to a 2018 assembly: NationalInstruments.VeriStand.APIInterface, Version=2018.1.0.0, ... but this is not the root issue.
Regards