Skip to content
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

Solution-level MGCB not found #21

Open
j0of opened this issue Mar 3, 2024 · 3 comments
Open

Solution-level MGCB not found #21

j0of opened this issue Mar 3, 2024 · 3 comments

Comments

@j0of
Copy link

j0of commented Mar 3, 2024

Hi there,
I am currently trying to access the MGCB through the plugin. I have set up my project in such a way that the sln is in a separate directory to the csproj, and this is preventing me from being able to open the MGCB whilst I am working in the solution. In my Rider settings, going to Tools > MonoGame > MGCB shows:

  • Global tools mgcb-editor: Not Found
  • Solution-level tools mgcb-editor: Not Found
  • Project-level tools {ProjectName}: dotnet-mgcb-editor-windows: 3.8.1.303
    I am able to fix this by editing the project through the .csproj instead of the .sln, but I prefer to use the .sln because it's where the git repo is. Is there a workaround for this?
    I have also considered using the global MGCB tool, but the website advises against this.
    Thank you!
@seclerp
Copy link
Owner

seclerp commented Mar 3, 2024

Hi @j0of, could you please share an example project with the same solution layout you have issues with?

@j0of
Copy link
Author

j0of commented Mar 3, 2024

Sure thing!

{ProjectName}\
├───{ProjectName}.sln
├───.idea\
├───.git\
├───.gitignore
└───{ProjectName}\
    ├───.config\
    ├───bin\
    ├───Content\
    ├───obj\
    ├───{ProjectName}.csproj
    └───Program.cs

@seclerp
Copy link
Owner

seclerp commented Mar 3, 2024

So if I understand correctly you want to use project-level tools when working with the project inside solution? It should work, so this is a bug. Will take a look a but later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants