Resource Compiler вопрос (первоначально заданный как «UAC вместе с Subst плохо работают вместе») - PullRequest
2 голосов
/ 16 августа 2010

Я пытаюсь запустить VS2010 с включенным UAC.ResourceCompiler жалуется на то, что не может найти файл, расположенный на диске с подстановкой.

Вот журнал объединения.

*** 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).

Что бы вы порекомендовали?

Ответы [ 2 ]

0 голосов
/ 18 августа 2010

Я пытался изменить картинки, и это сработало.Один компилятор ресурсов TIFF любит, а другой - нет.

0 голосов
/ 17 августа 2010

Где UAC включен, я держу пари, что процесс выполняется в другом контексте безопасности, который не имеет доступа или не знает о диске p :. Используйте Microsoft TechNet Sysinternals Procmon.exe для мониторинга активации (поиск и загрузка зависимых библиотек).

Sxstrace.exe также может быть полезен для отслеживания проблем активации сборки.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...