473,466 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Where is the generated DLL?

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
nj********@hotmail.com
http://www.nathansokalski.com/
Jul 12 '08 #1
7 1699
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
Jul 12 '08 #2
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" <nj********@hotmail.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>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
nj********@hotmail.com
http://www.nathansokalski.com/
Jul 12 '08 #3
On Jul 11, 11:27 pm, "Jeff Winn" <jw...@nospam.comwrote:
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.comwrote in message

news:%2****************@TK2MSFTNGP02.phx.gbl...
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.
Jul 12 '08 #4
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
Jul 14 '08 #5
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
Jul 14 '08 #6
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
Jul 14 '08 #7
On Jul 13, 10:36 pm, "John Saunders" <n...@dont.do.that.comwrote:
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.
Jul 14 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Vinodh | last post by:
Hi, I created an ASP.NET application in VB.NET. I put one text box (Textbox1) and a button (button1) to the web form (webform1). Then I clicked on the button and add the following code. ...
18
by: jabailo | last post by:
I wrote a program that loops through a file of records. It parses each line in the file and sends them to a web service that inserts them into an AS400DB2 database using Asynch calls. This is...
2
by: pnichols | last post by:
We have a large select statement being executed statically from an SQL stored procedure, such as: SELECT ...about 100 columns... FROM ...about 30 tables... WHERE ...about 10 predicates... AND...
1
by: Umut Tezduyar | last post by:
Where is the designer generated 'partial' class. I want to see it also. But i only see my .aspx class and it's partial code behind class. There must be another class that the designer binds events...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
12
by: Scott M. | last post by:
I am an experienced .NET 1.1 developer, but am just now looking at .NET 2.0 with Visual Studio 2005 Professional (SP1). I set up a basic ADO .NET ASP ..NET Web Application project and added a SQL...
4
by: Bernard Dhooghe | last post by:
Table definition: CREATE TABLE "SCHEMA1 "."X2" ( "C1" CHAR(20) NOT NULL , "C2" CHAR(10) NOT NULL , "C3" CHAR(30) NOT NULL GENERATED ALWAYS AS (C1|| C2) ) IN "USERSPACE1" ; -- DDL...
9
by: =?Utf-8?B?U3RldmUgQmVobWFu?= | last post by:
Using Visual C++8.0 Express Edition I created a "Solution " using a "Form" (dialog) of my own design. Without adding any code of my own I compiled the code generated for me by Visual C++. The...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.