Recently, we ran updates on our Server 2008 machine. Now when we publish a project to it, the project's dll file disappears from the /bin folder. It's as if the server considers it a malicious file and removes it.
If we go to the server itself and copy the project's dll to the bin folder, the dll will remain.
Was this caused by our recent updates to the Web Server or has anyone else run into this?
Look at the properties for the dll file you added a reference to in the solution explorer. Make sure it the copy local property is set to true, This will make sure it is included in the publish
mcw317
0 Points
7 Posts
dll disappears after publish to server
May 02, 2012 09:23 PM|LINK
Recently, we ran updates on our Server 2008 machine. Now when we publish a project to it, the project's dll file disappears from the /bin folder. It's as if the server considers it a malicious file and removes it.
If we go to the server itself and copy the project's dll to the bin folder, the dll will remain.
Was this caused by our recent updates to the Web Server or has anyone else run into this?
Thanks for any assistance!
Ken Tucker
All-Star
16797 Points
2608 Posts
MVP
Re: dll disappears after publish to server
May 03, 2012 12:08 AM|LINK
Look at the properties for the dll file you added a reference to in the solution explorer. Make sure it the copy local property is set to true, This will make sure it is included in the publish
Space Coast .Net User Group
mcw317
0 Points
7 Posts
Re: dll disappears after publish to server
May 04, 2012 02:29 PM|LINK
Thanks for responding.
Actually, this isn't a referenced dll...it's the dll created in the bin folder when I build the project.