summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/Elements.Backend/Directory.build.props18
-rw-r--r--backend/Elements.Data/Directory.build.props18
2 files changed, 36 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>
diff --git a/backend/Elements.Data/Directory.build.props b/backend/Elements.Data/Directory.build.props
new file mode 100644
index 0000000..cb358fd
--- /dev/null
+++ b/backend/Elements.Data/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>