Fix authentication assembly signing (#419)
Depending on the operation outputs are either pulled from the project intermediate directory (e.g. in publish) or the output directory. Since signing occurs after the build, the unsigned assembly has been copied to the output directory so needs to be signed there as well.
This commit is contained in:
Родитель
d722c918f1
Коммит
c954695f25
|
@ -49,16 +49,8 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<FilesToSign Include="$(OutDir)$(TargetFileName)">
|
||||
<Authenticode>Microsoft400</Authenticode>
|
||||
<StrongName>StrongName</StrongName>
|
||||
</FilesToSign>
|
||||
<FilesToSign Include="$(IntermediateOutputPath)$(TargetFileName)">
|
||||
<Authenticode>Microsoft400</Authenticode>
|
||||
<StrongName>StrongName</StrongName>
|
||||
</FilesToSign>
|
||||
<FilesToSign Include="$(IntermediateOutputPath)apphost.exe" Condition=" '$(UseAppHost)' == 'true' ">
|
||||
<Authenticode>Microsoft400</Authenticode>
|
||||
</FilesToSign>
|
||||
<FilesToSign Include="$(OutDir)$(TargetFileName)" Authenticode="Microsoft400" StrongName="StrongName" />
|
||||
<FilesToSign Include="$(IntermediateOutputPath)$(TargetFileName)" Authenticode="Microsoft400" StrongName="StrongName" />
|
||||
<FilesToSign Include="$(IntermediateOutputPath)apphost.exe" Condition=" '$(UseAppHost)' == 'true' " Authenticode="Microsoft400" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<FilesToSign Include="$(OutDir)$(TargetFileName)" Authenticode="Microsoft400" StrongName="StrongName" />
|
||||
<FilesToSign Include="$(IntermediateOutputPath)$(TargetFileName)" Authenticode="Microsoft400" StrongName="StrongName" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче