microsoft / qsharp-compiler

Q# compiler, command line tool, and Q# language server
https://docs.microsoft.com/quantum
MIT License
684 stars 170 forks source link

Fix assembly constants not getting applied at build time #1531

Closed anpaz closed 2 years ago

anpaz commented 2 years ago

As discovered during the July 2022 release, the assembly constant 'SIGNED:TELEMETRY' defined in the QDK build (here) is not propagating as a build time flag 'TELEMETRY' in the QSharpVsix and LanguageServer projects.

I have find the root cause for this. Powershell now enforces $args is read-only. Our script was using this as a variable to provide extra arguments to the build command, but now the value is not longer applied so the flags were not properly set. Fix simply consists on changing the name of the variable.

ricardo-espinoza commented 2 years ago

/azp run

azure-pipelines[bot] commented 2 years ago
Azure Pipelines successfully started running 2 pipeline(s).