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

Support tasks on .NET Core #253

Open
natemcmaster opened this Issue Feb 4, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@natemcmaster

natemcmaster commented Feb 4, 2017

MSBuild 15 (VS 2017) can run on .NET Framework and .NET Core (building on Linux and Windows). It would be nice to port the tasks here to support running on .NET Core. This will anyone using the new Microsoft.NET.Sdk to keep using the tasks provided by MSBuildTasks.

Happy to provide guidance on this one as this is a fairly new thing.

@pwelter34

This comment has been minimized.

Member

pwelter34 commented Dec 15, 2017

Any guidance on how to do this would be great.

@natemcmaster

This comment has been minimized.

natemcmaster commented Dec 15, 2017

I wrote a blog post a while ago showing how to make tasks work on regular MSBuild and MSBuild for .NET Core. Hope it helps.

http://www.natemcmaster.com/blog/2017/07/05/msbuild-task-in-nuget/

@pwelter34

This comment has been minimized.

Member

pwelter34 commented Dec 15, 2017

perfect, i'll get this updated to that format. some tasks may have to be dropped for core, but most should work.

@abatishchev

This comment has been minimized.

abatishchev commented May 20, 2018

Hi, I've read the blog post but still don't get do you have plans to migrate to Core.

In the blog you suggest to reference MSBuild this way:

<PackageReference Include="Microsoft.Build.Framework" Version="15.1.1012" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="15.1.1012" />

and MSBuild.Community.Tasks.csproj references it this way:

<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />

So it's clearly not migrated yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment