Merge pull request #2742 from cwensley/curtis/use-old-api-in-net7 #1364
Annotations
1 error and 10 warnings
Build
Process completed with exit code 1.
|
Build
For projects targeting .NET 8.0 and higher, specifying a RuntimeIdentifier will no longer produce a self contained app by default. To continue building self-contained apps, set the SelfContained property to true or use the --self-contained argument.
|
Build:
src/Eto.Mac/Forms/MacView.cs#L1364
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.Item' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/MacView.cs#L1364
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'UTType.Content' is obsoleted on: 'macOS/OSX' 11.0 and later (Use the 'UniformTypeIdentifiers.UTType' API instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/ColorDialogHandler.cs#L155
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSColor.UsingColorSpace(string?)' is obsoleted on: 'macOS/OSX' 10.14 and later (Use 'GetColor' or 'UsingColorSpace' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/ApplicationHandler.cs#L125
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSTask.LaunchFromPath(string, string[])' is obsoleted on: 'macOS/OSX' 10.15 and later. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Drawing/ImageHandler.cs#L51
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSImage.Flipped' is obsoleted on: 'macOS/OSX' 10.6 and later (Use DrawInRect with respectContextIsFlipped instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/CursorHandler.cs#L92
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSDictionary' is obsoleted on: 'macOS/OSX' 10.15 and later (Use 'NSMutableDictionary(string)' constructor instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/DataObjectHandler.cs#L154
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSPasteboard.NSFilenamesType.get' is obsoleted on: 'macOS/OSX' 10.14 and later (Create multiple items with 'NSPasteboardTypeFileUrl' or 'MobileCoreServices.UTType.FileURL' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/DataObjectHandler.cs#L154
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSPasteboard.NSFilenamesType' is obsoleted on: 'macOS/OSX' 10.14 and later (Create multiple items with 'NSPasteboardTypeFileUrl' or 'MobileCoreServices.UTType.FileURL' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Build:
src/Eto.Mac/Forms/DataObjectHandler.cs#L188
This call site is reachable on: 'macOS/OSX' 10.15 and later. 'NSPasteboard.NSFilenamesType.get' is obsoleted on: 'macOS/OSX' 10.14 and later (Create multiple items with 'NSPasteboardTypeFileUrl' or 'MobileCoreServices.UTType.FileURL' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422)
|
Loading