문제

I am trying to sign a .pfx file using NANT in my TeamCity build. the following just show the help information for sn.exe. What am I missing

<exec program="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\sn.exe"  
   verbose="false">
  <arg value="sn -i ${rootFolder}\ApplicationFolder\MYKey.pfx" />
</exec>
도움이 되었습니까?

해결책

My guess is that exec command is not correctly formed. It should look like this:

<exec program="C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\sn.exe" verbose="false"> <arg value="-i"/> <arg value="${rootFolder}\ApplicationFolder\MYKey.pfx" /> </exec>

You can also look at examples here as reference

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top