godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.68k stars 20.11k forks source link

Monodevelop don't open cs file #38881

Open git2013vb opened 4 years ago

git2013vb commented 4 years ago

Godot version: 3.2.1.stable mono OS/device including version: Debian 10 Issue description: I switched to monodevlop today but when I click in any cs file nothing happen. I just have monodevelop opened when I start the project. Steps to reproduce: Click/try to open in any cs script Minimal reproduction project: Basic.zip

KoBeWi commented 4 years ago

Do you have it configured as external editor?

git2013vb commented 4 years ago

My current settings using VSC is: image and image

When I tried with MonoDevelop I setup was the first screen-shot only then I tried to setup the second one image

Same result. when I click in any cs scripts in project it open monodevelop but is not the file I tried now with 3.2.2.beta3 and nothing change

KoBeWi commented 4 years ago

Does the file path contain spaces or non-latin characters? If yes, does opening it from another location work? Also does it work if you try to open the file directly from terminal?

Just want to make sure it's issue with Godot not MonoDevelop. Maybe the exec flags should be different or something.

git2013vb commented 4 years ago

Does the file path contain spaces or non-latin characters? If yes, does opening it from another location work? Also does it work if you try to open the file directly from terminal?

Just want to make sure it's issue with Godot not MonoDevelop. Maybe the exec flags should be different or something.

the current path is this one: /home/vale/Desktop/projects/desert_edge_sharp/ I can open a cs scrip with monodevelop from terminal also I have another C# project that I use with Monodevelop and it open script regularly

git2013vb commented 3 years ago

Tried with 3.3 stable mono. I still have the problem: image

the this error in Mono Developer:

Getting restore information for project /home/vale/godot/DesertEdgeSharp/gateway/Gateway.csproj
/usr/share/dotnet/sdk/5.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(54,5) : error MSB4186: Invalid static method invocation syntax: "[MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')". Method '[MSBuild]::GetTargetFrameworkIdentifier' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)). Check that all parameters are defined, are of the correct type, and are specified in the right order.
Unable to create package spec for project. '/home/vale/godot/DesertEdgeSharp/gateway/Gateway.csproj'

Maybe this new info can help