-
December 29th, 2012, 07:48 PM
#1
Getting an error trying to display a new windows form.
I had an old project i started working on again. Last time i worked on it was when i had C# Express 2010, no i have 2012 and I when to add a new windows form the same way I normally do but now I am getting an error. I think something changed in 2012, I am not sure what I need to do to fix it. all the old windows forms still work normally.
http://i542.photobucket.com/albums/g...ps7e69449d.png
Error: "'ARCode' could not be found (are you missing a using directive or an assembly reference?)"
-
January 2nd, 2013, 03:07 PM
#2
Re: Getting an error trying to display a new windows form.
The object ARCode is not a form object in your project or the library it was stored in is no longer referenced. If you don't know what resource it came from it might be a good idea to return to the VS2010 version of the project and investigate where the reference came from. If it's a project that you imported from VS2010 to VS2012 it's most likely a missing DLL reference.
-
January 3rd, 2013, 03:31 AM
#3
Re: Getting an error trying to display a new windows form.
Might also be that with VS 2010 you were working on a different Windows Version than what you have now with VS 2012
-
January 8th, 2013, 06:16 PM
#4
Re: Getting an error trying to display a new windows form.
It says the file was created by a newer version and can not be opened.
also if i make a new project i can add forms and show them normally. what could be different?
Last edited by KazoWAR; January 9th, 2013 at 04:21 AM.
-
January 10th, 2013, 07:30 PM
#5
Re: Getting an error trying to display a new windows form.
problem fixed, it was the namespace.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|