ektrah/libsodium-core

build error on mac dotnet 5

Closed this issue · 2 comments

Whats the proper way to build on mac?

(bear in mind i am a dotnet noob)

 % dotnet --version
5.0.401
% dotnet restore
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
  Determining projects to restore...
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
  Restored /Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj (in 327 ms).
  Restored /Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj (in 320 ms).
% dotnet build
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
  Determining projects to restore...
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
  All projects are up-to-date for restore.
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
  Sodium.Core -> /Users/azhukov/git/libsodium-core/src/Sodium.Core/bin/Debug/netstandard1.6/Sodium.Core.dll
  Sodium.Core -> /Users/azhukov/git/libsodium-core/src/Sodium.Core/bin/Debug/netstandard2.0/Sodium.Core.dll
  Sodium.Tests -> /Users/azhukov/git/libsodium-core/test/Sodium.Tests/bin/Debug/netcoreapp2.0/Sodium.Tests.dll

Build FAILED.

/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
    12 Warning(s)
    2 Error(s)

Time Elapsed 00:00:01.90
% dotnet msbuild
Microsoft (R) Build Engine version 16.11.0+0538acc04 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Sdk/Sdk.props(25,3): warning MSB4011: "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk.WindowsDesktop/targets/Microsoft.NET.Sdk.WindowsDesktop.props" cannot be imported again. It was already imported at "/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.props (148,3)". This is most likely a build authoring error. This subsequent import will be ignored. [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/usr/local/share/dotnet/sdk/5.0.401/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp2.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/azhukov/git/libsodium-core/test/Sodium.Tests/Sodium.Tests.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
/Users/azhukov/.nuget/packages/msbuild.sdk.extras/2.0.54/Build/Workarounds.targets(27,5): error : If you are building projects that require targets from full MSBuild or MSBuildFrameworkToolsPath, you need to use desktop msbuild ('msbuild.exe') instead of 'dotnet build' or 'dotnet msbuild' [/Users/azhukov/git/libsodium-core/src/Sodium.Core/Sodium.Core.csproj]
  Sodium.Core -> /Users/azhukov/git/libsodium-core/src/Sodium.Core/bin/Debug/netstandard1.6/Sodium.Core.dll
  Sodium.Core -> /Users/azhukov/git/libsodium-core/src/Sodium.Core/bin/Debug/netstandard2.0/Sodium.Core.dll
  Sodium.Tests -> /Users/azhukov/git/libsodium-core/test/Sodium.Tests/bin/Debug/netcoreapp2.0/Sodium.Tests.dll

This should be fixed by 954f936