On 1/7/20 2:23 AM, Tom Deseyn wrote:
.NET Core 3 SDK includes targeting packs. When you are building for
one of those packs and have no other dependencies, your build*should*
work offline.
A targeting pack is included for netcoreapp3.0 and netstandard2.1.
For other tfms and nuget packages, you need to create a nuget cache to
build offline.
Because these are pre-built binaries, unfortunately, you can't create
a fully built-from-source app to be put in Fedora repos.
I have all the targeting packs installed.
The build fails when inside of mock without Internet with this message:
/usr/lib64/dotnet/sdk/3.0.100/NuGet.targets(123,5): error : Unable to load the
service index for source
https://api.nuget.org/v3/index.json.
[/builddir/build/BUILD/jellyfin-10.5.0/Jellyfin.Server/Jellyfin.Server.csproj]
When I disable all NuGet sources with a custom config the build fails trying to find
dependencies.