-
-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension stopped working on VisualStudio v17.3.0 #33
Comments
I believe your issue is the same as mine - I assume it is since the problem I experienced appeared after updating VS2022 to 17.3.0 also. I did a lot of digging and a bit of messing around and I managed to get the extension working again, and I will attempt to explain how... but firstly we need to go over a bit of background. The issue I was experiencing was an error appearing mentioning a "method not found" after trying to run and debug the project, similar to what you said about the "Play in Editor" button not working. I cloned the repo and built the extension myself in VS2022 to debug it. I can't for the life of me find any reference to "Mono.Debugging.VisualStudio" anywhere else within Google's reach apart from this tangential mention on this stackoverflow thread. Luckily, the extension also exists within the VS2022 installation folder. Updating the reference of Now, ideally I would make a pull request, but have instead decided to document my findings here - because of my lack of understanding of the mysterious Mono.Debugging.VisualStudio package and where it comes from. I have no idea if it will work on other peoples' machines being packaged as a .vsix when the dlls are referenced by path instead of nuget packages. I'm not sure where to go from here, since lack of any info about the package prevents any kind of meaningful development. |
@Commander-Firestrike |
Do we still need the StubProj project (the workaround to make the exension work |
Currently I'm using my own build of the project with some slight edits I made to add a button in the toolbar to launch the debug session instead of relying on the StubProj method. I recommend checking out Jiiks' fork. which appears to fix the issue although I haven't tested it.
Also I have not tried this yet, as Godot 4 will use dotnet 6 but this plugin uses the Mono debugger, so I am guessing the entire plugin will need to be rewritten. |
It launch Godot..in a more reliable way than the StudProj I hope debugging is the next step |
What do you mean by "it"? Are you referring to Jiiks' fork? |
YES! |
Okay cool. I'll mess around some more to see if I can get breakpoints more reliable. |
I assume this is Jiiks's plan |
Alright cool. I might make some pull requests then. |
I updated VisualStudip from 17.2.5 to 17.3.0 and the extension stopped working.
I did the update on two seperate machines to verify this issue.
When pressing "Play in Editor" nothing happens. Not even a error message or console log.
Works fine if I go back to 17.2.5.
The text was updated successfully, but these errors were encountered: