Thursday, 12 September 2013

Reference errors Visual Studio

Reference errors Visual Studio

I've decompiled a dll and now I'm trying to rebuild it.
I have added the right references but 2 errors keep coming back preventing
the build.
Error 1 'System.Windows.Forms.PictureBox' does not contain a definition
for 'BeginInit' and no extension method 'BeginInit' accepting a first
argument of type 'System.Windows.Forms.PictureBox' could be found (are you
missing a using directive or an assembly reference?)
Error 7 The type or namespace name 'Log' does not exist in the namespace
'Logger' (are you missing an assembly reference?
Any help would be greatly appreciated.
( The .net version is 4.0 )
Thank you!

No comments:

Post a Comment