vs-setup-samples icon indicating copy to clipboard operation
vs-setup-samples copied to clipboard

Unable to build C++ sample.

Open profiler-bg opened this issue 10 years ago • 2 comments

Hi,

Tried building the sample in both VS2015 & VS2017RC with no success in both.

VS2017RC: Due to new NuGet doesn't even offer to restore packages. VS2015: Complains that the project references a package with version: 1.2.194-develop-24916 which it is unable to find in the NuGet repo. I'm unable to update or remove it (so I can install the 1.3 version).

Is this expected behaviour?

Regards, HP

profiler-bg avatar Nov 29 '16 15:11 profiler-bg

The solution I used was:

  1. Delete packages.config.
  2. Open Setup.Configuration.VC.vcxproj with VS code and delete the condition on line 185 that checks if the specific version is installed.
  3. Open solution in VS2015.
  4. Manually install the latest Microsoft.VisualStudio.Setup.Configuration.Native package.

profiler-bg avatar Nov 29 '16 15:11 profiler-bg

Seems I never published version 1.2.194, but updating to 1.2.304 via the NuGet interface should've worked. I'll be fixing this but updating to our RC bits anyway.

heaths avatar Nov 29 '16 18:11 heaths