Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compiling for 'AnyCPU' through errors
Message
From
05/04/2011 17:41:43
 
 
To
05/04/2011 16:00:04
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01506035
Message ID:
01506190
Views:
71
I though I try the following:

add linq back to the references
add linq and the system.core dlls to the bin folder

rebuild, re-install, and run

still the same error.

any ideas?



>O, I took the Imports for linq out
>removed all code i had in there referencing linq
>and added the line you gave me
>re-build, re-installed
>
>same error
>
>now what?
>
>
>>AFAICS that looks ok.
>>Does it fall over if you target x86 ?
>>Try accessing some other member of System.Linq e.g:
System.Linq.ParallelExecutionMode em = System.Linq.ParallelExecutionMode.Default;
If that fails it's a pretty clear indication that System.Core.dll is not being found.
>>
>>>Target CPU : AnyCPU
>>>Target framework : .NET Framework 4
>>>
>>>On the 64-bit machine, showing in Add-Remove Programs:
>>>
  • .NET Framework 2.0 SP 2
    >>>
  • .NET Framework 3.0 SP 2
    >>>
  • .NET Framework 3.5 SP 1
    >>>
  • .NET Framework 4 Client Profile
    >>>
  • .NET Framework 4 Extended
    >>
    >>>>I haven't got an XP 64bit machine to hand to try this but I don't see how such a machine could 'not like Linq' More likely that the installed .NET framework version is pre-linq....
    >>>>
    >>>>To be clear, what is the Target CPU and Target framework set to in the project when you get this error and what is the .NET version on the XP 64bit box?
    >>>>
    >>>>Also it looks as if you should implement global exception handling to catch unhandled errors. See :
    >>>>http://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx
  • Previous
    Reply
    Map
    View

    Click here to load this message in the networking platform