Skip to content
Discussion options

You must be logged in to vote

Hey, @MiKorH!

Thanks for asking the question. There are a couple of things going on here:

1. Project setup

You’ve manually specified what to include from the library:

<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

That’s almost right, but you're missing compile, which is important here. The *.BuildOutput.dll library contains the GenericLoggerExtensions class, and it needs to be available at compile time.

So you should update it to:

<IncludeAssets>compile; runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Alternatively, if you don’t need fine-grained control, you can skip the IncludeAssets altogether - it works…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MiKorH
Comment options

@MiKorH
Comment options

@stbychkov
Comment options

@MiKorH
Comment options

Answer selected by stbychkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants