PC Review


Reply
Thread Tools Rate Thread

Where is the generated DLL?

 
 
Nathan Sokalski
Guest
Posts: n/a
 
      12th Jul 2008
I have a WebSite created by clicking Create Web Site. but when I click Build
Web Site I cannot find a dll anywhere. I even did a search of my entire hard
drive, and did not find it. What's going on here?
--
Nathan Sokalski
(E-Mail Removed)
http://www.nathansokalski.com/


 
Reply With Quote
 
 
 
 
jacky kwok
Guest
Posts: n/a
 
      12th Jul 2008
Nathan Sokalski wrote:
> I have a WebSite created by clicking Create Web Site. but when I click Build
> Web Site I cannot find a dll anywhere. I even did a search of my entire hard
> drive, and did not find it. What's going on here?



A "Web Site" project will not generate any "DLL". You can know the
detail of a "Web Site" project in MSDN document.

If "DLL" output is necessary, using the "Web Application" project in
VS2005(SP1 only) or VS2008.

--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
 
Reply With Quote
 
Jeff Winn
Guest
Posts: n/a
 
      12th Jul 2008
Hello Nathan,

Web site projects don't work like the old web application projects did. When
compiled each page generates their own assembly (this is the most common
setting). That being said, they usually use a random generated name for each
of the assemblies needed. Currently the assemblies that are generated for
the web site projects i work with are located in the Temporary ASP.NET Files
folder under my user profile. If you do need to generate a single dll for
the site, I believe web deployment projects are capable of producing a
single output assembly for the site.

Not really sure why you'd need the site to generate a single assembly, just
create a seperate class library project for anything you want to share
between other applications and your site.

If you need any further clarification, don't hesitate to ask.

- Jeff

"Nathan Sokalski" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have a WebSite created by clicking Create Web Site. but when I click
>Build Web Site I cannot find a dll anywhere. I even did a search of my
>entire hard drive, and did not find it. What's going on here?
> --
> Nathan Sokalski
> (E-Mail Removed)
> http://www.nathansokalski.com/
>


 
Reply With Quote
 
daveh551
Guest
Posts: n/a
 
      12th Jul 2008
On Jul 11, 11:27 pm, "Jeff Winn" <jw...@nospam.com> wrote:
> Hello Nathan,
>
> Web site projects don't work like the old web application projects did. When
> compiled each page generates their own assembly (this is the most common
> setting). That being said, they usually use a random generated name for each
> of the assemblies needed. Currently the assemblies that are generated for
> the web site projects i work with are located in the Temporary ASP.NET Files
> folder under my user profile. If you do need to generate a single dll for
> the site, I believe web deployment projects are capable of producing a
> single output assembly for the site.
>
> Not really sure why you'd need the site to generate a single assembly, just
> create a seperate class library project for anything you want to share
> between other applications and your site.
>
> If you need any further clarification, don't hesitate to ask.
>
> - Jeff
>
> "Nathan Sokalski" <njsokal...@hotmail.com> wrote in message
>
> news:%(E-Mail Removed)...
>
> >I have a WebSite created by clicking Create Web Site. but when I click
> >Build Web Site I cannot find a dll anywhere. I even did a search of my
> >entire hard drive, and did not find it. What's going on here?
> > --
> > Nathan Sokalski
> > njsokal...@hotmail.com
> >http://www.nathansokalski.com/


If you do a "Publish Website", it will also generate a single DLL for
the entire site. It will usually be located in a "Precompiled Web"
folder under your project folder, and the DLL will be in the bin
directory of that folder, probably called "App_Code.dll" The
PrecompiledWeb folder is basically an image that you can FTP to your
hosting server.
 
Reply With Quote
 
John Saunders
Guest
Posts: n/a
 
      14th Jul 2008
As many have replied, web sites aren't projects, so they don't build a DLL.
My solution to this problem is to never use a Web Site.

--
John Saunders | MVP - Connected System Developer


 
Reply With Quote
 
daveh551
Guest
Posts: n/a
 
      14th Jul 2008
On Jul 13, 10:36 pm, "John Saunders" <n...@dont.do.that.com> wrote:
> As many have replied, web sites aren't projects, so they don't build a DLL.
> My solution to this problem is to never use a Web Site.
>
> --
> John Saunders | MVP - Connected System Developer


I'm kinda learning by trial and error, but I found (with VS 2005) that
Web Applications lacked some of the development features in VS that
Websites had. For example, the "ASP.NET Configuration" that brings up
the Website Administration tool for a website didn't seem to work
right (or wasn't even offered - I can't remember) when used with a Web
Application. And when I added code files to the App_Code directory of
a web application, I had a dickens of time getting them to be included
in the build. Setting "trace" in the web.config file didn't seem to
work consistently for a Web Application. A bunch of other little
things.

But it was a shocker when I loaded my Website to my hosting platform
and discovered that it was re-compiling everything on the fly,
sometimes with build errors that were not present when building under
VS. That's when somebody told me about "Publish Website", which DOES
do a build to .dll. So that's what I do now.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSharpCodeProvider generated EXE embedded with ResourceWriter generated .resources fails... Jon Rista Microsoft C# .NET 4 1st Oct 2005 08:49 PM
generated ID jervin via AccessMonster.com Microsoft Access Forms 2 6th Sep 2005 02:41 PM
W2K Error: "SVCHOST has generated errors...An error log is being generated" ? Al Dykes Windows XP General 1 14th May 2005 04:54 PM
The application, C:\WINDOWS\system32\lsass.exe, generated an application error The error occurred on 05/03/2004 @ 10:50:46.755 The exception generated was c0000005 at address 00900090 () =?Utf-8?B?cmljayBj?= Windows XP General 2 5th May 2004 04:36 AM
save.exe generated error - explorer.exe generated error JCGarcia Microsoft Windows 2000 1 31st Jan 2004 11:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:28 PM.