Skip to content
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 · 5 comments
Open

Support tasks on .NET Core #253

natemcmaster opened this issue Feb 4, 2017 · 5 comments

Comments

@natemcmaster
Copy link

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
Copy link
Member

Any guidance on how to do this would be great.

@natemcmaster
Copy link
Author

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
Copy link
Member

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

@abatishchev
Copy link

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.

@lostmsu
Copy link

lostmsu commented Mar 21, 2019

Any progress on this? IronPython seems to be using this project to build, and it fails under .NET Core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants