Closed WheretIB closed 4 years ago
That shouldn't be needed, as the project has a PackageReference
to Microsoft.VisualStudio.Debugger.Engine
. If you crank up the build verbosity, can you see the package being checked?
<PackageReference Include="Microsoft.VisualStudio.Debugger.Engine" Version="$(ConcordPackageVersion)">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
I see there's a reference in the csproj file, but it is not displayed in Solution explorer.
I can't see any mention of that package in Detailed MSBuild log file: Build Log
If I open NuGet package manager, I can see two packages listed and installed but the project still does not build. NuGet Package Manager
And 'Restore NuGet Packages' menu option doesn't help.
I wanted to reinstall the package, and as soon as I removed the Debugger package, the VSDConfigTool got restored. NuGet Package Manager 2
Looks like I was missing these two checkboxes in Visual Studio settings: NuGet Settings
After turning them both on, packages are restored in a clean git clone and project builds without an error.
HelloWorld project doesn't have any Visual Studio SDK references, so it fails to find them:
You have to add a reference to
<Reference Include="Microsoft.VisualStudio.Debugger.Engine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />