What is my problem with ASP.NET pubslishing?
Posted
by Shankarooni
on Stack Overflow
See other posts from Stack Overflow
or by Shankarooni
Published on 2010-04-15T14:32:29Z
Indexed on
2010/04/19
18:53 UTC
Read the original article
Hit count: 260
I am done testing my site and I want to upload it to a site like this
http://www.university.edu/mydepartment/myname
the admin told me the server runs on .NET 3.5. So i used Linq ...
now i tried to upload the site by two ways:
when i just copy everything (with modification of web.config database settings) i get an error:
CS0246: The type or namespace name 'DataClassesDataContext' could not be found (are you missing a using directive or an assembly reference?)
Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Note here it says version 2.0 did he just lie to me? or its my configuration mistake?
anyway, i added the reference, nothing changes.
I tried also publishing (Build, publish) with option to keep the pre-comiled site updatable, and I get one line saying:
this is a makefile and should be deleted!
what is going on?
© Stack Overflow or respective owner