elevatorguy / TDSM_map

Server Plugin that can autosave an image and map on demand by command (Terraria)
8 stars 9 forks source link

References #4

Open elevatorguy opened 1 year ago

elevatorguy commented 1 year ago

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)

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-options/inputs#references

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/extern-alias

elevatorguy commented 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

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0234

elevatorguy commented 1 year ago

https://dotnetcoretutorials.com/2021/08/31/implicit-using-statements-in-net-6/

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/visualstudio/msbuild/errors/msb3243?view=vs-2022

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1704

elevatorguy commented 1 year ago

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0246

elevatorguy commented 1 month ago

Issue remains with .NET 8 in WSL2.