Bug 22852 - Could not parse MinimumOSVersion error after updating to Xamarin 3.5.5 if Deployment Target is not set.
Summary: Could not parse MinimumOSVersion error after updating to Xamarin 3.5.5 if Dep...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.5
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-10 22:24 UTC by Jon Goldberger [MSFT]
Modified: 2015-09-28 10:54 UTC (History)
5 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 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:
RESOLVED FIXED

Description Jon Goldberger [MSFT] 2014-09-10 22:24:21 UTC
Using Xamarin for Visual Studio version 3.5.5, if the Deployment Target is not set, deploying the app gives the following error:
Error	1	Could not parse MinimumOSVversion 'Xamarin.MacDev.PString'	App1

## To reproduce:

1. Open Visual Studio and create a new iOS project
2. In the Project Properties->iOS Application page, delete the deployment target
3. Run the app project. 

## Actual Result: deployment fails with the above error

## Expected result: A better error message that says "The Deployment Target needs to be set in the project properties."


## To fix: Set the Deployment Target in the Project Properties->iOS Application page.
Comment 1 Rajneesh Kumar 2014-09-11 02:46:57 UTC
I have checked this issue and able to reproduce. To reproduce this I have followed the steps given in bug description. I observed that when user delete the deployment target and try to run the app getting the  Error "Could not parse MinimumOSVversion 'Xamarin.MacDev.PString'". And after setting the deployment target user is able to successfully deploy the application.

Actual Result: Error "Could not parse MinimumOSVversion 'Xamarin.MacDev.PString'"

Expected result: A better error message that says "The Deployment Target
needs to be set in the project properties."

Screencast: http://www.screencast.com/t/NHMNEUtR9

Environment Info:

Microsoft Visual Studio Professional 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Professional

LightSwitch for Visual Studio 2012   04938-004-0033001-02837
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04938-004-0033001-02837
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04938-004-0033001-02837
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04938-004-0033001-02837
Microsoft Visual Basic 2012

Visual C# 2012   04938-004-0033001-02837
Microsoft Visual C# 2012

Visual C++ 2012   04938-004-0033001-02837
Microsoft Visual C++ 2012

Visual F# 2012   04938-004-0033001-02837
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04938-004-0033001-02837
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04938-004-0033001-02837
Microsoft Visual Studio 2012 SharePoint Developer Tools

ASP.NET and Web Tools   2012.3.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

NuGet Package Manager   2.8.50313.31
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   11.1.20627.00
Microsoft SQL Server Data Tools

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   3.5.57.0 (3f0c2c501a1c42ac9d362dd1970c001bdce7ce6b)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android
Comment 2 PJ 2014-09-12 17:24:45 UTC
Chris says this "has caught a few people out but without any movement". That to me means he's got multiple reports of the issue, so I'm increasing the priority.