Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
351 views
in Technique[技术] by (71.8m points)

c# - Can't open form file in Visual studio 2019

I have very strange problem, which doesn't seem to be very common. I have error:

Object reference not set to an instance of an object

Error screenshot - https://prnt.sc/wi4c7f

How I am getting this issue?

Create new project C# (Windows Forms App(.NET Framework))
Double click on Form1.cs

Maybe the most strange thing is that, project is compiling fine, default blank window with title Form1 opens, but I can't edit anything there because of this error

What I have tried already:

  1. Running VS as an admin
  2. Repairing VS
  3. Tried all the answers from Here

Reinstalling it completely is not an option at the moment, because of the problems with internet speed.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...