microsoft / qsharp-compiler

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

Support for .NET 7.0.* #1589

Open jigneshdpatel opened 1 year ago

jigneshdpatel commented 1 year ago

Tried to run QDK Training walkthrough using .NET 7 but getting following error:

PS C:\OneDrive\Apps\Quantum\QuantumHello> dotnet run C:\Users\Jp\.nuget\packages\microsoft.quantum.sdk\0.27.244707\Sdk\Sdk.targets(68,5): error MSB3073: The command "dotnet "C:\Users\jp\.nuget\packages\microsoft.quantum. sdk\0.27.244707\DefaultItems\../tools/utils/Microsoft.Quantum.Sdk.BuildConfiguration.dll" -v Normal --output "obj/qsharp/config/qsc.config" --QscReferences "(C:\Users\Jignesh\.n uget\packages\microsoft.quantum.csharpgeneration\0.27.244707\build\/../lib/netstandard2.1/Microsoft.Quantum.CSharpGeneration.dll, -1)"" exited with code -2147450730. [C:\OneDriv e\Apps\Quantum\QuantumHello\QuantumHello.csproj]

Any plans for updating QDK to support .NET 7 SDK?

Bebotron commented 11 months ago

Just spent hours trying to track down why the tutorials were not working for me. Freshly installed everything so running on latest .NET version. Please add support, currently running dotnet run from command line "can't find projects", with the .qs file sitting right there.