Compiling/running test project offline #484
Replies: 4 comments
-
It might work if you have the packages it needs in the nuget package cache, otherwise i'm not sure, short of pointing the build at a local package source? |
Beta Was this translation helpful? Give feedback.
-
Not really sharpziplib-specific, but you can use |
Beta Was this translation helpful? Give feedback.
-
@piksel @Numpsy Thanks for your reply,now build offline could succeed by add |
Beta Was this translation helpful? Give feedback.
-
If it is already built, it shouldn't need to build/restore again when running, but you can specify either
|
Beta Was this translation helpful? Give feedback.
-
I executed command
dotnet run -c Release -f netcoreapp2 -p test/ICSharpCode.SharpZipLib.TestBootstrapper/ICSharpCode.SharpZipLib.TestBootstrapper.csproj
in offline environment, and got the follow errors.It seems that the erros were caused by Internet disconnection. Is there a way to compile SharpZipLib offline, please?
Beta Was this translation helpful? Give feedback.
All reactions