Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAll of a sudden, I can`t compile anymoreAll of a sudden, I can`t compile anymore
Previous
 
Next
New Post
3/22/2012 8:32 AM
 

Hi,

 Something strange has happended to my DNN web project in Visual Srudio 2010. Yesterday, I was working on it correctly. This morning, though, I keep getting compilation errors:

 "The type or namespace name 'DotNetNuke' could not be found (are you missing a using directive or an assembly reference?)"

 I also get  the same message for PortalSecurity, Entities, Microsoft.ApplicationBlocks, and for interfaces ISearchable, IPortable, and maybe some other classes or namespaces.

 In my project, in admin\bin I can see all the DNN references, including DotNetNuke.dll, DotNetNuke.HttpModules.dll, etc., and they are not marked as not avalaible.

Do you have any idea of what has happened, and how to fix it?

Thanks in advance,

Dani

 
New Post
3/22/2012 11:36 AM
 
this type of thing can happen occasionally if the temporary asp.net files get corrupted (e.g. a file has a lock on it via a virusscan and fails to update) - try deleting the temporary files (i.e. %windir%\Microsoft.NET\Framework\ \Temporary ASP.NET Files) and see if that helps

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/22/2012 12:09 PM
 
Thanks, Cathal,

I found the temporary files in:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

I deleted them, and I even restarted the computer, but I still get the same errors. For example:

using DotNetNuke; -> The type or namespace 'DotNetNuke' could not be found (are you missing a directive or an assembly reference?)


Dani
 
New Post
3/22/2012 12:15 PM
 
Could the starter kit get corrupted? Should I try to reinstall it?
 
New Post
3/22/2012 1:55 PM
 
I checked I am targeting Framework 3.5, because I saw some other people getting this same error beause the project was using 2.0. Mine targets Gramewrok 3.5.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesAll of a sudden, I can`t compile anymoreAll of a sudden, I can`t compile anymore


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out