두 개의 데스크톱 응용 프로그램이 있습니다 ('x'와 'y'라고 말하면됩니다). 둘 다 Visual Studio 2008 vb.net 언어로 작성되었습니다. 둘 다 동일한 참조 (같은 단계에서 확인)와 동일한 참조를 가지며 동일한 기계 (w7)에서 컴파일되지만 다른 모든 기계 (및 w7 및 xp)에서 다른 하나 ('x' y ') w7에서만 작동합니다. 내가 놓친 게 무엇입니까? 우리에게 오류 ('y')가 발생했습니다. An unhandled exception ('System.InvalidOperationException') occurred in OVA.exe [4020]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual Studio, Just-In-Time debugging can be enabled from Tools/Options/Debugging/Just-In-Time.
설정이 동일하다고 말했기 때문에 (이름과 소스 위치는 몇 개의 폴더에 따라 다릅니다). JIT (Just-In-Time) 디버깅이 활성화됩니다. 심지어 응용 프로그램 'y'의 모든 코드에 주석을 달고 이벤트 처리가없는 양식 만 남겼습니다. 방금 양식을 떠나는 이벤트 처리기에서 주석으로보고 http://msdn.microsoft.com/en-us/library/system.invalidoperationexception.aspx비주얼 스튜디오 컴파일 된 응용 프로그램이 xp에서 작동하지 않습니다
"The exception that is thrown when a method call is invalid for the object's current state."
에 따르면
당신의 shortcode'w7'은'Windows 7'을 의미하고'xp'는'Windows XP'를 의미합니다, 맞습니까? – Raptor
도 대상 프레임 워크가 동일합니까? [처리되지 않은 예외] (http://www.switchonthecode.com/tutorials/csharp-tutorial-dealing-with-unhandled-exceptions) 로깅을 시도해보십시오. 도움이 될 수 있습니다. – Rafal
예, 대상 프레임 워크도 동일합니다 – babboon