A
AvniDani
i am writing a web project running under IIS on VS 2008. on a standard
exe if i write a line that uses one of the new language features of
VB.NET 2008, the IDE uses the .net 3.5 compiler to compile the code
(although i am targeting .net 2) and all is working well. however, on
an asp.net site the iis and/or the .net worker process uses the .net 2
compiler for a site and the line of code i used does not work. (again
i am targeting .net 2 so the IIS is set to run the site as .net 2)
my question: how can i make the iis compile the site using the .net
3.5 compiler?
for example:
run this on vs 2008 on an exe targeting .net 2 framework
Dim x As New System.Collections.ArrayList() With {.Capacity = 20}
try to use the line above on a web site targetign .net 2 framework and
it will not work
giving only an error when you access the page and not a compiler error
on the IDE
thanks
exe if i write a line that uses one of the new language features of
VB.NET 2008, the IDE uses the .net 3.5 compiler to compile the code
(although i am targeting .net 2) and all is working well. however, on
an asp.net site the iis and/or the .net worker process uses the .net 2
compiler for a site and the line of code i used does not work. (again
i am targeting .net 2 so the IIS is set to run the site as .net 2)
my question: how can i make the iis compile the site using the .net
3.5 compiler?
for example:
run this on vs 2008 on an exe targeting .net 2 framework
Dim x As New System.Collections.ArrayList() With {.Capacity = 20}
try to use the line above on a web site targetign .net 2 framework and
it will not work
giving only an error when you access the page and not a compiler error
on the IDE
thanks