Lisaj
Lisaj

Reputation: 33

referencing xproj from csproj

I've added reference from csproj to xproj in visual studio.

I see library in references and path to dll is correct. Intelisens work but compile not work with error:

the type could not be found. 

How do I put into operation this?

Upvotes: 3

Views: 513

Answers (1)

qbik
qbik

Reputation: 5928

You can't directly reference xproj project from csproj, only the other way around.

What you can do is create a nuget package from xproj with dotnet pack (or dnu pack, if you're using rc1) and then install that nuget in csproj.

Upvotes: 2

Related Questions