I understand that dll's are created when a site compiles but I don't even use some of these and they aren't referenced anywhere i.e. the DB we connect to is Sql so why is System.Data.OracleClient.dll appearing?
I wanted to chime in here since I am seeing the same annoying behavior and I'm not even using most of these System DLLs as part of my project.
I currently use the Web Application Deployment project and have all my classes compiled to a single .DLL. Once built I ZIP it all up for deployment. I noticed the size of my ZIPs had more than doubled so I went looking for the cause. These System DLLs keep
showing up in my Bin directory (yes, they are system DLLs, take a look and you'll find them). I wrote an additional script to strip all System.* files from my bin directory before I ZIP for deploy. And yes, Spider Master, everything works great...after all,
they are system DLLs that should be in the GAC, no?
I'd love to know how to make them not show up when doing a build - removing them in a script feels..strange. Anybody know?
It looks like it's the WDP that's causing this problem. I changed the website to NOT build as part of the solution and it doesn't add these files in.
I've removed the System dll's from the site and put it on the test server and everything runs as it should.
It's a strange one though as I've already upgraded some other sites without this happening..
I'll try creating a fresh WDP and see if that fixes this...
I wanted to chime in here since I am seeing the same annoying behavior and I'm not even using most of these System DLLs as part of my project.
I currently use the Web Application Deployment project and have all my classes compiled to a single .DLL. Once built I ZIP it all up for deployment. I noticed the size of my ZIPs had more than doubled so I went looking for the cause. These System DLLs keep
showing up in my Bin directory (yes, they are system DLLs, take a look and you'll find them). I wrote an additional script to strip all System.* files from my bin directory before I ZIP for deploy. And yes, Spider Master, everything works great...after all,
they are system DLLs that should be in the GAC, no?
I'd love to know how to make them not show up when doing a build - removing them in a script feels..strange. Anybody know?
Even if you don't use Ajax and expect to use GAC dlls etc you are still writing custom code yes??
So where does this code go? You no longer have code behind files correct? So you expect the GAC to know what you have written?
I think not. These DLL's are in fact your custom code compacted (just like Ajax right - Ajax is pretty much java jammed into a dll) and secured from anyone stealing your code and you now have a compiled and secure (code wise) site that will run at full
power un like your non compiled version.
Do what I said in my previous post and I guarantee your site will be as dead as a chucking water over your server.
Classifieds Starter Kit
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
If you read my previous post you will see that I removed all the system dll's that are being created and the app still works perfectly well.
I can't see any reason for these being created in the bin folder.
wmca
Member
380 Points
97 Posts
Upgraded Website has random DLL's appearing
Jan 24, 2008 11:02 AM|LINK
I've upgraded a website to 3.5, now my bin folder has the following dll's appearing and they are also still in the folder when the app compiles..
System.Data.dll
System.Data.OracleClient.dll
System.EnterpriseServices.dll
System.EnterpriseServices.dll
System.EnterpriseServices.Wrapper.dll
System.Transactions.dll
System.Web.dll
Does anyone know what's causing this?
Spider Maste...
Participant
1664 Points
483 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 01:39 PM|LINK
DLL's are created when the site compiles.
You will notice that all your code behinds and also Class's have now gone.
These are now.
System.Data.dll
System.Data.OracleClient.dll
System.EnterpriseServices.dll
System.EnterpriseServices.dll
System.EnterpriseServices.Wrapper.dll
System.Transactions.dll
System.Web.dll
And it is very important that they remain with the site for it to functaion.
Regards
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
wmca
Member
380 Points
97 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 01:49 PM|LINK
I understand that dll's are created when a site compiles but I don't even use some of these and they aren't referenced anywhere i.e. the DB we connect to is Sql so why is System.Data.OracleClient.dll appearing?
[*-)]
Spider Maste...
Participant
1664 Points
483 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 02:33 PM|LINK
Ok lets have a play. there may just be an error so try this.
Right Click your mouse over the dll's and select "Exclude From Project"
Do this until all of them are Excluded
Now run the site and see how far you can get regarding logging in and so on.
[:D]
Im Curious to know.
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
any name
Member
30 Points
15 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 02:45 PM|LINK
I wanted to chime in here since I am seeing the same annoying behavior and I'm not even using most of these System DLLs as part of my project.
I currently use the Web Application Deployment project and have all my classes compiled to a single .DLL. Once built I ZIP it all up for deployment. I noticed the size of my ZIPs had more than doubled so I went looking for the cause. These System DLLs keep showing up in my Bin directory (yes, they are system DLLs, take a look and you'll find them). I wrote an additional script to strip all System.* files from my bin directory before I ZIP for deploy. And yes, Spider Master, everything works great...after all, they are system DLLs that should be in the GAC, no?
I'd love to know how to make them not show up when doing a build - removing them in a script feels..strange. Anybody know?
wmca
Member
380 Points
97 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 03:01 PM|LINK
It looks like it's the WDP that's causing this problem. I changed the website to NOT build as part of the solution and it doesn't add these files in.
I've removed the System dll's from the site and put it on the test server and everything runs as it should.
It's a strange one though as I've already upgraded some other sites without this happening..
I'll try creating a fresh WDP and see if that fixes this...
wmca
Member
380 Points
97 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 03:05 PM|LINK
Ignore last post - the dll was recreated, it just hadn't appeared with a refresh...
Spider Maste...
Participant
1664 Points
483 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 03:06 PM|LINK
Even if you don't use Ajax and expect to use GAC dlls etc you are still writing custom code yes??
So where does this code go? You no longer have code behind files correct? So you expect the GAC to know what you have written?
I think not. These DLL's are in fact your custom code compacted (just like Ajax right - Ajax is pretty much java jammed into a dll) and secured from anyone stealing your code and you now have a compiled and secure (code wise) site that will run at full power un like your non compiled version.
Do what I said in my previous post and I guarantee your site will be as dead as a chucking water over your server.
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
wmca
Member
380 Points
97 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 03:09 PM|LINK
New WDP didn't make any difference either, still creating the dll's
wmca
Member
380 Points
97 Posts
Re: Upgraded Website has random DLL's appearing
Jan 24, 2008 03:12 PM|LINK
If you read my previous post you will see that I removed all the system dll's that are being created and the app still works perfectly well.
I can't see any reason for these being created in the bin folder.