J_J
asked on
error of DShowNET when i compile C# project
hi, i want to know why there is a list of error when i try to compile a c# project?
CatchItV_scr\DeviceSelecto r.cs(8): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\DeviceSelecto r.cs(9): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\DeviceSelecto r.cs(152): The type or namespace name 'DsDevice' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(2 0): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(2 1): The type or namespace name 'DShowNET' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(2 8): The type or namespace name 'ISampleGrabberCB' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(9 65): The type or namespace name 'IMediaSample' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(9 96): The type or namespace name 'IBaseFilter' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(9 99): The type or namespace name 'IGraphBuilder' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 002): The type or namespace name 'ICaptureGraphBuilder2' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 003): The type or namespace name 'ISampleGrabber' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 006): The type or namespace name 'IMediaControl' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 009): The type or namespace name 'IMediaEventEx' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 012): The type or namespace name 'IVideoWindow' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 015): The type or namespace name 'IBaseFilter' could not be found (are you missing a using directive or an assembly reference?)
CatchItV_scr\MainForm.cs(1 018): The type or namespace name 'VideoInfoHeader' could not be found (are you missing a using directive or an assembly reference?)
The referenced component 'DShowNET' could not be found.
can anyone help?
CatchItV_scr\DeviceSelecto
CatchItV_scr\DeviceSelecto
CatchItV_scr\DeviceSelecto
CatchItV_scr\MainForm.cs(2
CatchItV_scr\MainForm.cs(2
CatchItV_scr\MainForm.cs(2
CatchItV_scr\MainForm.cs(9
CatchItV_scr\MainForm.cs(9
CatchItV_scr\MainForm.cs(9
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
CatchItV_scr\MainForm.cs(1
The referenced component 'DShowNET' could not be found.
can anyone help?
You are missing one or many assemblies which are refered in your project. I think you know how to refer an assembly to a project in VS.NET. Refer 'DShowNET' and try to build your project.
ASKER
but what components or references is for DShowNET,DsDevice, IMedia etc??
One component may have many namespaces so you may get that error. Sometimes all may in different assemblies. Anyway first refer 'DShowNET'. Then you can find out what refers this. If you need to refer others, you can follow the same way to refer all needed.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks!!