Skip to content

SkiaSharp.Views.Mac namespace does not exist #736

@Andrejf

Description

@Andrejf

Description

If I create a fresh Cocoa project in Visual studio Mac and add SkiaSharp and SkiaSharp.View, everything works ok. By default mac apps are set to "Xamarin.Mac Modern" framework.

screenshot 2018-12-17 at 19 50 17

But when I edit the project, General, and change "target framework" to "Xamarin.Mac Full", then it can't find namespace.
SkiaSharp.Views.Mac

screenshot 2018-12-17 at 19 40 44

Is there something I can do to get this working?

Code

// can't find namespace SkiaSharp.Views.Mac;
using SkiaSharp.Views.Mac;

Expected Behavior

It should find the namespace SkiaSharp.Views.Mac

The issue still happens even if I re-add the nuget package.

Actual Behavior

It doesn't find SkiaSharp.Views.Mac.

Basic Information

  • Version with issue: v1.68
  • Last known good version:
  • IDE: Visual Studio for Mac
  • Platform Target Frameworks: Xamarin.Mac Full
  • macOS: 10.14

Screenshots

Reproduction Link

VS bug #753282

Metadata

Metadata

Assignees

Type

No type

Projects

Status

New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions