views:

54

answers:

0

Hello,

I have a problem on building application wich embedded some dlls and extra files. The build doesn't work as I expect so the publish doesn't work too.

Here is the problem : if you download this Visual Studio solution : here , you will see it easily :

I'am using VS2010 RC, there are 3 project on the solution :

  • The First Library project. This project declared a file ("myExternalData.bin") on a subfolder with property build action as "content" and the property "copy on output directory" set to "always". When this project is build, the file is copy on the bin directory.. It's ok.

    • The second Library project. This project is referencing the First library project. When you build it, ""myExternalData.bin" is properly copy to the output bin directory of the second project. Ecverything is ok !

    • The third project is the "Web application" (from where i'am using the publish function..). This application is referencing the "SecondLibraryProject". When I'am building it, the file is not present on the "bin" directory with the First and Second project dlls... And he is not present anywhere... So it's seems normal that the publish doesn't works... But what's the problem ?? How can I get the "myExternalData.bin" automaticly copied to the bin folder ?

Thank you for any help.