Skip to content

Commit ffbb9c7

Browse files
authored
Merge pull request #44590 from mavasani/Issue44589
Update the work around for .editorconfig evaluation bugs in command l…
2 parents c47bd2a + 40f75a9 commit ffbb9c7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

eng/targets/Imports.targets

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
Work around .editorconfig evaluation bugs in command line builds.
99
https://github.com/dotnet/roslyn/issues/43371
1010
-->
11-
<ItemGroup Condition="'$(DesignTimeBuild)' != 'true'">
12-
<_AbsoluteCompile Include="@(Compile->'%(FullPath)')" />
13-
<Compile Remove="@(Compile)" />
14-
<Compile Include="@(_AbsoluteCompile)" />
15-
</ItemGroup>
11+
<Target Name="MapToAbsoluteFilePaths" BeforeTargets="CoreCompile" Condition="'$(DesignTimeBuild)' != 'true'">
12+
<ItemGroup>
13+
<_AbsoluteCompile Include="@(Compile->'%(FullPath)')" />
14+
<Compile Remove="@(Compile)" />
15+
<Compile Include="@(_AbsoluteCompile)" />
16+
</ItemGroup>
17+
</Target>
1618

1719
<PropertyGroup>
1820
<FileAlignment>512</FileAlignment>

0 commit comments

Comments
 (0)