MSBuild Error MSB3116

 

MSB3116: Application is marked to host in browser but is also marked for online and offline use. Please change your application to online only.

When deploying a WPF Web Browser Application, you must set the HostInBrowser property to True. When HostInBrowser is set to True, you must set the Install property to False (to make the installation available online only). If the latter condition is not met, you will receive this error message.

To correct this error

  • Set the Install property to False.

See Also

HostInBrowser
Install
Publish Page, Project Designer