/
OutputBuildTargets.props
21 lines (20 loc) · 902 Bytes
/
OutputBuildTargets.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>
<PropertyGroup Label="OutputBuildTargets">
<BaseOutDir>$(OutputPathWithoutEndSlash)</BaseOutDir>
<OutDir>$(BaseOutDir)/$(TargetFramework)\</OutDir>
<TargetDir>$(OutDir)</TargetDir>
<TargetPath>$(TargetDir)$(TargetFileName)</TargetPath>
<TargetRefPath>$(TargetDir)ref\$(TargetFileName)</TargetRefPath>
<PublishDir>$(BaseOutDir)/$(TargetFramework)_$(RuntimeIdentifier)</PublishDir>
</PropertyGroup>
<!--
WPF projects output temporary assemblies in directories that are not deleted after use.
See https://github.com/dotnet/wpf/issues/2930
<Target Name="RemoveWpfTemp" AfterTargets="Build">
<ItemGroup>
<WpfTempDirectories Include="$([System.IO.Directory]::GetDirectories("$(BuildDir)","$(MSBuildProjectName)*_wpftmp_*"))"/>
</ItemGroup>
<RemoveDir Directories="@(WpfTempDirectories)" />
</Target>
-->
</Project>