Publishing the ClickOnce application via msbuild
using command
msbuild /t:publish /p:BootstrapperEnabled=true;PublishDir=C:\publish\;PublishUrl=C:\publish
Throws the error:
error MSB3484: Signing target 'bin\Debug\app.publish\setup.exe' could not be found.
No setup.exe is generated, whereas publishing via Visual Studio IDE generates the setup.exe to the specified folder.
Have looked over the net and found the below solutions
- To enable
BootstrapperEnable = true
, - To specify
\
at the end ofPublishDir
/PublishUrl
And the above solutions don't work for me. Any suggestions would be highly appreciated.