Bug 25243 - [Unified] iOS Unit Tests Project template does not compile for unified projects
Summary: [Unified] iOS Unit Tests Project template does not compile for unified projects
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 5.5
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2014-12-10 14:12 UTC by John Miller [MSFT]
Modified: 2014-12-10 14:15 UTC (History)
1 user (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:
RESOLVED FIXED

Description John Miller [MSFT] 2014-12-10 14:12:36 UTC
**Overview:**

   The iOS Unit Tests Project template is broken for the Unified API. 

**Steps to Reproduce:**

   1. File -> New Solution -> Unified API -> iOS Unit Tests Project
   2. Build

**Actual Results:**

> /Users/johnmiller/Projects/UnifiedTestProject/UnifiedTestProject/UnitTestAppDelegate.cs(7,7): Error CS0234: The type or namespace name `UI' does not exist in the namespace `NUnit'. Are you missing an assembly reference? (CS0234) (UnifiedTestProject)
> /Users/johnmiller/Projects/UnifiedTestProject/UnifiedTestProject/UnitTestAppDelegate.cs(9,9): Error CS0246: The type or namespace name `TouchRunner' could not be found. Are you missing `MonoTouch.NUnit.UI' using directive? (CS0246) (UnifiedTestProject)

**Expected Results:**

   Compile with no errors. 

**Build Date & Platform:**

   XS 5.5.4

**Additional Information:**

   This also is an issue in Visual Studio
Comment 1 Jeffrey Stedfast 2014-12-10 14:15:25 UTC
Pretty sure this is already fixed in 5.7