C
Christopher Leong
Guest
I have a C++14 x64 application built with visual studio enterprise 2017 (v15.9.4)
I am trying to add an icon for my exe but when I try to add in a new resource file (Resources.rc) I get an exception from visual studio:
Cannot access a disposed object.
Object name:
`Microsoft.VisualStudio.Project.VisualC.VCProjectiEngine.VCProjectFileShim`.
and
The object has already been disposed. (Exception from HRESULT 0x80131622
I have created other projects and successfully added Resources.rc but for this particular project I am getting the above exceptions. Is there a way to fix the project file without having to recreate the project from scratch?
Continue reading...
I am trying to add an icon for my exe but when I try to add in a new resource file (Resources.rc) I get an exception from visual studio:
Cannot access a disposed object.
Object name:
`Microsoft.VisualStudio.Project.VisualC.VCProjectiEngine.VCProjectFileShim`.
and
The object has already been disposed. (Exception from HRESULT 0x80131622
I have created other projects and successfully added Resources.rc but for this particular project I am getting the above exceptions. Is there a way to fix the project file without having to recreate the project from scratch?
Continue reading...