Skip to content

Commit f7e7a82

Browse files
committed
Fix build on Linux by switching to RoslynCodeTaskFactory
1 parent ddbb138 commit f7e7a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949

5050
<!-- Inline task to get file version from assembly -->
51-
<UsingTask TaskName="GetFileVersion" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\\Microsoft.Build.Tasks.v4.0.dll">
51+
<UsingTask TaskName="GetFileVersion" TaskFactory="RoslynCodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
5252
<ParameterGroup>
5353
<AssemblyPath ParameterType="System.String" Required="true" />
5454
<FileVersion Output="true" ParameterType="System.String" />

0 commit comments

Comments
 (0)