Do portable class libraries work with .net 3.5?

I am running Windows 8 and have both Visual Studio 2010 Ultimate w / sp1 and Visual Studio 2012 Ultimate, and I am trying to create a portable class library that supports .net 3.5 and higher.

When I first try to create a PCL, I get a screen like this: PCL selection screen

I noticed that .net 3.5 is not on the list, so I clicked “Install additional frameworks” and found the targeting package for version 3.5. But when I download and run "dotnetfx35setup.exe", nothing happens. And when I return to VS and try to create a new Portable Class Library, it lists the same target structures as before.

I also included Windows features for the .NET Framework 3.5, and now I'm not in ideas. Here is a screenshot if I missed something else.

Windows features

Thanks,

+6
source share
2 answers

The .NET Framework 3.5 does not have a portable profile. Do you have this problem in Visual Studio 2010? I noticed that when I installed Visual Studio 2012 on my computer, the .NET Framework 3.5 was removed, probably because .NET 4.5 contains it.

Since you can still focus on .NET 3.5, if you want, just a non-portable profile (PCL), which is easy to prove in this article what you need, is simply not supported.

+4
source

As caused by others, the .NET Framework 3.5 is not supported by the portable library.

The link at the bottom of the page is a general landing page that lists all the targeting packages for all our frameworks, and not just those that work with portable ones, sorry for the confusion.

0
source

All Articles