[Mono-dev] Build Errors

Alexander Köplinger alkpli at microsoft.com
Tue Dec 6 13:54:13 UTC 2016


Hi Greg,

that can sometimes happen due to dependency tracking not being 100% perfect for Mono.Security.
Do rm -rf mcs/class/lib so you don't have any left over assemblies from earlier builds and build again.

- Alex

> On 06 Dec 2016, at 14:08, Greg Young <gregoryyoung1 at gmail.com> wrote:
> 
> Just tried pulling latest mono on my mac (I have been building mono
> from source previously) and got a few build errors.
> 
> MCS     [basic] mscorlib.dll
> /Users/greg/src/mono/mcs/class/referencesource/mscorlib/system/io/filesystemenumerable.cs(189,21):
> warning CS0169: The field
> 'FileSystemEnumerableIterator<TSource>.oldMode' is never used
> MCS     [basic] Mono.Security.dll
> Mono.Security.Interface/CertificateValidationHelper.cs(146,54): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'GetInternalValidator'
> Mono.Security.Interface/CertificateValidationHelper.cs(160,53): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'GetDefaultValidator'
> Mono.Security.Interface/MonoTlsProviderFactory.cs(86,31): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'IsInitialized'
> Mono.Security.Interface/MonoTlsProviderFactory.cs(98,23): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'Initialize'
> Mono.Security.Interface/MonoTlsProviderFactory.cs(114,23): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'Initialize'
> Mono.Security.Interface/MonoTlsProviderFactory.cs(124,30): error
> CS0117: 'NoReflectionHelper' does not contain a definition for
> 'IsProviderSupported'
> Mono.Security.X509/X509Store.cs(230,16): error CS0234: The type or
> namespace name 'X509Helper2' does not exist in the namespace
> 'System.Security.Cryptography.X509Certificates' (are you missing an
> assembly reference?)
> Mono.Security.X509/X509Store.cs(234,7): error CS0234: The type or
> namespace name 'X509Helper2' does not exist in the namespace
> 'System.Security.Cryptography.X509Certificates' (are you missing an
> assembly reference?)
> Mono.Security.X509/X509Store.cs(247,16): error CS0234: The type or
> namespace name 'X509Helper2' does not exist in the namespace
> 'System.Security.Cryptography.X509Certificates' (are you missing an
> assembly reference?)
> 
> -- 
> Studying for the Turing test
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.dot.net%2Fmailman%2Flistinfo%2Fmono-devel-list&data=02%7C01%7Calkpli%40microsoft.com%7C78395ec46476461d71c908d41dd8fe23%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636166265201776474&sdata=loO63bimKLE%2BdigPcAwuyefCmhbc2xMGtkQZaITMB%2Fg%3D&reserved=0



More information about the Mono-devel-list mailing list