Convert a PCL to a regular Class Library
.net, dll, portable-class-library
Solution
The differences will be in your .proj file.
Having tried it myself you will have to do all of the following;
- Remove the `<TargetFrameworkProfile>` element
- Remove the `<ProjectTypeGuids>` element
- Change where you have #2 (below) for what I shown in #1
1. Regular class library
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
2. Portable class library
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
Problem
I currently have a `Portable Class Library` whose code is entirely compatible with a regular `Class Library` without any modification. I was wondering if there was an existing software to do the conversion automatically ; I looked into the Visual Studio tools but could not find any suitable. Before writing my own I just wanted to be sure!