Solved - "Are You Missing An Assembly Reference Error in Visual Studio"

These days i am working on speech recognization feature of c# in visual studio , for this i must have to include ---

System.Speech 

namespace in my application...
and the problem arises here , when i include this namespace in my application - it gives me an error something like this-- 

"The type or namespace name 'Speech' does not exist in the namespace 'System' (are you missing an assembly reference?)"

First i thought that i am using older version of .net thats why i am seeing this error bcoz the Speech library is included in .net3.0 and later but actually i am using .net4.0, now that feel me odd ...... that i am using updated framework then why i am getting this error.....
Then i came with a solution that i have to add dll reference of this library ,then only i can include the specified namespace in my application, so to add reference , follow these steps:-

1. Go to Solution Explorer Window.
2. Right Click References.
3. Click on Add Reference.
4. Select .Net tab.
5. Then search for your specified Namespace, in my case it is System.Speech, so select that namespace.
6. Now Click Ok.

and you are done, you will not see that error now........

Enjoyzzz.... :-p



Total Pageviews