Linq not compiling after 2005 => 2008 convert
am 21.04.2008 15:13:25 von Amil
I had a VS 2005 web app (not using Linq yet). I migrated to VS 2008 and the
app still worked fine.
Now I want to try out Linq. I modified the web.config to load the Linq DLLs
and added "using System.Linq". I also modified the properties Build to
target .NET 3.5. Writing code works fine, but...
When I compile, no Linq statements are recognized...they all result in
compile errors. How can I get my migrated web app to recognize Linq
statements?
Amil
Re: Linq not compiling after 2005 => 2008 convert
am 21.04.2008 15:20:58 von Amil
I figured it out. I created a new VS 2008 asp.net website. Then I looked
at the web.config. I copied the
to my migrated VS 2008 asp.net web app. Now it works.
Amil
"Amil Hanish" wrote in message
news:uSfb5F7oIHA.3408@TK2MSFTNGP03.phx.gbl...
>I had a VS 2005 web app (not using Linq yet). I migrated to VS 2008 and
>the app still worked fine.
>
> Now I want to try out Linq. I modified the web.config to load the Linq
> DLLs and added "using System.Linq". I also modified the properties Build
> to target .NET 3.5. Writing code works fine, but...
>
> When I compile, no Linq statements are recognized...they all result in
> compile errors. How can I get my migrated web app to recognize Linq
> statements?
>
> Amil
>