The project "projectname.Shared" cannot be added to the solution because it is already part of the solution

Topic: Adding a Generic (Generic) Library Project to Generic DirectX + XAML in Visual Studio 2013

I created VS2013 Direct-X / XAML Universal App. Since it is a universal application, there are 3 projects:

  • project for Win 8.1
  • project for Win Phone 8.1
  • a "common node" for code that is shared with Win 8.1 and Win Phone 8.1 projects.

I also created VS2013 static library (for universal apps). Since it is a library for universal applications, it contains:

  • project for Win 8.1
  • project for Win Phone 8.1
  • a "common node" for code that is shared with Win 8.1 and Win Phone 8.1 projects.

I would like to add a static library project to a Direct-X / XAML application and be able to see the source code of the shared library.

Since the static library contains 2 projects, I need to add both applications to the application. I am also updating the list of dependencies so that the Win 8.1 project in the application depends on the Win 8.1 lib project and the Win Phone 8.1 application project depends on the Win Phone 8.1 lib project.

After I finished with the above, I cannot see the generic node from the library. I would like to see the source of the code that is shared by the library projects.

How to solve this problem?

Visual Description of the problem

Adding shared items

+3


source to share





All Articles