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
1.2k views
in Technique[技术] by (71.8m points)

.net - Designer fails - My.Resources.Resources' has no property named

I have a problem that the designer won't display forms. It fails with the error Designer giving a warning as follows:

enter image description here

How can I fix this problem ?

See Question&Answers more detail:os

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

1 Answer

0 votes
by (71.8m points)

This can happen if your project references itself.

Visual Studio randomly does this automatically when some controls/forms defined in the project use other (user-)controls defined in this same project.

You can safely remove the self-reference in the project's "References" node.

Then rebuild and the designer should reload without these errors.


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

...