Nuget packages get loaded from wrong path

Bluscream's Avatar


26 Apr, 2019 01:33 AM

As you can see in
Nuget downloads Fody into

Added package 'Fody.5.0.0' to folder 'C:\projects\vrchatlauncher\VRChatLauncher\packages'
but MSBuild tries to load it from
C:\projects\vrchatlauncher\VRChatLauncher\VRChatLauncher.csproj(218,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\Fody.5.0.0\build\Fody.targets.

What can I do to make MSBuild load it from the correct folder or make nuget save it to the right folder?

  1. Support Staff 1 Posted by Owen McDonnell on 26 Apr, 2019 02:42 PM

    Owen McDonnell's Avatar

    How about removing a dot here?

  2. 2 Posted by Bluscream on 26 Apr, 2019 06:30 PM

    Bluscream's Avatar

    This would scramble up the local folder structure where this solution is from

  3. Support Staff 3 Posted by Owen McDonnell on 26 Apr, 2019 10:55 PM

    Owen McDonnell's Avatar

    I see.
    In any case, do you believe that this is due to some build machine problem?
    Or are you asking for specific nuget cli option?

  4. Ilya Finkelshteyn closed this discussion on 27 Jun, 2019 09:01 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