I am migrating a library project to a .net standard and I am getting the following compilation error when I try to use the System.Reflection
API to call Type:GetProperties()
:
Type does not contain a definition for 'GetProperties'
Here it is my project.json
:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable"
},
"dependencies": {},
"frameworks": {
"netstandard1.6": {
"dependencies": {
"NETStandard.Library": "1.6.0"
}
}
}
}
What am I missing?