473,804 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

assemblies & references

Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references
Nov 22 '05 #1
12 1117
just code it that way?! im kinda missing what you're not getting.. just code
all the modules as seperate projects and refrence them all together... it's
not that hard
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references

Nov 22 '05 #2
If you want to take this approach, you'll need to create each module in its
own solution, which will compile it to its own assembly. For example, one
solution could be the module that describes data classes and another could
describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references

Nov 22 '05 #3
how to compile them and make those project readable and can reference them ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module in its own solution, which will compile it to its own assembly. For example, one
solution could be the module that describes data classes and another could
describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references


Nov 22 '05 #4
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes in
the modules.

Are you saying you don't know how to compile and make references? If so,
that is a completely different issue. If you are using VS.NET, "build" your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them ?
"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module in

its
own solution, which will compile it to its own assembly. For example, one solution could be the module that describes data classes and another could describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
Anyone know how to breakdown every modules into different assemblies

and refernces. Hence, to repair problematic module, only that

particular module needed to be recompiled.
or any place can get more information about assemblies & references



Nov 22 '05 #5
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
..NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up
i browse to the destination path and choose xxx.exe but can not add the
references.

this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes in the modules.

Are you saying you don't know how to compile and make references? If so,
that is a completely different issue. If you are using VS.NET, "build" your assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them
?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
If you want to take this approach, you'll need to create each module
in its
own solution, which will compile it to its own assembly. For example,

one solution could be the module that describes data classes and another could describe business classes.

Search MSDN.Microsoft. com, keyword "assemblies " for more.
" A-PK" <pi********@hot mail.com> wrote in message
news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> Anyone know how to breakdown every modules into different assemblies
>
> and refernces. Hence, to repair problematic module, only that
>
> particular module needed to be recompiled.
>
>
> or any place can get more information about assemblies & references
>
>



Nov 22 '05 #6

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up
i browse to the destination path and choose xxx.exe but can not add the
references.
You want to make a reference to a .NET Assembly, right? Then choose .NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every files on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can or can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would
any assembly. Once they are referenced, you can instantiate the classes

in
the modules.

Are you saying you don't know how to compile and make references? If so, that is a completely different issue. If you are using VS.NET, "build"

your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
how to compile them and make those project readable and can reference them
?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:OY******** ******@tk2msftn gp13.phx.gbl...
> If you want to take this approach, you'll need to create each module

in its
> own solution, which will compile it to its own assembly. For example, one
> solution could be the module that describes data classes and another

could
> describe business classes.
>
> Search MSDN.Microsoft. com, keyword "assemblies " for more.
>
>
> " A-PK" <pi********@hot mail.com> wrote in message
> news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > Anyone know how to breakdown every modules into different

assemblies > >
> > and refernces. Hence, to repair problematic module, only that
> >
> > particular module needed to be recompiled.
> >
> >
> > or any place can get more information about assemblies & references > >
> >
>
>



Nov 22 '05 #7
ok..should i compile my project to .dll file then make references to my
project ?

i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?

i am confused about dll now...i though dot net already face off dll.....but
how come i still need to compile dll in order to make references ?...pls
guide me....i am not clear in this issue
"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:eL******** ******@TK2MSFTN GP10.phx.gbl...

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add
References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up i browse to the destination path and choose xxx.exe but can not add the
references.


You want to make a reference to a .NET Assembly, right? Then choose .NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every

files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ...can

or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
Compile them just as you would any assembly. Reference them as you would any assembly. Once they are referenced, you can instantiate the classes in
the modules.

Are you saying you don't know how to compile and make references? If so, that is a completely different issue. If you are using VS.NET,
"build"
your
assembly (compile) from the Build menu. If not using VS.NET, use the
command line compilers.
" A-PK" <pi********@hot mail.com> wrote in message
news:Oc******** ******@tk2msftn gp13.phx.gbl...
> how to compile them and make those project readable and can
reference them
?
>
> "Scott M." <s-***@BADSPAMsnet .net> wrote in message
> news:OY******** ******@tk2msftn gp13.phx.gbl...
> > If you want to take this approach, you'll need to create each
module in
> its
> > own solution, which will compile it to its own assembly. For

example, one
> > solution could be the module that describes data classes and
another could
> > describe business classes.
> >
> > Search MSDN.Microsoft. com, keyword "assemblies " for more.
> >
> >
> > " A-PK" <pi********@hot mail.com> wrote in message
> > news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > > Anyone know how to breakdown every modules into different

assemblies > > >
> > > and refernces. Hence, to repair problematic module, only that
> > >
> > > particular module needed to be recompiled.
> > >
> > >
> > > or any place can get more information about assemblies & references > > >
> > >
> >
> >
>
>



Nov 22 '05 #8

" A-PK" <pi********@hot mail.com> wrote in message
news:ed******** ********@TK2MSF TNGP11.phx.gbl. ..
ok..should i compile my project to .dll file then make references to my
project ?
Whatever .dll you want to reference should already be compiled into its
final form (.dll or .exe) before you reference it. The project that needs
to use the referenced .dll need not be compiled to make the reference, but
certainly needs to be compiled in order for its code to run (and therefore
use the referenced assembly).
i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?
See above.
i am confused about dll now...i though dot net already face off dll.....but how come i still need to compile dll in order to make references ?...pls
guide me....i am not clear in this issue
As I stated, you need to have whatever you want to reference already
compiled, because the compiled assembly is what you make a reference to.
The project that is making the reference needs to be compiled to run, but
not to make a reference. An example of this is that a brand new project in
VS.NET will already have references to commonly used .NET assemblies
(system.dll, mscoree.dll, etc.) before you even begin.

I really would suggest an msdn.microsoft. com search on "Assemblies ",
"Namespaces " and "references " as these are all basic tenants of .NET
programming.

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:eL******** ******@TK2MSFTN GP10.phx.gbl...

" A-PK" <pi********@hot mail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
so sorry.....
I right click the "references " under the solution explorer and choose Add References.

then pop up one screen with Three Tab there
.NET \ COM \ Projects

i wonder which to choose ? I choose Project then anotehr screen poping up i browse to the destination path and choose xxx.exe but can not add the references.


You want to make a reference to a .NET Assembly, right? Then choose ..NET
and hit browse. Browse to the .NET assembly in question and hit select.
Then click OK. It's really very simple.


this is where I stuck.

1- i dun know if my file compile correctly - acoording to scott, i did
compile them correcntly.
2- i dun know if my destination path is correct, but i have try every

files
on that folder, but all can not

Is it only DLL or COM file can be references ?
I create a new project and try to compile and make it a reference ....can
or
can not ?

"Scott M." <s-***@BADSPAMsnet .net> wrote in message
news:#3******** ******@TK2MSFTN GP10.phx.gbl...
> Compile them just as you would any assembly. Reference them as you

would
> any assembly. Once they are referenced, you can instantiate the classes in
> the modules.
>
> Are you saying you don't know how to compile and make references?
If so,
> that is a completely different issue. If you are using VS.NET,

"build" your
> assembly (compile) from the Build menu. If not using VS.NET, use
the > command line compilers.
>
>
> " A-PK" <pi********@hot mail.com> wrote in message
> news:Oc******** ******@tk2msftn gp13.phx.gbl...
> > how to compile them and make those project readable and can

reference them
> ?
> >
> > "Scott M." <s-***@BADSPAMsnet .net> wrote in message
> > news:OY******** ******@tk2msftn gp13.phx.gbl...
> > > If you want to take this approach, you'll need to create each module in
> > its
> > > own solution, which will compile it to its own assembly. For

example,
> one
> > > solution could be the module that describes data classes and another > could
> > > describe business classes.
> > >
> > > Search MSDN.Microsoft. com, keyword "assemblies " for more.
> > >
> > >
> > > " A-PK" <pi********@hot mail.com> wrote in message
> > > news:uQ******** *******@tk2msft ngp13.phx.gbl.. .
> > > > Anyone know how to breakdown every modules into different

assemblies
> > > >
> > > > and refernces. Hence, to repair problematic module, only that
> > > >
> > > > particular module needed to be recompiled.
> > > >
> > > >
> > > > or any place can get more information about assemblies &

references
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 22 '05 #9
I have a concern which follows on from this discussion.

I am building a .NET application made up of multiple assemblies
(projects) in a single solution. The projects are decoupled as much as
possible so that only a few interfaces are exposed between projects.

But....

Whenever I touch any code in a more fundamental project (say, Storage),
ALL files are recompiled in ALL projects that reference this changed
project.

This is unacceptable! At the moment the compile times are not large as
the project is still at POC stage but I expect the code space to
increase at least 100 to 1000 fold.

Am I missing something, or is this deliberate? Surely VS can determine
whether any exposed types have been changed rather than taking what
appears to be the most pessimistic approach.

Any information would be very much appreciated.


Whatever .dll you want to reference should already be compiled into its
final form (.dll or .exe) before you reference it. The project that needs
to use the referenced .dll need not be compiled to make the reference, but
certainly needs to be compiled in order for its code to run (and therefore
use the referenced assembly).

i have compile my file to dll, and able to make references, i wonder if i
dun compile to dll (class), could I still make reference to my project ?

As I stated, you need to have whatever you want to reference already
compiled, because the compiled assembly is what you make a reference to.
The project that is making the reference needs to be compiled to run, but
not to make a reference. An example of this is that a brand new project in
VS.NET will already have references to commonly used .NET assemblies
(system.dll, mscoree.dll, etc.) before you even begin.


---

If you whish to reply to me directly, my addres is spam proofed as:

pbromley at adi dot co dot nz

Or if you prefer - no****@nowhere. com :-)
Nov 22 '05 #10

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

Similar topics

12
1663
by: A-PK | last post by:
Anyone know how to breakdown every modules into different assemblies and refernces. Hence, to repair problematic module, only that particular module needed to be recompiled. or any place can get more information about assemblies & references
1
6937
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while compiling the Max.UI.Win project with the following error Satellite assemblies could not be built because the main project output is missing.
1
1672
by: Dan | last post by:
Here's a scenario I'd like to discuss in order to setup my VS.NET IDE properly and be able to prepare a distribution: a) I have a windows forms C# app using 3 shared assemblies I developed to include various functions. The 3 shared assemblies are strongly named, and some of them are also used by others of them. Let's call them A, B, and C: now, B references A, while C references A and B. b) there is a distinct solution for each of the...
9
4185
by: Invalidlastname | last post by:
Hi, We developed some assemblies which use EnterpriseServices queued components. In order to use EnterpriseServices, these assemblies need to be installed into GAC. I used the pre-build and post-build events to automate GAC installation processes and the asp.net application has "copy to local" set to false for the references of these shared assemblies. However, every time we made the changes to the shared assemblies, we had to restart...
4
1595
by: Arpan | last post by:
Assume that I am creating ASP.NET pages in the C:\Inetpub\wwwroot\ASPX directory. This directory has a sub-directory named \bin where in all DLLs are stored. Are these DLLs which are stored in the \bin directory known as Assemblies? Also is the \bin directory the Assembly Cache? Thanks, Arpan
0
9714
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10600
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10350
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10096
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7638
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6866
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4311
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 we have to send another system
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.