Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Could not resolve this reference

RomanShalamov's Avatar

RomanShalamov

23 Sep, 2017 01:22 PM

Hi!
I'm trying to develop my app with appharbor, but when pushing it show message "Could not resolve this reference. Could not locate the assembly "DotParser". Check to make sure the assembly exists on disk." And this happens with most my references.
But I look at Nuget restore package log file and there all packages are downloaded and installed.
What could be a problem?
Thank you!
P.S.: Commid ID : 6757f643cf7a8dcfbe6791da5c9dd2418c6b6a3e

  1. Support Staff 1 Posted by rune on 26 Sep, 2017 04:15 AM

    rune's Avatar

    Hi,

    I took a look and suspect there could be a couple of possible reasons for this issue, but most likely it's related to the directory structure which is a bit unusual. In particular, the application's solution file used to generate the NuGet restore graph is located in the input/root folder, while the project file being built is nested two folders under this.

    Can you perhaps try and move your solution file to the src directory and give this another shot? I suspect that will cause the packages to be restored to the referenced location.

    You may also want to try and clean your local directory while debugging, as you may have multiple packages folders locally that doesn't exist on AppHarbor. Using git you can remove all untracked files using a command such as git clean -fdx. Doing this might help reproduce the issue locally, but you may want to take a backup of the folder just in case it contains files or changes you need later on.

    Best,
    Rune

  2. 2 Posted by RomanShalamov on 30 Sep, 2017 12:58 PM

    RomanShalamov's Avatar

    Hi!
    Thank you for your answer!
    I tried to do this, but it doesn't work anyway. (now my .sln file in /src folder)
    I have such error with references again.

    Commit id: 00fb7784b1a50d2e4e83f5db09171d657496233a

  3. RomanShalamov closed this discussion on 30 Sep, 2017 02:24 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? 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