Following instructions here, I get the following error:
The attribute "Name" in element is unrecognized
In the .csproj file, I have removed the PostBuild section and replaced it with:
<Target Name="SignOutput" AfterTargets="CoreCompile">
<Exec Command=""C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe" sign /f "$(ProjectDir)My_Cert.pfx" /p mypassword "$(ProjectDir)obj\$(ConfigurationName)\MyExe.exe"" />
</Target>
I'm doing this because I'm getting a “File has a different computed hash than specified in manifest" error" when trying to run a newly published SmartClient application. What is wrong?