Bug 17347 - Project template does not support PCL for 4.5
Summary: Project template does not support PCL for 4.5
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: Trunk
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Mikayla Hutchinson [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2014-01-21 09:27 UTC by Stephane Delcroix
Modified: 2014-03-31 02:28 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Stephane Delcroix 2014-01-21 09:27:31 UTC
my project template contains:

    <Project name = "${ProjectName}" directory = "." type = "PortableDotNet">
        <Options Target = "Library" TargetFrameworkVersion = ".NETPortable,Version=v4.5,Profile=Profile78"/>
    </Project>

but the project created is Profile136:

4.5 not supported apparently: https://github.com/mono/monodevelop/blob/master/main/src/core/MonoDevelop.Core/MonoDevelop.Projects/PortableDotNetProject.cs#L69
Comment 1 Mikayla Hutchinson [MSFT] 2014-02-18 17:50:45 UTC
Fixed. Though that code wasn't the problem. It's really a dup of bug 17193.
Comment 2 narayanp 2014-03-31 02:28:44 UTC
I have checked this issue with following builds:

All Windows
X.S 4.2.4(build 266)
Git revision: 57fa6b7639703775ae1d5c46536e42ab424cb177

Mono 3.2.6

My PCL project having:
   <RootNamespace>tsd</RootNamespace>
    <AssemblyName>tsd</AssemblyName>
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
    <TargetFrameworkProfile>Profile78</TargetFrameworkProfile>