Windows 8 스토어 앱을 개발 중입니다. 단위 테스트를 추가했습니다. Solution >> >>새 프로젝트 >>Unit Test Library (Windows Store 응용 프로그램)을 선택하여 단위 테스트를 추가했습니다. 나는 그 때 시험을 잘 달릴 수있다.Windows 8 저장소 앱 단위 테스트가 VS 2012에서 실패 함
그러나, 나는 다음 내 원래 윈도우 8 스토어 앱 프로젝트 (following the instructions here)에 대한 참조를 추가, 내가 다시 테스트를 실행하려고하면, 나는 다음과 같은 오류 얻을 :
------ Discover test started ------
WriteTestCaseStarted
WriteTestCase Took Time = 3.0004
========== Discover test finished: 1 found (0:00:00.1350024) ==========
------ Run test started ------
Updating the layout...
Copying files: Total <1 mb to layout...
Registering the application to run from layout...
Deployment complete. Full package name: "c078c431-2a0d-4494-8dd9-47ae01ac938d_1.0.0.0_neutral__chny7cy2kxrnj"
Exception has been thrown by the target of an invocation.
========== Run test finished: 0 run (0:00:01.8770198) ==========
내가 뭐하는 거지 무엇을 잘못된?
업데이트는 :
<ResourceDictionary Source="Common/StandardStyles.xaml"/>
이유 : 문제를 해결 App.xaml에서 다음 줄을 주석?
나는 똑같은 일을하고 있었고 모든 것이 정상적으로 작동했습니다. 앱이 정상적으로 작동합니까? –
예, 앱이 정상적으로 실행됩니다. –