diff options
Diffstat (limited to 'backend/Elements.Backend')
| -rw-r--r-- | backend/Elements.Backend/Directory.build.props | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/backend/Elements.Backend/Directory.build.props b/backend/Elements.Backend/Directory.build.props new file mode 100644 index 0000000..cb358fd --- /dev/null +++ b/backend/Elements.Backend/Directory.build.props @@ -0,0 +1,18 @@ +<Project> + + <PropertyGroup> + <DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/obj/**/*</DefaultItemExcludes> + <DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/bin/**/*</DefaultItemExcludes> + </PropertyGroup> + + <PropertyGroup Condition="'$(DOTNET_RUNNING_IN_CONTAINER)' == 'true'"> + <BaseIntermediateOutputPath>$(MSBuildProjectDirectory)/obj/container/</BaseIntermediateOutputPath> + <BaseOutputPath>$(MSBuildProjectDirectory)/bin/container/</BaseOutputPath> + </PropertyGroup> + + <PropertyGroup Condition="'$(DOTNET_RUNNING_IN_CONTAINER)' != 'true'"> + <BaseIntermediateOutputPath>$(MSBuildProjectDirectory)/obj/local/</BaseIntermediateOutputPath> + <BaseOutputPath>$(MSBuildProjectDirectory)/bin/local/</BaseOutputPath> + </PropertyGroup> + +</Project> |
