473,699 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP Web site references to dlls

Hi everyone,

I've recently converted a solution to VS 2005 and .NET 2.0. from '03
and .NET 1.x. The solution has two Web sites in it, both of which need
to share each other's code. Previously, I had added a reference to the
compiled DLL of one project to the other, thereby allowing me to create
class instances and call functions.

Now, in 2005, I still have references to B.DLL in project A and A.DLL
in project B, but those DLLs aren't being generated in the web site's
bin directory anymore, they are in the .NET temporary folder. The
references I have now just point to stagnant DLL files that don't
update when the project code is compiled.

How can I continue to share code between these two web sites? I can't
add a reference to the DLL since the path is something like'

:\WINDOWS\Micro soft.NET\Framew ork\v2.0.50727\ Temporary ASP.NET
Files\rateupdat e\836652a3\7ad9 1ee4\assembly\d l3\3e20e346\565 be267_4902c601\ registration.dl l

Thanks,

Mike Fatica

Jan 5 '06 #1
1 1541
I think this is one of the things that explicitly do not work anymore with
VS2005. There is a migration guide that specifically states web projects
referencing each other will not work anymore. Sorry I don't have a link.

You should be able to get out of this jam by moving all the shared code to a
class library (in its own DLL) and then refercing that class library from
both web projects...
"fatica" <fa****@gmail.c om> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .
Hi everyone,

I've recently converted a solution to VS 2005 and .NET 2.0. from '03
and .NET 1.x. The solution has two Web sites in it, both of which need
to share each other's code. Previously, I had added a reference to the
compiled DLL of one project to the other, thereby allowing me to create
class instances and call functions.

Now, in 2005, I still have references to B.DLL in project A and A.DLL
in project B, but those DLLs aren't being generated in the web site's
bin directory anymore, they are in the .NET temporary folder. The
references I have now just point to stagnant DLL files that don't
update when the project code is compiled.

How can I continue to share code between these two web sites? I can't
add a reference to the DLL since the path is something like'

:\WINDOWS\Micro soft.NET\Framew ork\v2.0.50727\ Temporary ASP.NET
Files\rateupdat e\836652a3\7ad9 1ee4\assembly\d l3\3e20e346\565 be267_4902c601\ registration.dl l

Thanks,

Mike Fatica

Jan 5 '06 #2

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

Similar topics

3
5887
by: SAM | last post by:
Hi everyone, I consider myself a very competent programmer when it comes to actual programming and analyzing the business that I'm modelling. I am now crossing into what I would consider Access admin/config territory, an area where I generally suck at. Here is my problem. I do all my programming on my laptop before giving
2
1146
by: Urs Vogel | last post by:
Hi I observed that my solutions frequently changes the location of references. I have a number of shared DLLs in my solution, used by different applications. When adding the reference in the IDE withing the project, they're automatically set to Copy Local, and it looks OK in the beginning. As soon as I recompile, it changes the directory of some references to the local directory of the application. It doesn't do it with all references,...
4
1325
by: Claire | last post by:
Visual studio .net 2003. We have created 2 solutions that are related to and dependent on each other's class libraries. One of them is executed as required, the other one sits in the task bar. I'm working on the task bar application and my colleagues are developing the other. All of us need to do work on a single class library/project that is included in both solutions. When the solutions are finished they're both located in the same...
1
1695
by: Claire | last post by:
In our application we've used several 3rd party windows form controls that were installed into their own individual directories. We have to avoid using the GAC, all our dlls should be found together in the main application directory. I'm just reading through the many projects and references that make up our solution. Some of the dlls in the references are set to "Copy Local", others are not. (We can handle that Windows system dlls...
4
6539
by: cmay | last post by:
Maybe someone can give an idea of why I am having this problem before I put my fist through the computer screen. My problem goes like this.... Lets say I keep my DLLs in a folder called "DLLS". I have an asp.net application called "app" that references some of these dlls.
11
6967
by: Brett Romero | last post by:
If I create a DLL (my.dll) that references other DLLs, how do I make sure other developers only need my.dll and not all of the other DLLs it references? Is there a way to compile the references into my.dll and just distribute one DLL? Thanks, Brett
1
1180
by: KJ | last post by:
Hello All, I am using integrated VSS source control with my solution (VS2005). It consists of a web site (source-controlled) and several class libs (all source-controlled). I can add references to the class libraries from the web site no problem, causing the dlls to be added to the web site's bin directory. The big problem is that when I make code changes to any of the classes in the class libraries, then do a build, these changes are...
1
1171
by: waldo | last post by:
Hi there, I'm trying to create an ASP site in Visual Studio 2005 that needs to include some dlls that I have already written. The problem is that when I add a reference to a certain dll, i get "The specified module could not be found (Exception from HRESULT: 0x8007007E)" when i try to build. I am not sure which dll is causing it because one of them (a c# dll) references the other (a c++ dll), but the error message displays after adding...
6
2444
by: =?Utf-8?B?d2lsbGlhbQ==?= | last post by:
Hi, I posted this in wrong group, so just re-post here. There are two ways to create web-based application or web service, from VS start page, click on File and New, two options you can choose, one is Projects which leads you to create ASP.NET Web Application or ASP.NET Web Service Application. Another one is Web Site which leads you to create ASP.NET Web Site or ASP.NET Web Service. My question is what is the difference between these...
0
8613
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
9172
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
9032
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...
1
8908
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
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...
0
7745
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
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...
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
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.