Sysprogs forums › Forums › VisualGDB › Can't access Project Properties
- This topic has 7 replies, 2 voices, and was last updated 4 years, 9 months ago by bernardofca.
-
AuthorPosts
-
March 16, 2020 at 23:43 #27660bernardofcaParticipant
Configuration:
Microsoft Visual Studio Community 2019 Version 16.5.0
VisualGDB 5.5 Preview 4Was also happening with prior versions, seems that something is messed in our configuration.
When we right click on the project and try to open “VisualGDB Project Properties”, nothing happens.
If we right click on VS2019 in the tray, we see the VisualGDB property page but it cannot be seen or accessed. We likely have to reset something but what?
March 17, 2020 at 06:56 #27665supportKeymasterHi,
Most likely, some MSBuild-specific files are corrupt. Please try checking the following:
- Do VisualGDB Project Properties work for a newly created project? If yes, please try comparing it against the broken one.
- Regardless of #1, try holding Shift while right-clicking on the project. This will force the VisualGDB Project Properties command to appear even if VisualGDB does not recognize the project.
- Also try opening the regular VS properties for the project or try building it. This might show a more informative error message.
March 17, 2020 at 17:15 #27683bernardofcaParticipant1: New project has the same issue
2: Holding shift does not help
3: VS properties are working OK. I can build the project but that does not fix the issue.March 17, 2020 at 17:49 #27684bernardofcaParticipantI also tried to uninstall VisualGDB / Reboot / Reinstall
That did not help and now I don’t have the properties on VS2010 (but project compile OK)
By the way, this is not a corruption in the project files because older version (from our SCC) have the same behavior.
- This reply was modified 4 years, 9 months ago by bernardofca.
March 18, 2020 at 05:03 #27691supportKeymasterThanks for confirming it. Just to double-check, please share a screenshot of the menu command you are using to open VisualGDB Project Properties (the screenshot should include the entire VS window as it may contain important clues).
Please also check View->Other Windows->VisualGDB Diagnostics Console (you would need to enable diagnostic logging before trying to open project properties). It might contain important clues about the error.
March 18, 2020 at 05:53 #27693bernardofcaParticipantI think I have useful information for you:
I went from the office to home, did a screenshot of the menu (attached) and then I clicked on the menu and realized that it was working!
A little bit later, I tried again and it was NOT working. Here is the punch line: at home it always works on the external screen but not always on the laptop screen. At work it works on neither one. It looks that with my setup at work (same laptop, different external screen), it is trying to show the property page on a non-existing display.
Attachments:
You must be logged in to view attached files.March 18, 2020 at 17:10 #27697supportKeymasterNormally, VisualGDB would automatically discard the saved window positions when the screen layout changes. If not, we should be able to fix it.
First of all, please try the following steps to verify that the problem is related to the multiple screens:
- Verify the VisualGDB Project Properties are broken.
- Close all VS instances.
- Delete the %LOCALAPPDATA%\VisualGDB\GUIPreferences.xml file
- Start VS again and verify that the VisualGDB Project Properties work.
If deleting the GUIPreferences.xml file solves the problem and the problem happens again, please share the contents of GUIPreferences.xml:
- Before you delete it (i.e. when it contains invalid settings).
- After it is recreated next time you use it (i.e. when it contains valid settings).
March 18, 2020 at 18:00 #27698bernardofcaParticipantAs of now the problem has gone away (both home and work locations). I will apply your suggestions if the problem happens again. Thanks for the support.
-
AuthorPosts
- You must be logged in to reply to this topic.