Project fails to load after VB6 upgrade wizard: re-run conversion or restore the pre-upgrade baseline?
0 reputation · 06 Sept 2020, 01:41 UTC
0 reputation · 06 Sept 2020, 01:41 UTC
A VB6 project processed by the Visual Studio Upgrade Wizard can end up in a mixed state: a new .vbproj exists, but it fails to load or build in the target IDE, while some source files were converted and others were not. The documented failure condition here is the project file being reported as incompatible or corrupted at load time, though the exact error text varies by Visual Studio version and should be recorded from the Output or Error List window in the failing environment rather than assumed.
A pre-upgrade snapshot exists (source control commit plus a full directory copy), and the original VB6 environment can still rebuild the baseline. The concern is that continuing development on the partially upgraded output risks hidden inconsistencies, since it is not always clear which files the wizard modified. Third-party COM references may also fail independently of the code conversion, complicating diagnosis.
A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.