[Mono-list] Building sln (2)

Agustin Gimenez geniwab at gmail.com
Tue Aug 26 12:54:55 UTC 2014


https://digitaltoolfactory.net/blog/2010/07/how-to-fix-a-missing-reference-to-mscorlib-in-visual-studio-2010/

The solution can be applied to mono projects (just add the specified line).

Cheers.


2014-08-26 14:41 GMT+02:00 Wayne Douglas <wayne at prjatk.com>:

> Hate to sound like a nubz but how do I know what and where the correct
> version?
>> Sent from Mailbox <https://www.dropbox.com/mailbox>
>
>
> On Sun, Aug 24, 2014 at 12:29 PM, Agustin Gimenez <geniwab at gmail.com>
> wrote:
>
>> Ensure you are referencing the correct mscorlib.DLL
>>
>> http://msdn.microsoft.com/en-us/library/f5c3ehka.aspx
>> El 24/08/2014 13:18, "Wayne Douglas" <wayne at prjatk.com> escribió:
>>
>>> Anyone got any idea on this? I'm not doing anything special
>>>
>>>
>>> On Fri, Aug 22, 2014 at 3:08 PM, Wayne Douglas <wayne at prjatk.com> wrote:
>>>
>>>>  Now I have gotten a lot further but I am getting the following which
>>>> is really throwing me!
>>>>
>>>>  /src/src/Import.Runner/Import.Runner.csproj (default targets) ->
>>>> /usr/local/lib/mono/xbuild/12.0/bin/Microsoft.CSharp.targets
>>>> (CoreCompile target) ->
>>>>
>>>>         CSC: error CS0518: The predefined type `System.Object' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.ValueType' is
>>>> not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Attribute' is
>>>> not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Int32' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.UInt32' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Int64' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.UInt64' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Single' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Double' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Char' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Int16' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Decimal' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Boolean' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.SByte' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Byte' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.UInt16' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.String' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Enum' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Delegate' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type
>>>> `System.MulticastDelegate' is not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Void' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Array' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Type' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type
>>>> `System.Collections.IEnumerator' is not defined or imported
>>>>         CSC: error CS0518: The predefined type
>>>> `System.Collections.IEnumerable' is not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.IDisposable' is
>>>> not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.IntPtr' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type `System.UIntPtr' is not
>>>> defined or imported
>>>>         CSC: error CS0518: The predefined type
>>>> `System.RuntimeFieldHandle' is not defined or imported
>>>>         CSC: error CS0518: The predefined type
>>>> `System.RuntimeTypeHandle' is not defined or imported
>>>>         CSC: error CS0518: The predefined type `System.Exception' is
>>>> not defined or imported
>>>>
>>>>          29 Warning(s)
>>>>          31 Error(s)
>>>>
>>>> Time Elapsed 00:01:58.6300830
>>>>
>>>> --
>>>>  *--------------------*
>>>>
>>>>  *w://*
>>>>
>>>>  *t: 07508 215 459*
>>>>
>>>>  *--------------------*
>>>>
>>>>
>>>
>>>
>>> --
>>>  *--------------------*
>>>
>>>  *w://*
>>>
>>>  *t: 07508 215 459*
>>>
>>>  *--------------------*
>>>
>>>
>>> _______________________________________________
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140826/7cf59f2b/attachment-0001.html>


More information about the Mono-list mailing list