2012-12-10 3 views
0

나는 잘 작동하는 프로젝트를 가지고 있지만 오늘 나는이 오류가 발생한다. 심지어 새 프로젝트를 만들 때 나는 같은 메시지를 얻는다. 나는 무엇이 문제인지 이해할 수 없다 ...창 전화 7 오류

칼 살 단하의
Error 1 The "CompileXaml" task failed unexpectedly. 
System.IO.FileLoadException: Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A) 
File name: 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A) 

The Zone of the assembly that failed was: 
MyComputer 
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 
    at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) 
    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks) 
    at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) 
    at System.Reflection.Assembly.LoadFrom(String assemblyFile) 
    at Microsoft.Silverlight.Build.Tasks.CompileXaml.LoadSilverlightAssemblies(String[] frameworkPaths) 
    at Microsoft.Silverlight.Build.Tasks.CompileXaml.GenerateCode(ITaskItem item, Boolean isApplication) 
    at Microsoft.Silverlight.Build.Tasks.CompileXaml.Execute() 
    at Microsoft.Build.Framework.ITask.Execute() 
    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 
    at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) 
+0

당신의 나는 확신 윈도우 폰 SDK의 일부입니다 System.Windows.dll이 없습니다. 이것이 내가 시작하는 곳입니다. –

+0

아마도 대부분의 경우 비주얼 스튜디오를 다시 설치해야합니다. 확인 http://stackoverflow.com/questions/11375343/compilexaml-failed-nexpectedly – cjds

+0

나는 System.Windows.dll을 (를) 설치하지 않았습니다. 다시 설치 하겠습니다 ... – a1204773

답변

0

우수 답변 (의견을 읽고)

이 필요 다시 설치 ... 그것은 나타납니다