How do I get the Visual Studio Publish option to remove a file from the bin directory?
I have a web application that, when published using the Publish option in Visual Studio, outputs the System.Data.SQLite.dll DLL in the bin directory.
When deploying, this DLL causes a problem, so I have to delete every time after publishing.
Is there a way to automatically remove the th file from the bin directory in what is "posted"?
DECISION:
I did reference the Elmah.dll file, which is then automatically loaded into System.Data.SQLite.dll. The solution is to remove the System.Data.SQLite.dll file from the directory referenced by Elmah.dll.
I found the solution here: Junk SQLite inserted into the trash
+3
source to share