Monday, March 4, 2019

VB.NET and/or Visual Studio issue - resource being removed from .resx file after any change to the designer code

Anybody experienced this before?

First, I noticed that a whole bunch of my designer-specific code was automatically adjusted (for example, "False" to "false").

Second, I have an ImageList resource that gets loaded within InitializeComponent(). Everytime I change the UI, it removes that resource from the .resx file entirely, along with some other ImageList related lines in that class. Also, I see the dreadful error page before I can get to the designer view with the following message: "Value cannot be null", without any clear indication as to what may be causing it. I can ignore that warning and move on, which I suspect is when it removes the resource from the .resx file (just a guess). Maybe my .resx file is just corrupt, or something else...

Any hints would be appreciated.

VB.NET and/or Visual Studio issue - resource being removed from .resx file after any change to the designer code Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team