build my visual studio extension

mohamed ebrahim atia's Avatar

mohamed ebrahim atia

07 Jan, 2019 10:57 PM

when i build my extension i got this error message
Errors in packages.config projects
    Unable to find version '15.9.3035' of package 'Microsoft.VSSDK.BuildTools'.
      C:\Users\appveyor\.nuget\packages\: Package 'Microsoft.VSSDK.BuildTools.15.9.3035' is not found on source 'C:\Users\appveyor\.nuget\packages\'. Package 'Microsoft.VSSDK.BuildTools.15.9.3035' is not found on source ''.

i searched the internet for this version of package 'Microsoft.VSSDK.BuildTools.15.9.3035' but i can't find this version
please help

  1. 1 Posted by Owen McDonnell on 08 Jan, 2019 01:10 AM

    Owen McDonnell's Avatar

    I couldn't find any trace of that version either.
    What if you just manually point packages.config to latest 15.9.3032 version?

  2. 2 Posted by mohamed Ebrahim... on 08 Jan, 2019 05:39 AM

    mohamed Ebrahim Atia's Avatar

    i did your Recommendations but nothing changed
    this is the link of my project on GitHub

    that is my packages.config
    and also this is my build log
    Build started
    git clone -q --branch=master C:\projects\filediff
    git checkout -qf 94684d38862f3ed003cc6d17207d36876943272c
    Running Install scripts
    (new-object Net.WebClient).DownloadString("") | iex
    Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
    Incrementing VSIX version...1.1.19
    Updating AppVeyor build version...1.1.19
    Version vsixFilePath
    ------- ------------
    1.1.19 C:\projects\filediff\FileDiff\source.extension.vsixmanifest
    Vsix-TokenReplacement FileDiff\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'
    Replacing Version = "([0-9\\.]+)" with Version = "1.1.19"...OK
    nuget restore -Verbosity quiet
    WARNING: Error downloading 'Microsoft.VisualStudio.Shell.Interop.' from ''.
    An error occurred while sending the request.
      Unable to connect to the remote server
      A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
    Microsoft (R) Build Engine version 14.0.25420.1
    Copyright (C) Microsoft Corporation. All rights reserved.
    C:\projects\filediff\FileDiff\FileDiff.csproj(202,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see The missing file is ..\packages\Microsoft.VSSDK.BuildTools.15.9.3035\build\Microsoft.VSSDK.BuildTools.props.
    Command exited with code 1

  3. 3 Posted by Owen McDonnell on 08 Jan, 2019 11:33 PM

    Owen McDonnell's Avatar

    Looks like this error is coming from a condition set in your csproj file here.

    What is the output when you build this locally?

  4. Ilya Finkelshteyn closed this discussion on 11 Mar, 2019 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac