Cannot change target PCL library structures

I am running Visual Studio 2012 plus Xamarin.iOS with the latest version of each. I have Portable Class libraries in which I want to select the latest version of "Xamarin.iOS" as the build target (instead of MonoTouch). In Visual Studio, open Project Properties, select the Library tab, and click Edit in Target Framework. However, I cannot change any of the checkboxes. Any checkbox that I change instantly closes the Change Target Structures dialog box. If I change one of the drop-down lists (for example, change from .NET 4.0+ to 4.5), then when I find to click OK, the changes are not reflected in the Target Frameworks list.

Does anyone know how to solve this problem?

+4
source share
2 answers

I was able to solve this by changing the TargetFrameworkProfile to the XML csproj file. I was on Profile104, which is no longer supported, so I manually deleted it and left that space in XML, and then was able to re-add the profile targets (after using the dialog, it put me in Profile136).

+4
source

I ran into a similar problem trying to add the MvvmCross Nuget Package. I need to change the PCL profile to 259, this did not allow me (Xamarin Studio on iOS), Ok and Cancel there is no button.

  • I opened the .csproj file in TextEditor.
  • Deleted PCL profile information. Opened a project. He gave me a build error.
  • ​​ Profile259

. , .

0

All Articles