Rainer Queck explained on 17-6-2008 :
> Hello Hans,
>
> "Hans Kesting" <> schrieb im Newsbeitrag
> news:...
>> You need to add a "reference" to the project, to System.Core.dll (on the
>> .Net tab).
>> A "reference" includes a library in your project, so you can use it's
>> classes. This is required.
>> A "using" directive only allows you to skip the namespace when you use a
>> class from that "used" namespace. This is more like "syntactic sugar", tit
>> makes it less complicated to write (and read) the code. You still need the
>> "reference".
> Thanks for this infos. What ist the ".Net tab"? Is it part of the
> InternetInformationServices?
>
> I in the meanwhile brought my app to be able to run.
> In the "book" I was told to copy a different web.config to a existing
> (sample) website to add the "authentication" sample.
> I remebered that this website worked before and therfor compared the previous
> web.congfig to the new one and realized that in the new config the section
> <assemblies> ... </assemblies> was missing, which held the reference.
>
> But back to my previous question, about the .Net tab. Is there a generic way
> to enable IIS for .Net 3.5 assemblies?
>
> Regards
> Rainer
No, this is not an IIS setting, you need to set this in Visual Studio.
If you don't have Visual Studio (there are free "express" editions),
then that <assemblies> section works similar.
Hans Kesting
|