How do you enable dll without links when publishing a web application?

I have different dlls that I do not directly link to on the ASP.NET website. I am trying to publish through the Package / Publish Online feature in Visual Studio 2010.

How can I say that the publish function should include these specific files?

Please note that I do not want to refer directly to these DLLs (the solution was specially configured so that this particular dll is not directly referenced).

I found <ExcludeFilesFromDeployment/>, but I can’t find a way to specifically include files.

+5
source share
3 answers

( , ) Copy To Output Directory , Newer. , , . , .

+4

-. , , , .

+1
source

All Articles