Open elevatorguy opened 1 year ago
Instead of Aliases
, what about excluding a namespace?
In this case it seems it would be simpler to exclude OTAPI.Graphics, right? As not only are there calls to System.Drawing.Graphics
, but also System.Drawing.Bitmap
and System.Drawing.Imaging
.
something like: https://learn.microsoft.com/en-us/visualstudio/msbuild/how-to-exclude-files-from-the-build?view=vs-2022
Issue remains with .NET 8 in WSL2.
System.Drawing.Graphics versus OTAPI...Graphics (seemingly)
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0433?f1url=%3FappId%3Droslyn%26k%3Dk(CS0433)