Closed zhuker closed 2 years ago
% 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 954f93686c77ec7fa68ab79042a9667f7f9fa1c3
Whats the proper way to build on mac?
(bear in mind i am a dotnet noob)