I created a self-defined class as a .net component.Althought I added it into reference, the form that I created couldn’t work and showed “can’t find the type “XXX”. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built using settings for your current platform or Any CPU.” This happens in 2022 version visual studio.But it works in 2019 and older version.
I have no idae how to solve this problem.I expect that it works in very version of visual studio.Thank you for your anwsers.
袁浩天 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.