해결책
이 문제는 Microsoft Visual Studio 2012 및 2013에서 발생합니다. 다음 버전의
NationalInstruments.Common 어셈블리가 다른 경우에 문제가 발생합니다.
예를 들어 UI 어셈블리에서 참조하는
NationalInstruments.Common 의 버전이 13.0.40.242 이고
Current 디렉토리의 버전이자 프로젝트에서 참조하는 버전이 13.5.40.173 이며 GAC에 있는 최신 버전이 14.2.40.49152 인 경우 이러한 상황이 발생할 수 있습니다.
첨부된 DesignerFixer.exe 유틸리티를 실행하거나 최신 버전의 NationalInstruments.Common
및 해당 종속성을 모든 현재 Measurement Studio 어셈블리가 있는 프로그램 파일 디렉토리에 복사하여 이 문제를 해결할 수 있습니다.
-
NationalInstruments.Common.dll 을 C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NationalInstruments.Common\<latest version>\ 에서 <MeasurementStudioInstallDirectory>\DotNET\Assemblies\Current 로 복사하십시오.
-
NationalInstruments.NiLmClientDLL.dll 을 C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NationalInstruments.NiLmClientDLL\<latest version>\ 에서 <MeasurementStudioInstallDirectory>\DotNET\Assemblies\Current 로 복사하십시오.
- NationalInstruments.MStudioCLM.dll 을 C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NationalInstruments.MStudioCLM\<latest version>\ 에서 <MeasurementStudioInstallDirectory>\DotNET\Assemblies\Current 로 복사하십시오.
참고: 이전 단계에는 플레이스홀더가 포함되어 있습니다. <MeasurementStudioInstallDirectory> 는 컴퓨터에서 Measurement Studio의 설치 디렉토리입니다. 예를 들어 C:\Program Files(x86)\National Instruments\MeasurementStudioVS2013 이 될 수 있습니다. <latest version> 은 GAC 폴더에 존재하는 최신 버전의 어셈블리입니다 (예 : v4.0_15.0.40.32769__dc6ad606294fc298 ).