2

UAC로 VS2010을 실행하려고합니다. ResourceCompiler는 subst'ed 드라이브에있는 파일을 찾을 수 없다고 불평합니다.리소스 컴파일러 질문 (처음에는 "UAC와 함께 Substride가 잘 작동하지 않음")

여기에 퓨전 로그가 있습니다.

*** Assembly Binder Log Entry (8/16/2010 @ 1:54:39 PM) *** 

The operation failed. 
Bind result: hr = 0x80070002. The system cannot find the file specified. 

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll 
Running under executable P:\io\bin\common\FireFly.exe 
--- A detailed error log follows. 

=== Pre-bind state information === 
LOG: User ========= 
LOG: DisplayName = MyAssembly.resources, Version=2.2.2.23024, Culture=en-US, PublicKeyToken=null 
(Fully-specified) 
LOG: Appbase = file:///P:/io/bin/common/ 
LOG: Initial PrivatePath = NULL 
LOG: Dynamic Base = NULL 
LOG: Cache Base = NULL 
LOG: AppName = MyApp.exe 
Calling assembly : MyAssembly, Version=2.2.2.23024, Culture=neutral, PublicKeyToken=null. 
=== 
LOG: This bind starts in default load context. 
LOG: Using application configuration file: P:\io\bin\common\MyApp.exe.Config 
LOG: Using host configuration file: 
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. 
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind). 
LOG: The same bind was seen before, and was failed with hr = 0x80070002. 
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002). 

추천 하시겠습니까?

+0

UAC가 해제되어 있으면 오류가 사라집니다. 내가 볼 수 있듯이, {UAC, ResourceCompiler, Subst} 사이의 펑키 한 새로운 동작입니다. – GregC

+0

에서 같은 질문을했습니다. https://connect.microsoft.com/VisualStudio/feedback/details/586646/the-generateresource-task- 예기치 않게 실패했습니다. – GregC

+0

솔직히 더 이상 subst를 사용하는 사람을 몰랐습니다. 나는 DOS 6.22 이후에 사용 된 것을 본 적이 없다고 생각한다. – NotMe

답변

0

사진을 변경하려고했는데 효과가있었습니다. 하나의 TIFF 리소스 컴파일러가 좋아하고 또 하나는 그렇지 않습니다.

0

어디서 UAC를 사용했는지, 다른 보안 컨텍스트에서 프로세스가 실행되고 액세스 권한이 없거나 p : 드라이브에 대해 알지 못합니다. Microsoft TechNet's Sysinternals Procmon.exe을 사용하여 활성화 (종속 dll 검색 및로드)를 모니터링하십시오.

Sxstrace.exe는 어셈블리 활성화 문제를 추적하는 데 도움이 될 수도 있습니다.

+0

질문과 원격으로 관련이있을 수 있지만 해결책을 제안하지는 않습니다. 사실, Microsoft 버그 일 가능성이 높습니다. – GregC

+0

UAC를 끄는 것도 좋은 이유입니다. – Joshua

관련 문제