0

I just stucked up to call the reference from one class to another class but both classes are in different project in same solution.

Here is what am trying to do.

Project A (Webster.Client.Modules.Metadata) Class Name : Helper.cs

Projec B (Webster.Client.Infrastructure)

Class Name: ImageResizerService.cs

Interface: IImageResizerService.cs I trying to use helper class in my ImageResizerService class.

When i try to add the project reference,it throws "A Reference to Webster.Client.Modules.Metadata could not be added. Adding this project as refernce would cause a circular dependency"

Usher
  • 2,146
  • 9
  • 43
  • 81
  • can you provide us a message why the reference breaks your `whole project` – stukselbax May 12 '12 at 10:42
  • I couldn't able to see the reference,for eg,if try "using Webster.Client.Modules.Metadata;" in my ImageResizer class,it doesn't understand at all – Usher May 12 '12 at 10:46
  • When i try to add the project reference,it throws "A Reference to Webster.Client.Modules.Metadata could not be added. Adding this project as refernce would cause a circular dependency" – Usher May 12 '12 at 11:01

1 Answers1

2

Try MSDN solution. Prism is not your problem.

Or SO answer. May be your question is duplicate.

Community
  • 1
  • 1
stukselbax
  • 5,855
  • 3
  • 32
  • 54