10.0.17 Ошибка при компиляции любого модуля (отдельная строка для каждого файла мето)к:
X++:
Run command <resgen.exe> with arguments <"C:\Users\Admin9\AppData\Local\Temp\v44sbct0.t1p\primaryResource.resx" "C:\Users\Admin9\AppData\Local\Temp\v44sbct0.t1p\ApplicationFoundation.resources">
labelc.exe exited with code -1.
При запуске команды вручную из CMD команда выполняется успешно:
X++:
k:\>resgen.exe "C:\Users\Admin9\AppData\Local\Temp\v44sbct0.t1p\primaryResource.resx" "C:\Users\Admin9\AppData\Local\Temp\v44sbct0.t1p\ApplicationFoundation.resources"
Read in 1 resources from "C:\Users\Admin9\AppData\Local\Temp\v44sbct0.t1p\primaryResource.resx"
Writing resource file... Done.
Выдержка из K:\AosService\PackagesLocalDirectory\ApplicationPlatform\CompileLabels.xml
X++:
-<Diagnostic>
<DiagnosticType>Unspecified</DiagnosticType>
<Severity>Informational</Severity>
<Path>labelc.exe</Path>
<Moniker>Compiling Primary Resource file for ProductFramework_Tile</Moniker>
<Message>Compiling Primary Resource file for ProductFramework_Tile</Message>
</Diagnostic>
-<Diagnostic>
<DiagnosticType>Unspecified</DiagnosticType>
<Severity>Fatal</Severity>
<Path>labelc.exe</Path>
<Moniker>Unable to run command</Moniker>
<Message>Run command <resgen.exe> with arguments <"C:\Users\Admin9ca2c9adc2\AppData\Local\Temp\3rxjjgqw.xsp\primaryResource.resx" "C:\Users\Admin9ca2c9adc2\AppData\Local\Temp\3rxjjgqw.xsp\ApplicationPlatform.resources"></Message>
</Diagnostic>
-<Diagnostic>
<DiagnosticType>Unspecified</DiagnosticType>
<Severity>Fatal</Severity>
<Path>labelc.exe</Path>
<Moniker>Error</Moniker>
<Message>System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified</Message>
</Diagnostic>
-<Diagnostic>
<DiagnosticType>Unspecified</DiagnosticType>
<Severity>Fatal</Severity>
<Path>labelc.exe</Path>
<Moniker> at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)</Moniker>
<Message> at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)</Message>
</Diagnostic>
VS запущена под админом. Путь к RESGEN.exe прописан в переменную окружения PATH и находится из любой папки.