I have a WinForms solution, C #, which uses a ClickOnce deployment that causes some problems with resource files. In short, files marked as content in a class library project are not copied to the output tray / folder after deployment using ClickOnce.
Here is the basic structure of the solution (it contains a lot more projects than the ones I list below)
Solution
|--Gui 1 Project
| |--References
| | |--ClassLibrary
|--Gui 2 Project
| |--References
| | |--ClassLibrary
|--Main Gui Project (StartUp Project)
| |--References
| | |--Gui 1 Project
| | |--Gui 2 Project
| | |--ClassLibrary
| |--Datafile.wav (Build Action: Content, Copy-if-newer)
| |--Mods.xml (Build Action: Content, Copy-if-newer)
| |--VariousSourceFiles.cs
|--ClassLibrary
| |--Resources
| | |--Elements.xml (Build Action: Content, Copy-if-newer)
| | |--AminoAcids.xml (Build Action: Content, Copy-if-newer)
| |--VariousSourceFiles.cs
Main Gui StartUp MDI, GUI. Debug/Release , , . GUI , Datafile.wav Mods.xml bin/, Elements.xml AminoAcids.xml bin/Resources/. , , .
, Click-Once VS2010, . . , (Elements.xml AminoAcids.xml), , . (Datafile.wav Mods.xml), , .
, Main Gui Project → Properties → Publish → Application Files.. , Datafile.wav Mods.xml . (Elements.xml AminoAcids.xml) . , , , , , . ClickOnce , ? ClassLibrary.dll, .xml .
ClassLibrary → Properties → Publish, , . , , bin/Resources . - , ?
(.xml) Build Action: Content, Embedded Resources, // .