-
Notifications
You must be signed in to change notification settings - Fork 7
/
Directory.Build.props
40 lines (35 loc) · 1.51 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<Authors>ContentLib</Authors>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/LC-ContentLib/ContentLib</RepositoryUrl>
<PublishProfile>PublishAll</PublishProfile>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<!-- Trim the project path in debug symbols -->
<PathMap>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./</PathMap>
</PropertyGroup>
<PropertyGroup>
<TargetName>$(Product)</TargetName>
<RootNamespace>$(Product)</RootNamespace>
<ProjectDepsFileName>$(Product).deps.json</ProjectDepsFileName>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<UseArtifactsOutput>true</UseArtifactsOutput>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup>
<!--
Ensure SolutionDir is actually defined, because otherwise it might not be in every situation.
This situation specifically was importing projects in pubxml files and running `dotnet publish`.
-->
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
</PropertyGroup>
</Project>