How to define both assemblies and non-assembly files that need to be deployed in a ClickOnce application, from within a Visual Studio project?

StackOverflow https://stackoverflow.com/questions/2106961

문제

So I am trying to figure out if there is a way to define the files and assemblies I need deployed with a ClickOnce app, from within Visual Studio.

I would like to "Publish" the application and not have to make any more modifications with Mage. Especially for continuous integration.

Is this possible? Can I add something to the app.manifest file, to do this?

도움이 되었습니까?

해결책

You should be able to do this by adding a file to the project, and in the properties window, set the "Build Action" to "Content"

You may also have to set the "Copy to Output Directory" property as well.

(this is not tested using ClickOnce, but it works with other build and deploy methods)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top