Fixes Python failing to run during Windows release build
This commit is contained in:
parent
7173dac61b
commit
19694abd71
|
@ -147,7 +147,9 @@
|
||||||
<_GenerateCommand>import uuid; print('\n'.join('{}={}'.format(i, uuid.uuid5(uuid.UUID('c8d9733e-a70c-43ff-ab0c-e26456f11083'), '$(ReleaseUri)' + j)) for i,j in [$(_Uuids.Replace(`"`,`'`))]))</_GenerateCommand>
|
<_GenerateCommand>import uuid; print('\n'.join('{}={}'.format(i, uuid.uuid5(uuid.UUID('c8d9733e-a70c-43ff-ab0c-e26456f11083'), '$(ReleaseUri)' + j)) for i,j in [$(_Uuids.Replace(`"`,`'`))]))</_GenerateCommand>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<Exec Command='"$(PythonExe)" -c "$(_GenerateCommand)" > "$(IntermediateOutputPath)$(OutputName)guids.txt"' IgnoreExitCode="false" />
|
<Exec Command='"$(PythonExe)" -c "$(_GenerateCommand)" > "$(IntermediateOutputPath)$(OutputName)guids.txt"'
|
||||||
|
WorkingDirectory="$(MSBuildThisFileDirectory)"
|
||||||
|
IgnoreExitCode="false" />
|
||||||
|
|
||||||
<ReadLinesFromFile File="$(IntermediateOutputPath)$(OutputName)guids.txt">
|
<ReadLinesFromFile File="$(IntermediateOutputPath)$(OutputName)guids.txt">
|
||||||
<Output TaskParameter="Lines" ItemName="_UuidValue" />
|
<Output TaskParameter="Lines" ItemName="_UuidValue" />
|
||||||
|
|
Loading…
Reference in New Issue