tried new Microsoft Visual Studio 2008 Beta2

T

trint

Had no problem building website before, but now get this message:

Error 1 Could not load file or assembly 'System.Core, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified. C:\Inetpub
\wwwroot\ourwebsite.com\Web.Config 30

What does this mean?

Any help is appreciated.
Thanks,
Trint
 
N

Nicholas Paldino [.NET/C# MVP]

Trint,

A good number of new features (especially LINQ) is implemented in
System.Core.dll. You have to make sure that you have a reference to it in
your project/website.
 
T

trint

Trint,

A good number of new features (especially LINQ) is implemented in
System.Core.dll. You have to make sure that you have a reference to it in
your project/website.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




Had no problem building website before, but now get this message:
Error 1 Could not load file or assembly 'System.Core, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified. C:\Inetpub
\wwwroot\ourwebsite.com\Web.Config 30
What does this mean?
Any help is appreciated.
Thanks,
Trint- Hide quoted text -

- Show quoted text -

I found the answer! Someone obviously found the same problem and
fixed it. Here it is:

There's the problem, we've revved the version numbers between beta1
and beta2 from 2.0.0.0 to 3.5.0.0.

Turned out that the same is true for System.Web.Extension.dll. This
was referenced in multiple places in my web.config so a thorough
search and replace was necessary.

Once the version numbers were all changed everything built and the
mystery "Unrecognized tag prefix or device filter 'asp'." error
disappeared as well.

Hope this helps!

Give Doug the credit.
Thandks,
Trint
 
T

trint

Trint,

A good number of new features (especially LINQ) is implemented in
System.Core.dll. You have to make sure that you have a reference to it in
your project/website.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




Had no problem building website before, but now get this message:
Error 1 Could not load file or assembly 'System.Core, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified. C:\Inetpub
\wwwroot\ourwebsite.com\Web.Config 30
What does this mean?
Any help is appreciated.
Thanks,
Trint- Hide quoted text -

- Show quoted text -

Nick, how do I make a reference to LINQ please?
 
N

Nicholas Paldino [.NET/C# MVP]

Are you using it? If not, then you won't need the reference. Adding a
reference is like adding a reference to any other dll in ASP.NET. You want
to make sure that your reference System.Core.dll.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

trint said:
Trint,

A good number of new features (especially LINQ) is implemented in
System.Core.dll. You have to make sure that you have a reference to it
in
your project/website.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)




Had no problem building website before, but now get this message:
Error 1 Could not load file or assembly 'System.Core, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified. C:\Inetpub
\wwwroot\ourwebsite.com\Web.Config 30
What does this mean?
Any help is appreciated.
Thanks,
Trint- Hide quoted text -

- Show quoted text -

Nick, how do I make a reference to LINQ please?
 

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