[Mono-list] error CS0117: `System.Security.Claims.ClaimTypes' does not contain a definition for `Role'

Alexanderius alexander.krylkov at gmail.com
Mon Aug 25 15:19:22 UTC 2014


Hello! I was trying to build a solution in Travis CI for mono version 3.6.0.
I am using System.Security.Claims.ClaimTypes in my project but unfortunately
get this error:

error CS0117: `System.Security.Claims.ClaimTypes' does not contain a
definition for `Role'

But as I can see in the source code of mono everything is fine
(https://github.com/mono/mono/blob/master/mcs/class/corlib/System.Security.Claims/ClaimTypes.cs).
I tried to build manually in elementary os with  apt-get install
mono-complete with latest 3.6.0 version, but get the same error.

At Travis CI I am using this package:
http://download.mono-project.com/archive/3.6.0/macos-10-x86/MonoFramework-MDK-3.6.0.macos10.xamarin.x86.pkg






--
View this message in context: http://mono.1490590.n4.nabble.com/error-CS0117-System-Security-Claims-ClaimTypes-does-not-contain-a-definition-for-Role-tp4663651.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list