Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
XmlPoke task not available in .NET Core #1731
<Project> <Target Name="Build"> <XmlPoke /> </Target> </Project>
dotnet msbuild /t:Build
They are currently not compiled in: https://github.com/Microsoft/msbuild/blob/xplat/src/Tasks/Microsoft.Build.Tasks.csproj#L699
I wasn't around when the conversion was done so I'm not sure why they were left out. I'm assuming they use APIs that aren't available in
We should bring them back though. We can count this as a vote for pushing this one earlier in the list.
Could have been missing APIs, could have been "not used in our selfhost or the corefx repo and thus we never noticed it wasn't there". We should make sure anything missing in vNext is missing for a good reason.
…or whatever reason these are left out for .NET Core. Closes dotnet#1731
* Enable XmlPeek and XmlPoke, tasks for .NET Core. * Include unit tests as well * Rewrite some XmlPoke unit tests to not use regular expressions because differing line breaks on different platforms was causing the indexes to be off. The tests now parse the modified XML to verify everything. Closes #1731