-
Notifications
You must be signed in to change notification settings - Fork 173
Remove reference to System.CommandLine in the SDK #432
Remove reference to System.CommandLine in the SDK #432
Conversation
This dependency should be gotten transitively from the CsharpGeneration package now.
|
Actually, could we please remove the dependency to CSharpGeneration from the generated standalone executables? |
|
Do you mean that EntryPointDriver.dll being in the same NuGet package as C# generation is causing C# generation to be a required runtime dependency for standalone executables? I'm not sure why that would happen since the EntryPointDriver.dll assembly is separate (despite being in the same package) and does not depend on C# generation. |
|
EntryPointDriver.dll does depend on the Microsoft.Quantum.Compiler package, though, which we might want to change. That would bring in FSharp.Core and some other packages but I don't think it should bring in CsharpGeneration. |
|
@SamarSha I think the description in the PR may have caused some confusion. |
|
Yes, I mean that EntryPointDriver.dll being in the same nuget package as CSharpGeneration is causing it to be marked as a runtime dependency and the dlls are getting copied to the output folder: |
|
Maybe is not because is not in the same package, but I suspect that is that reason. I would push it to its own package, that way you can mark the dependency to |
|
I am not sure that I think the folder that contains runtime assets would be That is probably because CsharpGeneration is tagged with I'd still like to merge this PR for now, since currently the dependency on System.CommandLine is specified in two places (CsharpGeneration and Quantum SDK), and I think that even if EntryPointDriver.dll is split into its own package, the dependency on System.CommandLine should go in that package instead of the SDK. But I'll keep looking into the packaging issue. |
This dependency should be gotten transitively from the CsharpGeneration package now.