Closed jasonmalinowski closed 8 years ago
Review: @NuGet/build-tasks-team
:+1:
If I may ask, which version of NuGet / Visual Studio has this fix?
The fix is not in nuget, it's in the build task shipping in visual studio. @jasonmalinowski will know in what version. I can only assume it is in update 3
This was shipped in Visual Studio 2015 Update 2.
Thanks.
If you have a target that mentions another target in BeforeTargets, but your target won't run, MSBuild still gives a warning. The workaround is to condition the computation of BeforeTargets as well. There's a bigger question here about where to move the .NET Core injection to, since it's ugly that it lives here; I ignore that question for now.
Fixes NuGet/Home#1814.