Results 4 comments of Shiffted

You can set `set_policy("package.install_locally", true)` to install package to the project dir or specify it on the cli with `xmake f --policies=package.install_locally` per project or `xmake g --policies=package.install_locally` to set...

This issue still persists in version 3.0.2 and now even occurs without `set_default(false)`. After building the binary target, it works correctly.

There is a language server in development which checks for this case already. But it is still in development and you will get alot of incorrect warnings. https://github.com/CppCXY/xmake_ls

@waruqi If we introduce package api checking, how would we go about running the checker over package repos? Creating a dummy project for the repo or adding the ability to...