Enum Description attribute in dotnet core

TSR picture TSR · May 18, 2016 · Viewed 19.6k times · Source

Do we have Description attribute for Enums in dot net CLI? (Dot Net Core RC2) If not, any alternative?

Answer

Tobias J picture Tobias J · Apr 19, 2017

For 1.0 and 1.1, DescriptionAttribute is now in the System.ComponentModel.Primitives NuGet package.