Skip to content

Commit 0c096dd

Browse files
committed
Set intermediate output to /obj/<projectname>
1 parent 992548f commit 0c096dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Project>
22
<!-- This file will be implicitly linked by all projects in folder -folders -->
33
<PropertyGroup>
4+
<!-- Avoid sharing obj folder with multiple .csproj files in same folder -->
5+
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj/$(MSBuildProjectName)</BaseIntermediateOutputPath>
46
<OutputPath>$(MSBuildThisFileDirectory)Artifacts/$(MSBuildProjectName)</OutputPath>
57
</PropertyGroup>
68

0 commit comments

Comments
 (0)