code bits

code bits from my daily programming experiences in #c#,#sql,#.net,#asp.net,#hadoop,#PIG

Friday, October 4, 2013

Visual Studio 2012 - The type or namespace name '' could not be found (are you missing a using directive or an assembly reference?)

In Visual Studio 2012 if you encounter this error when you add a new class to the solution,check to see the build action of the class in the properties of the class.
By default the build action is set to 'content'.Change it to 'compile'.See below





Posted by Virtuoso at 6:57 AM 3 comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Blog Archive

  • ►  2016 (5)
    • ►  July (1)
    • ►  March (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2015 (20)
    • ►  December (2)
    • ►  November (1)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (3)
    • ►  May (4)
    • ►  March (2)
    • ►  January (1)
  • ►  2014 (21)
    • ►  December (4)
    • ►  November (3)
    • ►  October (5)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  April (5)
  • ▼  2013 (24)
    • ►  December (2)
    • ►  November (2)
    • ▼  October (1)
      • Visual Studio 2012 - The type or namespace name ''...
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (6)
    • ►  February (1)
    • ►  January (4)
  • ►  2012 (61)
    • ►  November (7)
    • ►  October (3)
    • ►  September (2)
    • ►  August (12)
    • ►  July (36)
    • ►  June (1)
  • ►  2007 (5)
    • ►  September (3)
    • ►  June (2)
Simple theme. Powered by Blogger.