How to read values of file in. dotnet sonarscanner begin /k:${}

I am trying with below command . dotnet sonarscanner begin /k:${} but it is not picking value from file. i am working on .net project with latest version of dotnet sonarscanner.
please help me out. TIA


Welcome to the community!

The SonarScanner for .NET doesn’t use You’ll want to pass any extra values on the analysis command line.


So, as per comment we have to pass variables through command line, sonar-project properties file is of no use in .net and we should not use as it doesn’t support