The type or namespace name 'Gma' could not be found

Hi
I am trying to follow the below tutorial
http://www.codeproject.com/KB/cs/globalhook.aspx

I have included the UserActivityMonitor project and am trying to reference it but i keep getting The type or namespace name 'Gma' could not be found error.

Here is a screenshot of my project, does anyone know what i need to do?

 Screenshot
Thanks
Jonesey007Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mohammed_mabsCommented:
I think you can do that
0
DileepanCommented:
Have you set the project dependency in Solution Explorer? If you set the project to be dependent on the UserActivityMonitor, the GMA assembly would be compiled and placed in the reference list.
0
Jonesey007Author Commented:
Hi
Not quite sure what you mean there mohammed mabs?

@dileepan k
Hi
Thanks for the suggestion, unfortunatly i've already set that
Installation Recorder is already dependant on Gma.UserActivityMonitor ??

I've tried clean and Build, is there anything else i need to do to make sure its in the reference list?

Thanks
0
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

meispiscesCommented:
you could either post that the .dll has not been included in the code project comments section or could follow the link http://www.codeproject.com/KB/cs/globalhook.aspx?msg=3110732

I guess the author needs to add the .dll

Also refer http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/53816ec2-07e5-433a-b051-0d668625bb8f/

Hope this helps!

thanks much!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jonesey007Author Commented:
That worked perfectly, after reading all the comments i saw this one

Download the source.
Open the solution.
Build it in release mode.
The dll will appear in GlobalHook\Gma.UserActivityMonitor\bin\Release
In your project, add a reference to that dll.
In your class, add a "using Gma.UserActivityMonitor;"
Then add the events with "HookManager.WhateverEvent += WhateverEventHandlerMethod;"

Now i am referencing the DLL instead of including the project. The application is working again.
Thanks meispisces
0
meispiscesCommented:
@Jonesey007: Thanks for the appreciation.!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.