microsoft / Quantum

Microsoft Quantum Development Kit Samples
https://docs.microsoft.com/quantum
MIT License
3.87k stars 920 forks source link

Build errors and failing NuGet package restore #45

Closed cryptosidh closed 6 years ago

cryptosidh commented 6 years ago

Visual Studio Enterprise 2017, Version 15.6.6 .NET Framework, Version 4.7.02556 .NET Core SDK, Version 2.1.104 Quantum Development Kit, Version 0.2.1802.2202-preview

I was following the instructions on https://docs.microsoft.com/en-us/quantum/quantum-installconfig?view=qsharp-preview&tabs=tabid-vs2017

The teleportation example runs correctly.

Trying to run all tests, I attempted a rebuild which gives 31 errors, many of which are like this:

Error QS1001 Assembly C:\Users...\Source\Repos\Quantum\Microsoft.Quantum.Canon\bin\Debug\netstandard2.0\Microsoft.Quantum.Canon.dll not found H2SimulationSampleCmdLine C:\Users...\Source\Repos\Quantum\Samples\H2SimulationCmdLine\EXEC 1

The file actually does exist in that location.

Also, trying to restore NuGet packages gives the following error.

NuGet package restore failed. Please see Error List window for detailed warnings and errors. Time Elapsed: 00:00:02.5527360 ========== Finished ==========

Any ideas, what's wrong here?

cryptosidh commented 6 years ago

That fixed it. Thanks!