-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Closed
Copy link
Description
Extracted from #2642:
- How to specify the build target directory/directories
AppendTargetFrameworkToOutputPath
is useful for single-TFM projects for ppl converting from netfx to netstandard but don't want additional subdirectories inbin/[Configuration]
to not break existing tooling.- Redirect output via
OutputPath
- there have been discussions aboutOutDir
vsOutputPath
BaseOutputPath
to movebin\
somewhere else entirely
- Show workarounds for redirecting
obj\
to somewhere else. This needs some more hacks sinceBaseIntermediateOutputPath
needs to be set before(!) the imported SDK props so ideally in anDirectory.Build.props
file or using the explicit SDK import syntax instead of the project-levelSdk
attrbute. - Maybe have an example of how to have two csproj file in the same directory for sharing source - e.g. https://github.com/SabotageAndi/NewCSProj/tree/master/MultipleProjecsInSameFolder
AppendRuntimeIdentifierToOutputPath
See dotnet/standard#512 (comment) for info.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 59d4dafc-2217-9a7b-4590-27faa85164cd
- Version Independent ID: 64b80e80-1c15-c293-466a-918de98e96f6
- Content: MSBuild properties for Microsoft.NET.Sdk - .NET Core
- Content Source: docs/core/project-sdk/msbuild-props.md
- Product: dotnet-core
- GitHub Login: @gewarren
- Microsoft Alias: gewarren
Metadata
Metadata
Assignees
Labels
No labels