This project is read-only.


NetPortableProfile does not expose the target framework version


Portable profiles are parsed by iterating the folders in the reference assemblies path for .NETPortable, both for v4.0 and v4.5. But the target framework version (4.0 or 4.5) that a profile was loaded from is not exposed in the NetPortableProfile class.

This is useful for tools that leverage NuGet (or automatically generate packages) and need to compile tools, as this version is needed to set the TargetFrameworkVersion on an MSBuild project, for example.

Pull request to follow right-after :)
Closed Jul 31, 2013 at 8:01 PM by bhuvak
Check the NuGet.Core 2.7 API and it looks fine.


deepakverma wrote Feb 7, 2013 at 12:57 AM

We will accept a pull request for this, thanks

dotnetjunky wrote Feb 11, 2013 at 9:40 PM

I will pull this into 2.4 release.

dotnetjunky wrote Feb 25, 2013 at 8:02 PM

Hi dcazzulino,

I added some comments on your pull request. Can you address or answer those?


dotnetjunky wrote May 4, 2013 at 12:42 AM

Fixed in changeset e341161659b6289b5254bd1d2051a0a53e599d9e