Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ArsenShnurkov opened this issue Apr 30, 2019 · 0 comments
Open

Comments

@ArsenShnurkov
Copy link
Collaborator

ArsenShnurkov commented Apr 30, 2019

$ 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant