Winforms: win-x64 publish with Core3 Preview and VS2019 results in ""CheckEmbeddedRootDescriptor" task was not given a value for the required parameter "AssemblyPath""

Created on 5 Dec 2018  路  6Comments  路  Source: dotnet/winforms

I have been trying to publish a plain dotnet new winforms app by following the steps here, but I end up with error: error MSB4044: The "CheckEmbeddedRootDescriptor" task was not given a value for the required parameter "AssemblyPath".

See attached image for the whole process.

I am running VS2019 Preview and have the following SDKs installed: https://www.screencast.com/t/29MbjIeY04

Any advice on how I can overcome this?
linker_issue

bug tenet-compatibility

Most helpful comment

@OliaG Feel free to move it to https://github.com/mono/linker. This is happening because the linker hasn't been updated to work with the 3.0 SDK, which is something we're working on.

All 6 comments

I've had exactly same error when I used ILLink.Tasks package, publish works fine without it. So it must be some problem with ILLink.Tasks, not winforms?

cc @sbomer

This error occurs if you add ILLink.Tasks to a fresh core 3.0 console app so I don't think this is specific to winforms.

@jeffschwMSFT @sbomer it looks like general ILLink.Tasks problem. Where do you track those bugs? Can we move this issue there as it is not WinForms specific

@OliaG Feel free to move it to https://github.com/mono/linker. This is happening because the linker hasn't been updated to work with the 3.0 SDK, which is something we're working on.

This issue was moved to mono/linker#428

Was this page helpful?
0 / 5 - 0 ratings