Linq and ASP.NET 3.5


J

Jim S

Hello,

I have a ASP.NET Application (v. 3.5) and I using LINQ there.
I also have set System.Xml.Linq Assembly reference + using clauses in my
code but somehow compiling does not recognize it.

So, shuold I copy System.Xml.Linq namespace's Assembly into inetpub
directory or how Application understands that it's using System.Xml.Linq
namespace?

Br

Jim
 
Ad

Advertisements

M

Mr. Arnold

Jim S said:
Hello,

I have a ASP.NET Application (v. 3.5) and I using LINQ there.
I also have set System.Xml.Linq Assembly reference + using clauses in my
code but somehow compiling does not recognize it.

So, shuold I copy System.Xml.Linq namespace's Assembly into inetpub
directory or how Application understands that it's using System.Xml.Linq
namespace?

..NET will put the DLL(s) in the bin folder of the virtual directory of the
ASP.NET solution, when it's built and by doing a Build Website. At best, you
copy the bin folder for the site from your development machine to the bin
folder for the app's virtual folder, if the solution is being deployed to a
non development machine.

And I don't know what you mean that compiling doesn't recognize the
reference, other than, you must make sure the application really has a
reference in the application to the DLL, which sometimes the reference is
broke in the application, and you have to delete the reference in the
application and put it back to get it established properly.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4101 (20090525) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
M

Mr. Arnold

Jim S said:
Hello,

I have a ASP.NET Application (v. 3.5) and I using LINQ there.
I also have set System.Xml.Linq Assembly reference + using clauses in my
code but somehow compiling does not recognize it.

So, shuold I copy System.Xml.Linq namespace's Assembly into inetpub
directory or how Application understands that it's using System.Xml.Linq
namespace?

..NET will put the DLL(s) in the bin folder of the virtual directory of the
ASP.NET solution, when it's built and by doing a Build Website. At best, you
copy the bin folder for the site from your development machine to the bin
folder for the app's virtual folder, if the solution is being deployed to a
non development machine.

And I don't know what you mean that compiling doesn't recognize the
reference, other than, you must make sure the application really has a
reference in the application to the DLL, which sometimes the reference is
broke in the application, and you have to delete the reference in the
application and put it back to get it established properly.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4101 (20090525) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
I

Ignacio Machin ( .NET/ C# MVP )

Hello,

I have a ASP.NET Application (v. 3.5) and I using LINQ there.
I also have set System.Xml.Linq Assembly reference + using clauses in my
code but somehow compiling does not recognize it.

So, shuold I copy System.Xml.Linq namespace's Assembly into inetpub
directory or how Application understands that it's using System.Xml.Linq
namespace?

Br

Jim

Hi,

You do not need to do that cause that DLL is part of the framework.
 
Ad

Advertisements

I

Ignacio Machin ( .NET/ C# MVP )

Hello,

I have a ASP.NET Application (v. 3.5) and I using LINQ there.
I also have set System.Xml.Linq Assembly reference + using clauses in my
code but somehow compiling does not recognize it.

So, shuold I copy System.Xml.Linq namespace's Assembly into inetpub
directory or how Application understands that it's using System.Xml.Linq
namespace?

Br

Jim

Hi,

You do not need to do that cause that DLL is part of the framework.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top