How to include custom data files in ClickOnce deployment?

后端 未结 2 1722
名媛妹妹
名媛妹妹 2021-01-12 20:59

Is it possible to include custom data files in ClickOnce deployment?

I couldn\'t find any option for this (Visual Studio 2005 and 2010). The

相关标签:
2条回答
  • 2021-01-12 21:38

    It actually possible, at least as of Visual Studio 2012 (most likely Visual Studio 2010 as well). The key is to set the build action on the file to "Content".

    More information is in Custom Folders in ClickOnce.

    0 讨论(0)
  • 2021-01-12 21:47

    It seems that it is impossible. From ClickOnce Deployment Overview in ClickOnce Deployment Overview (MSDN):

    Installation of shared files -- No

    Also the article ClickOnce deployment or not? was very useful.

    0 讨论(0)
提交回复
热议问题