Why doesn't ClickOnce in Visual Studio deploy content files from dependent assemblies?

后端 未结 5 1745
一个人的身影
一个人的身影 2020-11-30 08:58

I have a smart client application that is deployed via click once. The problem is that i have content files in dependent assemblies that just don\'t show up in the publishe

5条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 09:34

    I seemed to have found an evolution of the answer from @John Hunter that is much simpler, add this to the csproj.

    
        
    
    

    This will then make visual studio automatically view all *.rpt files in that folder as part of the solution. You could go with *.* to accumulate everything. This makes more sense if you have a container folder like bin\MyDeployables\**\*.*

    We followed a similar usage for using Cassette MSBuild to combine and minifiy our JS at publish time, and be able to publish the created files through the built in VS publish tooling.

提交回复
热议问题