Sunday, January 11, 2009

ClickOnce - Manually modifying the Application file list.

I am developing a ClickOnce application which requires assemblies and other resources which are not automatically included in the "Application Files".

You can include files in the "Applciation Files" list by adding them to the project. (i.e In VS rightclick on the ClickOnce project and select Add->Existing Item.

The problem with this is that the files are copies into the Project directory.

A better way to handle this is to use an Xml editor to manually edit the project file (*.csproj).

Refer to blogs.msdn.com/mwade/archive/2008/06/29/how-to-publish-files-which-are-not-in-the-project

Regards

Andy

No comments: