Allow configurable Microsoft.Quantum.Sdk version in language server automatically-generated .csproj #614
Description
Is your feature request related to a problem? Please describe.
In latest beta builds from master
, the language server is creating a temporary project to compile and provide IntelliSense features for .qs
files that do not have an associated .csproj
file in the folder.
The temporary .csproj
file generated contains a reference to the Microsoft.Quantum.Sdk
version that matches the version of the currently-installed extension (specifically, the version of the language server that is running). There is no way to customize the version of the Microsoft.Quantum.Sdk
reference.
Describe the solution you'd like
For testing purposes it would be useful to have a setting to specify a different Microsoft.Quantum.Sdk
version. It would also be nice to log the version of Microsoft.Quantum.Sdk
used at the time the .csproj
is generated.
Describe alternatives you've considered
No real alternatives here other than manually installing a different version of the extension and/or editing the .csproj
manually after it is generated, neither of which are reasonable workarounds.