473,320 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

First net 2.0 project, where is the DLL?

I can't find the DLL for my website? I found the aspx pages, but can't find
the dll. Please, someone clue me in please. Thank you.
Jan 25 '06 #1
6 1695
I had the exact same problem. To resolve the problem I ended up using
command line PreCompile approach along with XCOPY over to my web server.

aspnet_compiler.exe -v /<yourwebsite> -p <physical path to web app> <target
path for web app>

This is obviously a work around, but does take advantage of the new
PreCompile technology of ASP.NET 2.0 for "faster performance" -- it is a
little faster I must admit. But if you come across the real reason why the
DLL does not get created for your web app, please let me know.

Rob.

"Steve" <ss*@sss.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
I can't find the DLL for my website? I found the aspx pages, but can't
find the dll. Please, someone clue me in please. Thank you.

Jan 25 '06 #2
In Visual Studio 2005, click on Build -> Publish Web Site on the menu bar.
It will then ask you for a target location. Once you click OK, you will find
a bin directory within the target location that contains the DLL. You will
also find all the .aspx files and any dependencies (i.e. images) for your
application in the target location.
"Steve" wrote:
I can't find the DLL for my website? I found the aspx pages, but can't find
the dll. Please, someone clue me in please. Thank you.

Jan 25 '06 #3
The main reason why the DLL is not created anymore by default has to do with
source control. Before ASP.NET 2.0, the DLL was checked into SourceSafe as
part of the application. This was a problem with team development because
everytime someone has to recompile the application, they have to check out
the DLL and lock out all others from compiling the application.
"Rob R. Ainscough" wrote:
I had the exact same problem. To resolve the problem I ended up using
command line PreCompile approach along with XCOPY over to my web server.

aspnet_compiler.exe -v /<yourwebsite> -p <physical path to web app> <target
path for web app>

This is obviously a work around, but does take advantage of the new
PreCompile technology of ASP.NET 2.0 for "faster performance" -- it is a
little faster I must admit. But if you come across the real reason why the
DLL does not get created for your web app, please let me know.

Rob.

"Steve" <ss*@sss.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
I can't find the DLL for my website? I found the aspx pages, but can't
find the dll. Please, someone clue me in please. Thank you.


Jan 25 '06 #4
just like in 1.0, the page dll's are in a temp folder under the framework
ex:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\mysite

in 1.0 the codebehind dlls (actually all dll's in the bin folder) were
copied to these folders, and the pages (apsx) where compile into a dll. in
2.0, asp.net compiles the codebehind aslo, so no dll's are created in the
bin folder (this is for dll's included from other projects).

if you precompile the site for deployment, then VS makes a deploy folder
with all the dll's in the bin.

-- bruce (sqlwork.com)
"Steve" <ss*@sss.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
I can't find the DLL for my website? I found the aspx pages, but can't
find the dll. Please, someone clue me in please. Thank you.

Jan 25 '06 #5
If you want to be able to deploy your web app as in VS 2003 where there is
just one DLL to be copied to the bin folder on the server and you then copy
all your aspx files and any other files you reference to the server also, I
suggest you go to
http://msdn.microsoft.com/asp.net/re...p/default.aspx,
and download the Visual Studio 2005 Web Deployment projects along with the
instructions in the download further down the page: Using Web Deployment
Projects with Visual Studio 2005

It works real well for me.
"Steve" <ss*@sss.com> wrote in message
news:eD**************@TK2MSFTNGP12.phx.gbl...
I can't find the DLL for my website? I found the aspx pages, but can't
find the dll. Please, someone clue me in please. Thank you.

Jan 26 '06 #6
On Wed, 25 Jan 2006 12:54:33 -0800, Gordon
<Go****@discussions.microsoft.com> wrote:
The main reason why the DLL is not created anymore by default has to do with
source control. Before ASP.NET 2.0, the DLL was checked into SourceSafe as
part of the application.


That's odd, I've never seen Visual Studio 2003 check a build output
into source control automatically.

--
Scott
http://www.OdeToCode.com/blogs/scott/
Jan 26 '06 #7

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

Similar topics

19
by: DotNetIsHorrible | last post by:
I write CRUD database applications for a living for an audience of about 100 users per application using classic ASP. I maintain and frequently change on user's request 22 different applications...
19
by: DotNetIsHorrible | last post by:
I write CRUD database applications for a living for an audience of about 100 users per application using classic ASP. I maintain and frequently change on user's request 22 different applications...
7
by: tshad | last post by:
I have a problem with a VS 2003 project. This project was designed and works fine in VS 2003. But trying to open the project I get the following error....
4
by: nospam | last post by:
I have been running .NET 2003 for some time now. I have been working on the same C++ project for about a year now. All of a sudden, the first file in the project is being built every time I build...
7
by: michigaki | last post by:
hello, we are having problems in compiling a 'slightly' altered x264. We are always receiving a 'helloWorld' undeclared (first use this function) error. We may be commiting a very simple error but...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.