glorylo / Joyride

A cross platform mobile framework for automating acceptance tests using appium
BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

Build errors because of missing .nuget folder #4

Open icnocop opened 6 years ago

icnocop commented 6 years ago

Hi.

Thank you for Joyride.

I get the following build errors when I try to build Joyride.sln in Visual Studio 2015 Update 3 using the Debug | Any CPU solution configuration:

C:\github\glorylo\Joyride\Joyride.Starter\Joyride.Starter.csproj(52,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is C:\github\glorylo\Joyride\\.nuget\NuGet.targets.
C:\github\glorylo\Joyride\Tests\Android.Native\Tests.Android.Native.csproj(212,5): error : This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is C:\github\glorylo\Joyride\\.nuget\NuGet.targets.

"Allow NuGet to download missing packages" and "Automatically check for missing packages during build in Visual Studio" are enabled in my Visual Studio options.

Should the .nuget folder have been checked in?

Thank you.

asnaith commented 6 years ago

@icnocop I fixed it in my fork to build in Visual Studio 2017 by migrating from msbuild-integrated package restore to automatic package, maybe try the same and see if it works in VS2015 https://github.com/asnaith/Joyride/commit/59632b105186144218964732f4abacc8ace73ddc