Getting this error, code runs fine, cant open my form1.cs designer window
hi, learning coding and trying to make a quick game as a mini project, code is by no means optimised or done in an efficient way, im still learning please be nice

30 Replies
any idea as to what this could be? i can share any parts of the designer or form code
This means an exception has occured, click on the
Show Call Stack
link to view where this error is coming from
It looks you you are using string format somewhere in your code and the format parameter is null
i will check for anywhere in the code where ive put give me a second please
it may not be that you assigned it to null, look for uses of string format
just any variables that are made to be strings?
can i share my code so you can help me with this? although it will be pretty ugly
if you have a github repository you can share that
i had cloned it from a repository i made on a different device, i assume i can just push it now?

i don't know, is it your repository, do you have permission?
yes it is mine
also the stack trace is pretty unhelpful, I am unsure on what is actually triggering that exception
could be a designer issue
give me a minute please
if you have a
*.Designer.cs
file, the error might be located thereI do, yet i cant find what hte issue acutally is
https://github.com/DuckiLikesCoding/WhackADiglett.git
this should be it
private
fixed
sorryh
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
When creating a new project, prefer using .NET over .NET Framework, unless you have a very specific reason to be using .NET Framework.
.NET Framework is now legacy code and only get security fix updates, it no longer gets new features and is not recommended.
https://cdn.discordapp.com/attachments/569261465463160900/899381236617855016/unknown.png
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
ah i chose it because thats what they taught us at college, they did mention it is an older version but did say it works fine and what they are trained to teach
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
what do you mean by this?
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
not necessarily :(
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
oh so similar to when you use sender e => ?
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View
so how would i use the loader event?
Unknown User•5w ago
Message Not Public
Sign In & Join Server To View