Skip to content

Commit

Permalink
Packaging: Workaround nuget incorrect error
Browse files Browse the repository at this point in the history
https://docs.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu5128

NuGet/Home#8583

Cannot repro locally.

 C:\hostedtoolcache\windows\dotnet\sdk\5.0.101\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(207,5): error NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below: [D:\a\1\s\src\LibVLCSharp\LibVLCSharp.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\5.0.101\Sdks\NuGet.Build.Tasks.Pack\buildCrossTargeting\NuGet.Build.Tasks.Pack.targets(207,5): error NU5128: - Add a dependency group for UAP10.0 to the nuspec [D:\a\1\s\src\LibVLCSharp\LibVLCSharp.csproj]
  • Loading branch information
mfkl committed Dec 21, 2020
1 parent a0163c1 commit b82ad0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LibVLCSharp/LibVLCSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.</Descri
<PackageReleaseNotes>https://code.videolan.org/videolan/LibVLCSharp/blob/master/NEWS</PackageReleaseNotes>
<PackageTags>libvlc;vlc;videolan;native;c/c++;video;audio;player;media;mediaplayer;codec;ffmpeg;xamarin;graphics;ios;android;linux;windows;macos;cross-platform</PackageTags>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="$(TargetFramework.StartsWith('uap'))">
<GenerateLibraryLayout>true</GenerateLibraryLayout>
Expand Down

0 comments on commit b82ad0b

Please sign in to comment.