how can I fix Value cannot be null. Parameter name: format error in window forms design appearing after renaming project folder

Wil-G 0 Reputation points
2023-11-15T14:14:39.7333333+00:00

Screenshot (872)

Developer technologies | Visual Studio | Debugging
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,691 Reputation points Microsoft External Staff
    2023-11-16T07:48:23.72+00:00

    Hello @Wil-G ,

    Welcome to Microsoft Q&A forum.

    After you renamed your project folder, did you also check and rename/change the class name/the code behind the file?

    Probably, there are some unchanged names/code in your solution, please kindly double check it.

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.