Uno.Samples icon indicating copy to clipboard operation
Uno.Samples copied to clipboard

Apply vsmac workaround to all samples

Open jeromelaban opened this issue 3 years ago • 0 comments

Apply the https://github.com/unoplatform/uno.toolkit.ui/pull/359 workaround on all macos samples.

Fixes this issue:

  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(4,35): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(7,9): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(19,43): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(50,43): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(10,17): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(76,37): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(76,58): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.cs(6,10): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\App.xaml.host.cs(8,19): error CS0012: The type 'NSApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\CartPage.xaml.cs(5,40): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\CheckoutPage.xaml.cs(3,44): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]
  D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.UI\Views\FilterPage.xaml.cs(3,42): error CS0012: The type 'NSView' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'. [D:\a\1\s\reference\Uno.Extensions.Commerce\Commerce.macOS\Commerce.macOS.csproj]

jeromelaban avatar Oct 18 '22 12:10 jeromelaban