-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
43 lines (31 loc) · 1.61 KB
/
Directory.Build.props
File metadata and controls
43 lines (31 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<Project>
<PropertyGroup>
<!-- Targeting and Output -->
<TargetFramework>net48</TargetFramework>
<Platforms>x64</Platforms>
<!-- Auto-generate AssemblyInfo.cs -->
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<!-- Normalize embedded stacktrace paths, make them relative rather than absolute -->
<PathMap>$(MSBuildProjectDirectory)=$(MSBuildProjectName)</PathMap>
<!-- Don't append the target framework, runtime identifier, or platform to the output path -->
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AppendPlatformToOutputPath>false</AppendPlatformToOutputPath>
</PropertyGroup>
<!-- Ensure projects which use WPF or Windows Forms import Windows Desktop targets -->
<PropertyGroup Condition="'$(UseWPF)' == 'true' or '$(UseWindowsForms)' == 'true'">
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<!-- Always include embedded debug symbols in our Release builds -->
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<!-- Set up localization to fallback to the main assembly and en neutral language -->
<ItemGroup>
<AssemblyAttribute Include="System.Resources.NeutralResourcesLanguageAttribute">
<_Parameter1>en</_Parameter1>
<_Parameter2>MainAssembly</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Project>