Brightspace / D2L.CodeStyle

Annotations and analysis tools for D2L C# code style
Apache License 2.0
10 stars 22 forks source link

Default to .NET Standard 2.0 for all projects #955

Open j3parker opened 3 months ago

j3parker commented 3 months ago

Moving this to the default because it makes sense: "annotations"-style DLLs we ship should probably target that for simplicity (the existing Annotations DLL also multi-targets net20 which we can probably drop?), and the analyzers have to target netstandard2.0.

Our test projects will need to override this; currently we run our tests in net48 for some reason, but we should target net7/8/etc. I think.

Overall I think this will keep the csproj's simpler, especially once I split the packages.