Hello Friends ,
In this article I will explain how to solve crystal report namespace
error in visual studio 2010/2012
Introduction:
Currently working with one of the crystal report project we
found one error: “The type or namespace name
'CrystalDecisions' could not be found (are you missing a using directive or an
assembly reference?” in visual studio 2012
Here I will explain how to solve problem of “The type or
namespace name 'CrystalDecisions' could
not be found (are you missing a using directive or an assembly reference?” in
visual studio 2010/2012 while using crystal reports in windows/Web application in c#, vb.net.
Solutions:
This error mainly occurs
because of pointing our application to .NET Framework 4 Client Profile like
as shown below
Step 1: Right Click on your Application
Step 2: Go to Properties Select Application Tab
Step 3: To fix this problem we need to change Target Framework version
from .NET Framework 4 Client Profile to .NET Framework 4
Once we change our Target Framework version to .NET Framework 4 build the
application and check it will fix the error
Hope this helped you to solve your error
Happy Programming!!
Don’t forget to leave your
feedback and comments below!
If you have any query mail me to Sujeet.bhujbal@gmail.com
Regards
Sujeet Bhujbal
--------------------------------------------------------------------------------
Personal Website :-http://sujitbhujbal.wordpress.com/
Facebook :-http://www.facebook.com/bhujbal.sujit
CodeProject:-http://www.codeproject.com/Members/Sujit-Bhujbal
Linkedin :-http://in.linkedin.com/in/sujitbhujbal
Stack-Exchange: http://stackexchange.com/users/469811/sujit-bhujbal
Twitter :-http://twitter.com/SujeetBhujbal
--------------------------------------------------------------------------------