gentoo / dotnet

[MIRROR] Newer mono, .NET languages, and libraries
https://gitweb.gentoo.org/repo/proj/dotnet.git
79 stars 57 forks source link

The attribute "LinkBase" in element <Compile> is unrecognized. #421

Open ArsenShnurkov opened 5 years ago

ArsenShnurkov commented 5 years ago
$ xbuild src/Tasks/Microsoft.NET.Build.Tasks/xbuild-Microsoft.NET.Build.Tasks.csproj

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.12.0.226
Copyright (C) 2005-2013 Various Mono authors

Build started 30.04.2019 11:00:02.
__________________________________________________
src/Tasks/Microsoft.NET.Build.Tasks/xbuild-Microsoft.NET.Build.Tasks.csproj: error : /usr/src/git/github.com/sdk/dotnet/src/Tasks/Microsoft.NET.Build.Tasks/xbuild-Microsoft.NET.Build.Tasks.csproj: The attribute "LinkBase" in element  is unrecognized.
Build FAILED.
Errors:

src/Tasks/Microsoft.NET.Build.Tasks/xbuild-Microsoft.NET.Build.Tasks.csproj: error : /usr/src/git/github.com/sdk/dotnet/src/Tasks/Microsoft.NET.Build.Tasks/xbuild-Microsoft.NET.Build.Tasks.csproj: The attribute "LinkBase" in element  is unrecognized.

     0 Warning(s)
     1 Error(s)

Time Elapsed 00:00:00.2272740

I understood, that msbuild utility should be used in general, but how this "LinkBase" is passed to csc.exe? Via which command line parameter?