I have created ASP.net Core project using Visual studio 2017. I need to compile/debug this project on Build machine using Visual studio 2017. But I don't have internet on build machine.
I have exact same project on my dev machine that I can build with full internet access. I have full internet access on dev machine.
How do I copy all reference Nuget packages to Build machine so that I can compile/debug application on Build machine?
In .net framework project, I could copy entire 'packages' folder and it would work. While in .NET core there is no packages folder.
I tried copying packages from my dev machine's C:\Users<user>.nuget to C:\Users<user>.nuget of build machine (which doesn't have internet) which didn't work.
thanks, atul
C:\Users\<user>\.nuget\packages. You will have to copy them to a directory on your build machine, then set it as a local package source in Visual Studio