Created
January 6, 2019 07:02
-
-
Save jsutlovic/68e7e9f6c0ac53d167017344ebb75ede to your computer and use it in GitHub Desktop.
Directory configuration for dotnet development in Docker, WSL and Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<PropertyGroup Condition="'$(DOTNET_RUNNING_IN_CONTAINER)' != 'true' And '$(OS)' == 'Unix'"> | |
<BaseIntermediateOutputPath>$(MSBuildProjectDirectory)/obj/local-wsl/</BaseIntermediateOutputPath> | |
<BaseOutputPath>$(MSBuildProjectDirectory)/bin/local-wsl/</BaseOutputPath> | |
</PropertyGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment