Compile VB warning

T

tsair

I am new to Vb.net.I create a solution with multiple project, when I compile
it show me the Warning message, how to solve this.

Warning: The dependency 'AppFrameWork, Version=1.0.1811.36961,
Culture=neutral' in project 'Clinic' cannot be copied to the run directory
because it would overwrite the reference 'AppFrameWork,
Version=1.0.1814.28046, Culture=neutral'.


Thank you.
 
H

Herfried K. Wagner [MVP]

tsair said:
I am new to Vb.net.I create a solution with multiple project, when I
compile
it show me the Warning message, how to solve this.

Warning: The dependency 'AppFrameWork, Version=1.0.1811.36961,
Culture=neutral' in project 'Clinic' cannot be copied to the run directory
because it would overwrite the reference 'AppFrameWork,
Version=1.0.1814.28046, Culture=neutral'.


Can you describe your solution's structure in more detail? Are you sure you
are not referencing two versions of the same assembly?
 
T

tsair

My Solution Structure :

Project Build Order
1. DataAccess
2. Microsoft.ApplicationBlocks.Data
3. AppComponentControl
4. AppUserControl
5. AppFrameWork
6. Clinic


Project Reference
1. AppComponentControl
- AppUserControl

2. AppFrameWork
- Microsoft.ApplicationBlocks.Data

3. AppUserControl
- AppFrameWork


4. Clinic
- AppComponentControl
- AppFrameWork
- AppUserControl
- Clinic.DataAccess

5. DataAccess
- AppFrameWork

6. Microsoft.ApplicationBlocks.Data


Thnak you for your reply
 

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

Top