Skip to content

Commit e352f9a

Browse files
committed
Include 'bin' in OutDir destination so the default lookup location still works.
1 parent 92d9ff7 commit e352f9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Packages/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/build/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626

2727
<Target Name="LocateRoslynToolsDestinationFolder" Condition=" '$(RoslynToolsDestinationFolder)' == '' ">
2828
<!-- Choose one of WebProjectOutputDir or OutputPath -->
29-
<!-- But when OutDir is specified given and is different from that choice, also include it without 'bin' -->
29+
<!-- But when OutDir is specified given and is different from the above, copy to OutDir as well -->
3030
<ItemGroup Condition="'$(WebProjectOutputDir)' != ''">
3131
<RoslynToolsDestinations Include="$(WebProjectOutputDir)\bin\roslyn" />
32-
<RoslynToolsDestinations Condition="'$(RoslynCopyToOutDir)' == 'true' AND '$(OutDir)' != '$(WebProjectOutputDir)'" Include="$(OutDir)\roslyn" />
32+
<RoslynToolsDestinations Condition="'$(RoslynCopyToOutDir)' == 'true' AND '$(OutDir)' != '$(WebProjectOutputDir)'" Include="$(OutDir)\bin\roslyn" />
3333
</ItemGroup>
3434
<ItemGroup Condition="'$(WebProjectOutputDir)' == ''">
3535
<RoslynToolsDestinations Include="$(OutputPath)\bin\roslyn" />

0 commit comments

Comments
 (0)