Hello,
I have a solution that contains two projects. I have 2 dlls that these
projects use. Here's how it's set up:
Solution
-ProjectA
--References
---DLLA
-ProjectB
--References
---ProjectA
---DLLA
---DLLB
Note: DLLB references DLLA.
When I open the solution, the following message is shown:
'MyFunction' is declared in project 'DLLA', which is not referenced by
project 'ProjectB'.
As you can see from above, ProjectB does reference DLLA. I have
confirmed that the DLLA referenced in both ProjectA and ProjectB is the
exact same file.
I have found two workarounds for this problem:
1) In *ProjectA*, remove and readd the reference to DLLA. The message
goes away and I can compile.
2) If I reference the projects for DLLA and DLLB instead of the DLLs,
the message is never shown.
Workaround 1 is not acceptable, as I have to do this everytime I open
the solution. Workaround 2 is not acceptable, as DLLA and DLLB are used
in other projects, and I don't want to have to retest everytime I make
a change to them. I only want to update DLLA and DLLB if it's required
for the particular solution, at which time I can schedule regression
testing.
Background:
- DLLA contains generic functions that I reuse in just about every
project.
- DLLB contains WebUI specific function that I only use in the
presentation layer. This dll references DLLA.
- ProjectA is the business logic layer for my solution.
- ProjectB is the presentation layer for my solution.
I now have this problem in two different applications and I would
really like a solution for this. Any help would be appreciated.
Thanks,
Tim 3 2891
Hello again,
I haven't gotten a response on this yet. I'd really appreciate some
help on this one.
Thanks,
Tim
I meet such promble also.
I want use a Application tie to split the other DLL, and it is
referenced by the main application.
as
Project A
reference B
....
project B
reference DLLC
......
some class D:DLLC.C
...
and there is a public function f in Class DDL.C.
and i add the DLLC into bin of Project A,
when i build it , it will show such error .
f is declared in project 'DDLC", which is not referenced by project "B"
Why we must referenct the DDLC in project A ?
Hello, Tim,
Sorry that you're not getting any good feedback on this.
Also sorry that I don't have an answer for you. But I wonder if you
tried reversing the order of the projects in the solution if this would
"hide" the problem.
I hope you get a proper answer soon. I can see that neither work-around
is convenient.
Cheers,
Randy no********@gmai l.com wrote: Hello again,
I haven't gotten a response on this yet. I'd really appreciate some help on this one.
Thanks, Tim This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: droope |
last post by:
When dotnet is opened it will display the last x number of projects that you
have opened based on the number you have selected.
Is there a way to remove a project from the project list without deleting or
renaming the project?
|
by: Jimi |
last post by:
(Sorry for the repost, but I thought maybe I'd have better luck this
time)
I'm working on a utility to provide an overview of one's .NET projects
and one of the things I want to display is detailed information about
what each project references, whether it is assemblies in the GAC or
non-GAC assemblies or other .NET projects.
From the project file I can get the assembly names of all assemblies
referenced by a project, including other...
|
by: Tamir Khason |
last post by:
I have big and complicated solution as following:
FooForm -> FooClass1 <- Foo1,Foo2,Foo3.........
^
|
FooClass2
-> means that the project have right hand project as referenced assembly,
without being copied locally.
FooForm,FooClass1,FooClass2 are build into same directory
Foo1,Foo2,Foo3..... are build into other directory
|
by: Simon Kennedy |
last post by:
Hi all,
Our team has recently moved from VS2003 to VS2005 and all our developers seem to be able
to load the web project that is part of our server solution except for myself. When I attempt
to load the solution I get a dialog with the folloing two lines ('project' being the name of
the web project and the name of the web directory in iis):
Application for project 'http://localhost/project' is not installed.
Make sure the application...
|
by: unknown; |
last post by:
hello,
i've got a question about using a function from project B in project A.
The projects are both in the same solution (using Microsolft Visual
Studio 2005)
the projects ara both native C++.
i've already added a reffrence from projectB into projectA.
i've got a function in projectA:
| |
by: unknown; |
last post by:
hello,
i've got a question about using a function from project B in project A.
The projects are both in the same solution (using Microsolft Visual
Studio 2005)
the projects ara both native C++.
i've already added a reffrence from projectB into projectA.
i've got a function in projectA:
|
by: DonJefe |
last post by:
Does anyone have experience using project->project references in large
solutions? What are the plus/minuses that you have found?
Currently, we are using the binary assembly references for our code,
but this becomes problematic when you want to build from multiple
branches/working directories.
Any thoughts on this would be appreciated.
Thanks
|
by: Bob |
last post by:
Hi,
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing...
|
by: Joe Kovac |
last post by:
Hi!
I have a solution with a web site (start project) and a project
reference, which offers some functions to the web site.
Intellisense works fine.
Though I can't debug into the referenced project, although the code is
integrated into the solution.
What's going wrong?
Thanks for your help
|
by: John |
last post by:
Hi
I have two independent winform projects which have their start-up forms. If
I include both projects in the same solution then can I run the second
project from first project by pressing a button on a form in project one? If
not, can I call the start-up form of project two from project one some how?
Basically I want to keep the two projects separate programmatically but
would like to the present to the user as one app.
Thanks
|
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,...
| |
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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...
| | |