Hi,
I am working on an application which have web as well as windows
portions. We have some common dlls that are shared by both windows and
web. To make it more maintainable, we want to place the common dlls in
one folder from where both win/web can reference.
I have noticed that any reference to web projects automatically copies
the dlls in the bin folder and we don;t have an option to say "do not
copy". What are the options to accomplish this (referencing dlls from
a folder other than bin) in asp.net?
scenario is like this:
1) all windows binaries are located in:
c:\program files\my app\bins\
2) all common dlls are located in
c:\program files\my app\bins\common
3) web virtual folder is located at:
c:\inetpub\myweb
To accomplish this, am i forced to use GAC?
regards,
Deepesh 3 2329
You're not forced to use the GAC, but that would be the best plan, under the
circumstances.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries: http://www.miradyne.net
"D2" <dh*****@yahoo.comwrote in message
news:11*********************@j4g2000prf.googlegrou ps.com...
Hi,
I am working on an application which have web as well as windows
portions. We have some common dlls that are shared by both windows and
web. To make it more maintainable, we want to place the common dlls in
one folder from where both win/web can reference.
I have noticed that any reference to web projects automatically copies
the dlls in the bin folder and we don;t have an option to say "do not
copy". What are the options to accomplish this (referencing dlls from
a folder other than bin) in asp.net?
scenario is like this:
1) all windows binaries are located in:
c:\program files\my app\bins\
2) all common dlls are located in
c:\program files\my app\bins\common
3) web virtual folder is located at:
c:\inetpub\myweb
To accomplish this, am i forced to use GAC?
regards,
Deepesh
Hi Kevin,
thanks for your reply.
Do I have a choice than using GAC?
-
D2
On Jun 13, 3:39 pm, "Kevin Spencer" <unclechut...@nothinks.comwrote:
You're not forced to use the GAC, but that would be the best plan, under the
circumstances.
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net
"D2" <dhap...@yahoo.comwrote in message
news:11*********************@j4g2000prf.googlegrou ps.com...
Hi,
I am working on an application which have web as well as windows
portions. We have some common dlls that are shared by both windows and
web. To make it more maintainable, we want to place the common dlls in
one folder from where both win/web can reference.
I have noticed that any reference to web projects automatically copies
the dlls in the bin folder and we don;t have an option to say "do not
copy". What are the options to accomplish this (referencing dlls from
a folder other than bin) in asp.net?
scenario is like this:
1) all windows binaries are located in:
c:\program files\my app\bins\
2) all common dlls are located in
c:\program files\my app\bins\common
3) web virtual folder is located at:
c:\inetpub\myweb
To accomplish this, am i forced to use GAC?
regards,
Deepesh
not really. the Load assembly only looks in the bin or the framework
installation bin folder. at startup asp.net copies the files from the
bin folder to its temp work folder.
the best is what you are doing, let msbuild copy the dll on compile.
-- bruce (sqlwork.com)
D2 wrote:
Hi Kevin,
thanks for your reply.
Do I have a choice than using GAC?
-
D2
On Jun 13, 3:39 pm, "Kevin Spencer" <unclechut...@nothinks.comwrote:
>You're not forced to use the GAC, but that would be the best plan, under the circumstances.
-- HTH,
Kevin Spencer Microsoft MVP
Printing Components, Email Components, FTP Client Classes, Enhanced Data Controls, much more. DSI PrintManager, Miradyne Component Libraries:http://www.miradyne.net
"D2" <dhap...@yahoo.comwrote in message
news:11*********************@j4g2000prf.googlegro ups.com...
>>Hi, I am working on an application which have web as well as windows portions. We have some common dlls that are shared by both windows and web. To make it more maintainable, we want to place the common dlls in one folder from where both win/web can reference. I have noticed that any reference to web projects automatically copies the dlls in the bin folder and we don;t have an option to say "do not copy". What are the options to accomplish this (referencing dlls from a folder other than bin) in asp.net? scenario is like this: 1) all windows binaries are located in: c:\program files\my app\bins\ 2) all common dlls are located in c:\program files\my app\bins\common 3) web virtual folder is located at: c:\inetpub\myweb To accomplish this, am i forced to use GAC? regards, Deepesh
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Samuel |
last post by:
Hi,
I am building a page that makes use of user control as a templating
technique. The following is that I have in mind and it is actually working:
Root/
-- login.aspx
-- login.aspx.vb
--...
|
by: Kulgan |
last post by:
Hi All
We have developed an ASP.NET 1.1 app that uses an external web service.
Which of the files relating to the web reference need to be deployed in
production? The web service Url Behaviour...
|
by: Just Me |
last post by:
I have a solution containing many usercontrol projects.
When I wish to reference a usercontrol in another project I can select
either the project or the assembly.
Does it make a difference which...
|
by: Baseman |
last post by:
I have a master where I had two other projects referenced. I tried to add
another reference to a third project using Project... Add Reference... Projects
Tab... then I navigated to the third...
|
by: stic |
last post by:
Hi,
After a few hours of asp. net configuration, ACL, web service specifications
digging and of course extensive googling, I finally came to you… and as
usually I need help…
I need to...
|
by: Brian P |
last post by:
I have a class, Folder, that I want to hold a reference to its parent
Folder as well as its subfolders.
I'm using List<Folder> to hold its list of sub folders. What I want to
do is when a...
|
by: Richard Lewis Haggard |
last post by:
We are having a lot of trouble with problems relating to failures relating
to 'The located assembly's manifest definition with name 'xxx' does not
match the assembly reference" but none of us here...
|
by: Richard J Foster |
last post by:
Hi there,
I have a pair of C# projects in VS2003. The first project, a dll, is
referenced in the second via a project reference.
The assemblies in question are delay-signed during a...
|
by: =?Utf-8?B?UGFycm90?= |
last post by:
I get an error when trying to add a reference to a DLL program from a Realia
COBOL program that is 32 bit. The error message says "Please make sure the
file is accessible and that it is a valid...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |