-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Emit clearer error for built-in tasks that don't work on .NET Core #3499
Comments
This was done specifically for Marking as up-for-grabs since we'd take contributions to build more stubs. |
Hi @rainersigwald, Will take this up. |
A user on an unrelated ticket mentioned using the workaround documented here: https://stackoverflow.com/questions/47062203/net-core-error-on-build-error-msb4062-microsoft-build-tasks-resolvecomreferenc. |
@kendrahavens for COM specifically? Do you have suggestions over https://docs.microsoft.com/en-us/visualstudio/msbuild/resolvecomreference-task?view=vs-2019#msb4803-error? |
@rainersigwald Please assign this issue to me. Updated Notes: I will create stubs for the following tasks based on how the
Additionally, |
PR #3987 includes a change in Has the |
The |
The PR fails to build because base classes are different for the tasks. |
Following the pattern used for the `ResolveComReference` task, create stubs for .NET that provide a clear error message indicating the task is not supported on .NET. Fixes #3499.
Following the pattern used for the `ResolveComReference` task, create stubs for .NET that provide a clear error message indicating the task is not supported on .NET. Fixes dotnet#3499.
Not all tasks in
Microsoft.Build.Tasks.Core.dll
are present in .NET Core MSBuild; some weren't ported because of API limitations at the time and some just aren't done yet.It'd be nice if you got a clear error indicating this, rather than a mysterious one like
The text was updated successfully, but these errors were encountered: