Skip to content

SimpleJob attribute: how so specify RuntimeMoniker equivalent to net6.0-windows #2408

Closed Answered by timcassell
DanStevens asked this question in Q&A
Discussion options

You must be logged in to vote

You could manually create the toolchain like this:

Job.Default.WithToolchain(CsProjCoreToolchain.From(new NetCoreAppSettings("net6.0-windows", null, ".NET 6.0 Windows")))

That doesn't rely on the host process.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@timcassell
Comment options

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