Skip to content

How to build and debug in a Linux distribution using VSCode? #246

Closed Answered by fsobolev
PlatinumLucario asked this question in Q&A
Discussion options

You must be logged in to vote

Surely, it must be because it was missing the libraries that Gir.Core needs, right?

No. It's not enough to use only dotnet to build the app, there is extra stuff (gresource and *ui files), and so there is justfile for a reason. If I'm not mistaken, the error you got initially is because *.ui files are not found in the assembly - because they were not compiled using blueprint-compiler. I'm not familiar with VSCode enough so I can't say unfortunately how to properly change launch configuration, but what you essentially want is to execute just run.
But what happens on the second screenshot is a mystery to me. I can only say that it's not required to move libs to the folder with executable.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PlatinumLucario
Comment options

@fsobolev
Comment options

Answer selected by nlogozzo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants