Bug 43562 - New class still showing non-unified iOS directives
Summary: New class still showing non-unified iOS directives
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 4.1.2 (C7SR1)
Hardware: PC Mac OS
: Normal normal
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
Depends on:
Reported: 2016-08-20 17:58 UTC by Paul Johnson
Modified: 2016-08-25 17:32 UTC (History)
5 users (show)

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:

Description Paul Johnson 2016-08-20 17:58:29 UTC
I have created a new iOS project under VS2015. All files created with the project give the unified directives (for example using Foundation). However, if I create a new class files, I'm getting the likes of this at the start of the file

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MonoTouch.Foundation;
using MonoTouch.UIKit

In other words, the non-unified directives.

Running the stable version (4.1.2), VS2015 Community update 3.
Comment 1 xamarin-release-manager 2016-08-25 13:10:14 UTC
Fixed in version (master)

Author: Emanuel
Commit: 25424086b284fbbdcfd07b4daa4a7dff65aa4aac (xamarin/XamarinVS)