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).
추천 하시겠습니까?
UAC가 해제되어 있으면 오류가 사라집니다. 내가 볼 수 있듯이, {UAC, ResourceCompiler, Subst} 사이의 펑키 한 새로운 동작입니다. – GregC
에서 같은 질문을했습니다. https://connect.microsoft.com/VisualStudio/feedback/details/586646/the-generateresource-task- 예기치 않게 실패했습니다. – GregC
솔직히 더 이상 subst를 사용하는 사람을 몰랐습니다. 나는 DOS 6.22 이후에 사용 된 것을 본 적이 없다고 생각한다. – NotMe