We are using Msbuild to build our Wix projects. Due to various issues , few times assemblies specified in wix were just delay signed. When it was installed in GAC it failed.
Is there any way to verify strong name signing verification as prebuild activity in wix?
I am using sn -vf "assembly" to do strong name verification.
I want to do strong name verification only for dlls which will be packed inside wix msi( in other words, assemblies specified in wxs file)
How to do it msbuild?
Open your
.wixprojfile and add:This will fail your build once an assembly fails verification.
Once again, this will fail your build on failed verification:
In order to use it you must add a reference to the Extension Pack assembly: