Can't add link to PCL from C ++ / Cli project

I have a portable class library project, Net 4.5 platform activated. I can use it in other C # projects without issue. Now I have a C ++ / Cli project and I need to use some classes of the above PCL project. When I add a PCL project reference, Visual Studio 2012 gives me an error due to different target platforms.

Is there a problem adding links to PCL projects from C ++ / Cli projects?

thank

0


source to share


1 answer


This question was answered, but for some unknown reason the answer was deleted:

The solution is to edit the vcxproj file and change

 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>

      



to

 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>

      

+2


source







All Articles