Post: C# Error
04-02-2016, 08:29 AM #1
XxBlud23xX
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU, im getting this error when i try to build my C# project.

You must login or register to view this content.

I tried removing and re adding the System.Windows.Forms.dll
I tried renaming it from Application to System.Windows.Forms.Application

I dont know what else to do, i remember building the project just fine the other day. I dont remember adding or doing anything that could have caused this.

Thanks for your time!!!
(adsbygoogle = window.adsbygoogle || []).push({});
04-07-2016, 04:09 PM #11
Specter
Pro Memer
Moved to Inquiries. Also, this problem is typically linked with target framework errors. Right click on the project in solution explorer and select properties. Your target framework should be consistent across all projects, most likely ".NET Framework 4 Client profile" as that's what mine is. If that doesn't work then quote me and I can help you further. Hope it helps.
04-08-2016, 11:54 AM #12
XxBlud23xX
< ^ > < ^ >
Originally posted by Specter View Post
Moved to Inquiries. Also, this problem is typically linked with target framework errors. Right click on the project in solution explorer and select properties. Your target framework should be consistent across all projects, most likely ".NET Framework 4 Client profile" as that's what mine is. If that doesn't work then quote me and I can help you further. Hope it helps.


I always leave my target framework on 4.5, i moved the project from the visual studio section in the documents to my desktop could it have caused this ?
04-09-2016, 09:06 PM #13
Specter
Pro Memer
Originally posted by DEXBLUD23 View Post
I always leave my target framework on 4.5, i moved the project from the visual studio section in the documents to my desktop could it have caused this ?


Very possible, Microsoft's fantastic 10/10 IDE seems to experience lots of problems when you move projects, I don't know why. You may want to move it back or start a new project and paste everything over.

The following user thanked Specter for this useful post:

XxBlud23xX
04-11-2016, 03:48 PM #14
Specter
Pro Memer
Originally posted by DEXBLUD23 View Post
Hi NGU, im getting this error when i try to build my C# project.

You must login or register to view this content.

I tried removing and re adding the System.Windows.Forms.dll
I tried renaming it from Application to System.Windows.Forms.Application

I dont know what else to do, i remember building the project just fine the other day. I dont remember adding or doing anything that could have caused this.

Thanks for your time!!!


Did moving your project help or did you get it resolved at all?
04-11-2016, 03:58 PM #15
XxBlud23xX
< ^ > < ^ >
Originally posted by Specter View Post
Did moving your project help or did you get it resolved at all?


Yeah i moved it and i still get the missing source errror when i debug it, the .exe in the debug folder updates and i can basically debug it manually. But this is a weird error, visual studio cant run the .exe after updating it in the debug folder :/
04-11-2016, 04:04 PM #16
Specter
Pro Memer
Originally posted by DEXBLUD23 View Post
Yeah i moved it and i still get the missing source errror when i debug it, the .exe in the debug folder updates and i can basically debug it manually. But this is a weird error, visual studio cant run the .exe after updating it in the debug folder :/


That is indeed odd, I've never heard of this problem, I'll look into it for you. Can you provide screenshots and such for more info?
04-11-2016, 05:09 PM #17
XxBlud23xX
< ^ > < ^ >
Originally posted by Specter View Post
That is indeed odd, I've never heard of this problem, I'll look into it for you. Can you provide screenshots and such for more info?


Thanks very much, and yes when i get home
04-15-2016, 06:56 AM #18
Toxic
former staff
Originally posted by DEXBLUD23 View Post
Thanks very much, and yes when i get home


Can you provide the pics here please so others and/or me can help you, and tell me if your issue got resolved as well so i can close this thread
04-15-2016, 11:45 AM #19
XxBlud23xX
< ^ > < ^ >
Originally posted by Habibi
Can you provide the pics here please so others and/or me can help you, and tell me if your issue got resolved as well so i can close this thread


I solved it, all i did was reloaded the project Smile Thanks for all your help!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo