Generic attributes were added in .net7 and c# 11.

This commit is contained in:
Brandon Thetford
2024-02-29 06:47:20 -07:00
parent 25bcb66281
commit 1818c2441e

View File

@@ -10,9 +10,7 @@
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<!-- https://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types -->
<!-- for AutoInitShutdown attribute -->
<LangVersion>Preview</LangVersion>
<LangVersion>12</LangVersion>
<IsPackable>false</IsPackable>
<UseDataCollector />
</PropertyGroup>