mstest.exe - System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip
만약 mstest.exe 실행 시 다음과 같은 오류가 발생한다면?
c:\temp> mstest /testcontainer:test.loadtest
Microsoft (R) Test Execution Command Line Tool Version 17.0.32113.165
Copyright (c) Microsoft Corporation. All rights reserved.
MSTest.exe runner is legacy. Please migrate to vstest.console.exe (https://aka.ms/vstestconsole) or dotnet test (https://aka.ms/dotnettest) instead. You can use /nologo switch to suppress this message.
Loading ..\TestProject1\test.loadtest...
TestTypes\fa4c85ff-1236-4463-b954-3ba2f0eabd95 could not be loaded because the TIP could not be instantiated for the following reason(s): System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip, Version=17.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Microsoft.VisualStudio.TestTools.TestManagement.TipDelayLoader.LoadTip()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Starting execution...
No tests to execute.
아래의 글에서 설명했던 것처럼,
mstest.exe 실행 시 "File extension specified '.loadtest' is not a valid test extension." 오류 발생
; https://www.sysnet.pe.kr/2/0/11885
"Web performance and load testing tools" 항목을 선택해 설치하면 됩니다. 그나저나... 어느새 MStest.exe가 legacy로 분류되는군요. ^^
[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]