0
최근에 발생하기 시작한 이상한 오류가 있습니다. NUnit에서 C#을 클래스 라이브러리 프로젝트를 열려고하면 즉시 예외가 발생합니다 :프로젝트 파일 형식이 잘못되었습니다. Nunit
System.NullReferenceException...
at NUnit.Util.VSProject.LoadMSBuildProject(String projectDirectory, XmlDocument doc)
at NUnit.Util.VSProject.LoadProject(String projectDirectory, XmlDocument doc)
at NUnit.Util.VSProject.Load()
System.ArgumentException...
at NUnit.Util.VSProject.ThrowInvalidFormat(String projectPath, Exception e)
at NUnit.Util.VSProject.Load()
at NUnit.Util.VSProject..ctor(String projectPath)
at NUnit.Util.ProjectConverters.VisualStudioConverter.ConvertFrom(String path)
at NUnit.Util.ProjectService.ConvertFrom(String path)
at NUnit.Util.ProjectService.LoadProject(String path)
at NUnit.Util.TestLoader.LoadProject(String filePath, String configName)
우리는 직접 DLL 파일을로드하고 테스트가 잘 실행 할 수 있습니다,하지만 난을로드 할 때 이유를 모르겠습니다. csproj 파일을 열면이 충돌이 발생합니다.
내가 사용
NUnit과 2.5.0
C# 클래스 라이브러리 .NET 3.5