Since the update to VS 2013 I have the behaviour that I cannot add a reference to 2 projects with the same name. I did the following:
- Added 3 solution folders A, B and C.
- Added a project of type class library "Core" to both A and B folder.
- Added a project of type ConsoleApplication to folder C.
The resulting structure looks like this:
Solution
+ A
+ Core
+ B
+ Core
+ C
+ ConsoleApp
In the project properties of A the following is entered:
- Assembly name: A.Core
- Default namespace: A.Core
and in B:
- Assembly name: B.Core
- Default namespace: B.Core
After I added a reference to A.Core in C.ConsoleApp and I try to reference to B.Core to the console I get the error:
A reference to 'Core (B.Core)' could not be added. A reference to the component 'Core' already exists in the project.
The solution was created with VS 2012 and shows this behavior since upgrade. What do I have to setup inside the console?
Edit: I published a screencast on Youtube to explain the problem and placed a bug at Microsoft-Support. I still think, this is a bug.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…