473,396 Members | 1,843 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,396 software developers and data experts.

Precompiled DLLs not getting creating from setup

Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.

But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know what needs to be done to ensure that DLLs are produced &
not code files.
Note: BOTH 'codebehind' & 'SRC' attribute has been used.

--
Greats!
Aug 4 '07 #1
3 1908
VS 2003 creates a single-dll with all your compiled code.

With VS 2003, you don't need to upload your code-behind files.
Only your aspx files and any other files you require ( images/user controls, etc ).

re:
!Please let me know what needs to be done to ensure that DLLs are produced & not code files.
!Note: BOTH 'codebehind' & 'SRC' attribute has been used.

Get rid of your SRC attribute and only use code-behind or assemblies compiled from the command-line.
As long as you use SRC, the source files will need to be uploaded.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Ziangi Jones" <Zi*********@discussions.microsoft.comwrote in message
news:33**********************************@microsof t.com...
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.

But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know what needs to be done to ensure that DLLs are produced &
not code files.
Note: BOTH 'codebehind' & 'SRC' attribute has been used.

--
Greats!

Aug 4 '07 #2
"Get rid of your SRC attribute and only use code-behind or assemblies
compiled from the command-line. As long as you use SRC, the source files will
need to be uploaded."

Actually SRC attribute has been used because i m using user controls (.ASCX)
files in my ASPX files. i don't think i can remove the SRC attribute.
Also, while preparing the setup (using SETUP WIZARD), there is an option of
including source files as well. If i uncheck this option, then only some DLLs
are created in the setup, not a single aspx page is created in the setup.
--
Greats!
"Juan T. Llibre" wrote:
VS 2003 creates a single-dll with all your compiled code.

With VS 2003, you don't need to upload your code-behind files.
Only your aspx files and any other files you require ( images/user controls, etc ).

re:
!Please let me know what needs to be done to ensure that DLLs are produced & not code files.
!Note: BOTH 'codebehind' & 'SRC' attribute has been used.

Get rid of your SRC attribute and only use code-behind or assemblies compiled from the command-line.
As long as you use SRC, the source files will need to be uploaded.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Ziangi Jones" <Zi*********@discussions.microsoft.comwrote in message
news:33**********************************@microsof t.com...
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.

But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know what needs to be done to ensure that DLLs are produced &
not code files.
Note: BOTH 'codebehind' & 'SRC' attribute has been used.

--
Greats!


Aug 5 '07 #3
re:
!Actually SRC attribute has been used because i m using user controls (.ASCX)
!files in my ASPX files. i don't think i can remove the SRC attribute.

Please review this MSDN article on the ASP.NET Compilation Tool :

http://msdn2.microsoft.com/en-us/lib...63(VS.80).aspx

It will help you understand what happens a bit more.

Pay close attention to the table included in the "Compiling an Application for Deployment" section,
which details the file types and what the compiler does to each of them.

Basically, when the -u option is included :

Static file types are copied to the target location, with their relative places in the directory structure preserved.

..ascx, .aspx, and .master files are split into markup and source code, which includes code-behind files.

Source code is compiled into assemblies, with names that are derived from a hashing algorithm,
and the assemblies are placed in the Bin directory.

New files with the same name as the source files are created to
contain the markup and placed in the corresponding output directories.

When the -u option is omitted, there's different behavior:

..ascx files are split into markup and source code.

Source code is compiled into assemblies and placed in the Bin directory,
with names that are derived from a hashing algorithm. No markup files are generated.

Read the article to see which option is best for you.
You do *not* have to include source files when you pre-compile an application.

All you need to do is pre-compile your application and copy
the compilation's results from the target directory to your server.

You do *not* copy any of your original files; only the results of the compilation.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================

"Ziangi Jones" <Zi*********@discussions.microsoft.comwrote in message
news:72**********************************@microsof t.com...
"Get rid of your SRC attribute and only use code-behind or assemblies
compiled from the command-line. As long as you use SRC, the source files will
need to be uploaded."
Actually SRC attribute has been used because i m using user controls (.ASCX)
files in my ASPX files. i don't think i can remove the SRC attribute.
Also, while preparing the setup (using SETUP WIZARD), there is an option of
including source files as well. If i uncheck this option, then only some DLLs
are created in the setup, not a single aspx page is created in the setup.
--
Greats!
"Juan T. Llibre" wrote:
>VS 2003 creates a single-dll with all your compiled code.

With VS 2003, you don't need to upload your code-behind files.
Only your aspx files and any other files you require ( images/user controls, etc ).

re:
!Please let me know what needs to be done to ensure that DLLs are produced & not code files.
!Note: BOTH 'codebehind' & 'SRC' attribute has been used.

Get rid of your SRC attribute and only use code-behind or assemblies compiled from the command-line.
As long as you use SRC, the source files will need to be uploaded.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Ziangi Jones" <Zi*********@discussions.microsoft.comwrote in message
news:33**********************************@microso ft.com...
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.

But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know what needs to be done to ensure that DLLs are produced &
not code files.
Note: BOTH 'codebehind' & 'SRC' attribute has been used.

--
Greats!




Aug 5 '07 #4

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

Similar topics

1
by: JoeS | last post by:
Is there anyway to share a single pch file between projects in VC 7.0? I have 300+ projects each of which creates its own pch. All projects include the exact same header files in the precompiled...
20
by: Bonj | last post by:
Is it possible to avoid using precompiled headers on files that don't #include "stdafx.h". I have an ATL project,which has got a lot of ATL #includes in its stdafx.h. I now need to add some .c...
0
by: Adam West | last post by:
hi, i am creating a setup project with vs studio 2003, but i want to setup dlls of used components to the target machine automatically when setup is done.how i can create setup project with this...
5
by: MJB | last post by:
I have several dlls that have app.config files tied to them. When adding their primary output to a Setup project everything works fine, but only the app.config for the .exe gets added to the Setup...
1
by: rohan_from_mars | last post by:
I have a windows service and am also using Enterprise Library June 2005 version. Now i have created Setup and Deployment Project which installs the service. but how do i add EL dlls-...
2
by: bosa | last post by:
Hi, I am looking for a way to deploy a precompiled ASP.NET site that does not involve the bin directory. My problem is that deploying binary files to the bin directory remains a no-no on...
4
by: Dave | last post by:
When and what does .Net want to compile? I have a file called upload.cs. I made changes to it. Tried to rebuild. But it won't saying "the application is already precomiled." I would have...
3
by: pamela fluente | last post by:
This may be a stupid question. I am creating a setup project. The setup project automatically includes 2 external DLLs. In the same folder of those DLL there is an OCX, which anyway does not...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Using Visual Studio 2005, I have created 4 small DLLs that our company projects can use to access common tools included in each of the separate DLL files. Our Visual Studio 2005 applications...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.