473,404 Members | 2,137 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,404 software developers and data experts.

Compiling *code behind* into multiple DLLs ?

Hi all,

I'm currently upgrading a 1.1 application. We were using a command file to
invoke the command line compiler to that we have the code behind compiled
into multiple DLLs (to be able to deploy one "part" of the site while
working on another, this is an intranet that contains related but somewhat
independant "modules").

I first thought it was possible in 2.0 but it seems now that actually this
is only true for ASPX files and that code behind files are still compiled
into a single assembly...

Is this something available out of the box (possibly using the web
deployment addin ?) or do I still need to customize the build process if I
want to compile the code behind into multiple DLLs ?

For now the best option I see would be to hand edit an msbuild file...

Thanks in advance for any advice.

(sorry if doubled post but I don't see my first attempt)
Sep 9 '08 #1
3 2018
Hello Patrice" http:www.chez.com/scribe/,

What type of project are you using?! For the "Web Site" project, not "Web
application" VS 2005 provides the new complilation into multiple assemblies
by default. Specific asp.net folders and contorls will be outputed into separate
dlls

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
PHi all,
P>
PI'm currently upgrading a 1.1 application. We were using a command
Pfile to invoke the command line compiler to that we have the code
Pbehind compiled into multiple DLLs (to be able to deploy one "part"
Pof the site while working on another, this is an intranet that
Pcontains related but somewhat independant "modules").
P>
PI first thought it was possible in 2.0 but it seems now that actually
Pthis is only true for ASPX files and that code behind files are still
Pcompiled into a single assembly...
P>
PIs this something available out of the box (possibly using the web
Pdeployment addin ?) or do I still need to customize the build process
Pif I want to compile the code behind into multiple DLLs ?
P>
PFor now the best option I see would be to hand edit an msbuild
Pfile...
P>
PThanks in advance for any advice.
P>
P(sorry if doubled post but I don't see my first attempt)
P>
Sep 9 '08 #2
I'm using the "web application" model (VS 2008) as this is a 1.1 upgrade
plus I used the "Web site" project model for another project and for now it
looks like the "web application" model works better for me...

Is this compilation behavior really tied to the project model used ? Is this
possible to use the "web application" model for development and to invoke
the same commands than for a "web project" model when creating the release
build ?

Else I'll just keep my batch files for 2.0...

Thanks.

--
Patrice

"Michael Nemtsev [MVP]" <ne*****@msn.coma ecrit dans le message de groupe
de discussion : 90**************************@msnews.microsoft.com...
Hello Patrice" http:www.chez.com/scribe/,

What type of project are you using?! For the "Web Site" project, not "Web
application" VS 2005 provides the new complilation into multiple
assemblies by default. Specific asp.net folders and contorls will be
outputed into separate dlls

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


Sep 9 '08 #3
Finally I just used my previous batch file all along with aspnet_compiler
and aspnet_merge and it seems to produce the desired output...

I thought 2.0 was able to that including fro WAP but I likely missed it was
just for compiled ASPX pages, not for code behind files...

--
Patrice

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de groupe de
discussion : 2B**********************************@microsoft.com...
I'm using the "web application" model (VS 2008) as this is a 1.1 upgrade
plus I used the "Web site" project model for another project and for now
it looks like the "web application" model works better for me...

Is this compilation behavior really tied to the project model used ? Is
this possible to use the "web application" model for development and to
invoke the same commands than for a "web project" model when creating the
release build ?

Else I'll just keep my batch files for 2.0...

Thanks.

--
Patrice

"Michael Nemtsev [MVP]" <ne*****@msn.coma ecrit dans le message de
groupe de discussion :
90**************************@msnews.microsoft.com...
>Hello Patrice" http:www.chez.com/scribe/,

What type of project are you using?! For the "Web Site" project, not "Web
application" VS 2005 provides the new complilation into multiple
assemblies by default. Specific asp.net folders and contorls will be
outputed into separate dlls

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and
we miss it, but that it is too low and we reach it" (c) Michelangelo


Sep 9 '08 #4

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

Similar topics

5
by: Jo Vermeulen | last post by:
Hello, I was wondering if Java supports a feature of C# (or .NET in general), namely compiling code at runtime. This is nice for scripting purposes. Users can script the application in real...
2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
3
by: Neil Zanella | last post by:
Hello, I would like to know what the advantages and disadvantages of using on-page scripts versus code-behind are. It seems to me that both accomplish the same thing, so I would like to hear...
8
by: neilmcguigan | last post by:
I just wanted to list some reasons why I prefer inline code to code-behind. 1. you can fix some bugs more quickly. remote desktop into server, change the aspx file, and she's good to go. I'd say...
5
by: pedestrian via DotNetMonster.com | last post by:
I'm just beginning to learn ASP.NET 2.0. I wonder what's the reason for using or not using the code behind file? Thanks for replying... -- Regards, Pedestrian, Penang. Message posted via...
3
by: Phaitour | last post by:
Hi there, I'm working on developing a large Class Library project that is slowly becoming a shared "framework" library amongst multiple applications. As this shared library grows, I need to...
1
by: LiveCycle | last post by:
Hi, I'm putting together a project that uses ASP.NET in VS2005. It uses a single master page that is responsible for most of the heavy lifting. About 90% of the 200 pages have the same...
8
by: WebSnozz | last post by:
I have an application written in C that does a lot of low level stuff. It does a lot of things like casting from void*'s. I want to create a new GUI for it in either C# or MC++, but reuse the...
4
by: Arejan | last post by:
hi i am a beginner in asp.net , but have experience in vb6 my q is can asp.net source code be compiled and make an exe as done in vb6. so that users cannot manipulate the source. my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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...

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.