Not all MSBuild properties are supported by Rider code completion, but it works for the samples you mentioned in the latest 2024.3.7. Use JetBrains Toolbox to upgrade your IDE, it can prevent Rider frontend/backend version mismatching issue.