Skip to content

Commit ce39023

Browse files
committed
Always use MSBuild v4.0 CodeTaskFactory for compatibility across MSBuild versions.
1 parent e067808 commit ce39023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/React.tasks.proj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ of patent rights can be found in the PATENTS file in the same directory.
1717
<UsingTask
1818
TaskName="SetEnvironmentVariable"
1919
TaskFactory="CodeTaskFactory"
20-
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
20+
AssemblyFile="C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll">
2121
<ParameterGroup>
2222
<Name Required="true" />
2323
<Value Required="true" />
@@ -34,7 +34,7 @@ of patent rights can be found in the PATENTS file in the same directory.
3434
<UsingTask
3535
TaskName="UpdateAspNetProjectVersion"
3636
TaskFactory="CodeTaskFactory"
37-
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
37+
AssemblyFile="C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Build.Tasks.v4.0.dll">
3838
<ParameterGroup>
3939
<Files ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
4040
<Version Required="true" />

0 commit comments

Comments
 (0)