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!!!
04-02-2016, 10:35 PM #2
PSNServices
Are you high?
Same here!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Please help
04-02-2016, 10:38 PM #3
PSNServices
Are you high?
i made it a global and it worked

global::System.Windows.Forms.Application.EnableVisualStyles();
global::System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
global::System.Windows.Forms.Application.Run(new Form1());
04-02-2016, 11:23 PM #4
XxBlud23xX
< ^ > < ^ >
That worked for like 2 seconds lol, now i get this.

You must login or register to view this content.

6 months of work is probably lost!
04-03-2016, 03:26 AM #5
Jim Halpert
Bounty hunter
This should be in the .NET section
04-03-2016, 02:35 PM #6
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!!!


if you send me the program i might be able to help you
04-03-2016, 04:59 PM #7
XxBlud23xX
< ^ > < ^ >
Originally posted by I
This should be in the .NET section


I realized that after i posted, a mod will move it if we are lucky
04-03-2016, 11:46 PM #8
XxBlud23xX
< ^ > < ^ >
The program in the bin folder still updates as if i debugged it. So this error doesnt bother me, close the thread
04-07-2016, 02:38 PM #9
S63
Space Ninja
Originally posted by DEXBLUD23 View Post
The program in the bin folder still updates as if i debugged it. So this error doesnt bother me, close the thread


I know a few fixes for this but the main error people normally get is from naming your project real long name or sometimes if you use spaces within your project's name
04-07-2016, 03:22 PM #10
XxBlud23xX
< ^ > < ^ >
Originally posted by ItsJordanModz View Post
I know a few fixes for this but the main error people normally get is from naming your project real long name or sometimes if you use spaces within your project's name


Ok, thanks for the tips man! I will try this when i get home, hopefully it works becuase im tired of going to the debug folder to test the changes i made.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo