Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 21, 2013 03:03 PM by Rion Williams
Jan 17, 2013 06:17 PM|LINK
what on earth do I do with this?
error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'AspNet' does not exist in the namespace 'DotNetOpenAuth' (are you missing
an assembly reference?)
Line 34: using WebMatrix.WebData;
Line 35: using Microsoft.Web.WebPages.OAuth;
Line 36: using DotNetOpenAuth.AspNet; Line 37:
Source File: c:\Users\me\AppData\Local\Temp\Temporary ASP.NET Files\root\2e9ea05c\2452461e\App_Web_index.cshtml.a8d08dba.2tcd-u2b.0.cs
Jan 17, 2013 06:45 PM|LINK
The type or namespace name 'AspNet' does not exist in the namespace 'DotNetOpenAuth' (are you missing an assembly reference?)
from where do you have this code?
Line 36: using DotNetOpenAuth.AspNet
Jan 17, 2013 06:49 PM|LINK
Its nowhere :(
Jan 17, 2013 09:42 PM|LINK
this error started as a result of this:
to solved this I deleted the references to DotNetOpenAuth*.dlls and then uninstalled all the DotNetOpenAuth stuff via neget, and now my error as in the OP.
not sure what to do next :(
Jan 17, 2013 09:52 PM|LINK
This error occured since you clearly have some references to DotNetOpenAuth.AspNet (at least on line 37 of the page that threw the error).
You should try searching your solution for :
and deleting any references to it.
You likely may have references to it within your web.config and other areas that you might not normally check.
Jan 18, 2013 06:54 AM|LINK
Its nowhere :(
Maybe you not find inside VS because it is a file not included in VS. Search with Windows Explorer.
Jan 21, 2013 01:36 PM|LINK
I did a full text search using text crawler in the solution but nothing was found :(
do you know why references to it keeps appearing in these temp files?
Jan 21, 2013 01:38 PM|LINK
I did a full text search using text crawler in the solution
in the solution folder?
Jan 21, 2013 01:46 PM|LINK
As ignatandrei mentioned, you need to perform a search within your entire solution. If you are still recieving this error, a reference to the library in question still exists somewhere within the application.
Jan 21, 2013 01:59 PM|LINK
Maybe its a fault with the dotnetauth library I'm using?