Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one main project referencing an other project. The referenced projects output is successfully copied to the output folder bin/debug. However, for my clickonce deployment the content files in the referenced project is not included, only the DLL files. The content files in the the main project is successfully included in the deployment.

Please help my to fix this envying issue.

The workaround is obviously to include the same files in both projects, but come on!
Posted
Updated 14-Feb-13 0:29am
v2
Comments
Richard MacCutchan 14-Feb-13 5:22am    
Why do you need the resource files? If they contain resources that are used in the first project then they will have been incorporated into the DLL (assuming you built it correctly).
Jon Larborn 14-Feb-13 6:28am    
My bad, it should be content files. I supply a compact database file. That is not working well inside a assembly.
Richard MacCutchan 14-Feb-13 6:44am    
Sorry, I don't understand what you are saying.
Jon Larborn 14-Feb-13 7:23am    
In one on my project in the solution there is a sql compact file. This needs to be suppled in the deployment of the project. When I reference the project and run it locally in visual the file is copied to the right place in the start-up project. However when then the project is deployed with clickones the content files is not supplied only the dll file. Only content files from the startup project is supplied in the clickones installation
Richard MacCutchan 14-Feb-13 7:35am    
Then I guess you need to move that file into the startup project, or find an option that will include it.

1 solution

For ClickOnce Deployment, you have to add the "compact database file" to the project to be deployed. ClickOnce Deployment requires that all files to be deployed be declared and present within the project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900