I recently upgraded a C# project from xproj
format to the new csproj
. During the migration, the old AssemblyInfo.cs
has been removed so I'm wondering how I can indicate that my library is clscompliant?
FYI: this is the attribute that was in the AssemblyInfo.cs:
[assembly:CLSCompliant(true)]
Just add AssemblyInfo.cs
back, with only the parts that aren't autogenerated.
There's nothing to stop you from applying assembly attributes in code - it's just that most of the common attributes are provided from the project settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With