Are satellite assemblies only for ressource ?

O

Olivier Matrot

I would like to broke up an ASP.NET project in several assemblies. The goal
is to link aspx files with a specific assembly. This way you could put
functionnality in various DLL and choose to distribute or not the peaces of
a web site.
TIA.
 
P

Patrice

You could use the command line compiler to build several DLLs for your site.

VS.NET 2005 should allow this scenario as the build engine will be fully
exposed...

Patrice
 
O

Olivier Matrot

This is good news.
However, did you already do this ? Is there a tutorial out there ?
 
P

Patrice

Try
http://msdn.microsoft.com/library/d...ry/en-us/cscomp/html/vcrefCompilerOptions.asp
or
http://msdn.microsoft.com/library/d...blr7/html/vaoriVisualBasicCompilerOptions.asp

Basically :
- use /recurse to be able to compile all the source files that are in a
subtree
- use /r to reference the common librairies you may have accross all your
site part

You'll have a command file that calls this multiple times to produce a
single dLL for each subpart (and suppress the single DLL if doing this on
the developer machine, here we are using VS.NET on dev workstations and we
build the DLLs on our dev server).

Patrice

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top