The type or namespace name ‘log4net’ could not be found (are you missing a using directive or an assembly reference?)
When creating an application with dotnet 4 (dotnet4) there is a caveat regarding log4net. One has to change the Target Framework from the default .Net Framework 4 Client Profile to the full .Net Framework 4.
This is done through the project properties.
A slightly strange side note is that in my VS2010 log4net showed up in the intellisense to start with but disappeared later; until I did the Target-Framework patch.
The tutorial/quickstart I used is here.
Thanks.
Thanks. This was my issue exactly.
Thanks. Fixed my problem.
Thanks man !
I spent 1 hour and then look at your solution. It worked.
Worked for me! It was a simple fix
Thanks a lot
It worked thanks.
Worked for me too! Thx.
it works fine
thank you!
applause
Thanks! This fixed this annoying problem. It started off fine but after rebuilding it started to break.
right on… thanks!
Thanks. it’s working for me
worked for me too thanx..
Thanks
Thanks, wish I’d found this an hour ago ;-)
Thanks a lot. I have been breaking my head for sometime now.
I had the exact same problem. Thank you.
Thanks for posting, this might have cost me a lot of time…
Thanks for posting this. I had the same issue.
Thanks for the fix.
It works. Thank you!
Works like magic. Thanks alot
Good post…easily solved my problem..Thank you
Thanks for the post.
Thanks. Great Post!
thanks
Thanks a lot!
Thank you, solved my issue.