Sysprogs forums › Forums › VisualGDB › Error message when trying to create new folder via Solution Explorer
- This topic has 4 replies, 2 voices, and was last updated 6 years, 7 months ago by
fadster.
-
AuthorPosts
-
April 24, 2019 at 07:13 #24733
fadster
ParticipantHi all,
I was following the tutorial https://visualgdb.com/tutorials/esp32/esp-idf/ . I am not able to create a subfolder when i right-click->Add-> New Folder. I got the error shown below.
I am using VS2017 Enterprise. 15.9.11
Thanks in advance.
=======================================
VisualGDB version: 5.4.104.3031
—————— System.NullReferenceException ——————
System.NullReferenceException: Object reference not set to an instance of an object.
at uc1..ctor(ks a, String b)
at f91.d(zn1 c, m41 a, String b)
at tp.c_6(r22 a, Object b)
at zd.g.Exec(Guid& d, UInt32 a, UInt32 c, IntPtr e, IntPtr b)=======================================================
Fadleen
April 24, 2019 at 16:09 #24739support
KeymasterHi,
Please try updating to the latest VisualGDB 5.4R5. It includes multiple ESP-IDF-related updates and might fix this issue. If it doesn’t help, please let us know the updated stack trace and we will investigate this.
April 24, 2019 at 22:28 #24757fadster
ParticipantHi,
It still does not work. I am not able to add a new folder, say subdir123, via a simple right-click in VS2017 Solutions Explorer. However an empty folder subdir123 does gets created in the main folder but visualgdb throws the exception and VS2017 Project tree does not get updated.
=====================================================================
VisualGDB version: 5.4.105.3084
—————— System.NullReferenceException ——————
System.NullReferenceException: Object reference not set to an instance of an object.
at sr1..ctor(qg1 a, String b)
at k6.a(b61 c, p82 b, String a)
at c12.b_2(l2 a, Object b)
at eo1.y1.Exec(Guid& c, UInt32 a, UInt32 b, IntPtr d, IntPtr e)============================================================
A work around would be to go to the main folder in my project directory in Windows Explorer, manually add a new folder called mysubdir or whatever, then go back to VS Solutions Explorer. Then in Solutions Explorer, add a new c++ file by navigating to the manually added folder(mysubdir). Then wait for VisualGdb to update the project tree. Component.mk gets updated as well. So it is OK.
Looks like Visualgdb overrides the actual right-click, add new folder code from Microsoft VS2017 and thus throws this exception.
Thanks.
April 25, 2019 at 03:10 #24766support
KeymasterThanks for confirming the issue on the latest version. We have followed the steps you described and were able to reproduce and fix the problem. Please try this build: VisualGDB-5.4.105.3135.msi
April 25, 2019 at 13:12 #24778fadster
ParticipantHi Support,
It works OK now. Thank you for the new build and support.
Fadleen
-
AuthorPosts
- You must be logged in to reply to this topic.