When using the --assembly-properties command line argument to qsc.dll from within a response file, assembly property values cannot end with a double-quote character ("").
To Reproduce
Steps to reproduce the behavior:
In a qsc.rsp file, add an argument to the --assembly-properties option that ends with a double-quote character. E.g.:
Describe the bug
When using the
--assembly-properties
command line argument toqsc.dll
from within a response file, assembly property values cannot end with a double-quote character ("
").To Reproduce
Steps to reproduce the behavior:
In a
qsc.rsp
file, add an argument to the--assembly-properties
option that ends with a double-quote character. E.g.:Invoke
qsc.dll
with the given response file.Expected behavior
The
DocsOutputPath
assembly property to be set to"C:\Users\cgran\source\repos\microsoft\quantumlibraries\Standard\src\docs"
. Due to https://github.com/microsoft/qsharp-compiler/blob/feature/docgen/src/QsCompiler/CommandLineTool/Commands/Build.cs#L136, the closing"
is stripped by the call toTrim
.System information