-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
40 lines (34 loc) · 1.56 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup Label="Sdk">
<DefaultNetCoreTargetFramework>net8.0</DefaultNetCoreTargetFramework>
<IsPackable>false</IsPackable>
<IsTestProject>$(MSBuildProjectName.EndsWith('.Tests'))</IsTestProject>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugType>full</DebugType>
<DefinteConstants>DEBUG;TRACE;$(DefineConstants)</DefinteConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
<DebugType>embedded</DebugType>
<DefinteConstants>TRACE;$(DefineConstants)</DefinteConstants>
</PropertyGroup>
<ItemGroup Label="Add Internals Visibility" Condition="'$(IsTestProject)' != 'true'">
<InternalsVisibleTo Include="$(MSBuildProjectName).Tests" />
</ItemGroup>
<PropertyGroup Label="Code Coverage" Condition="'$(IsTestProject)' == 'true'">
<RunSettingsFilePath>$(SolutionDir)\.runsettings</RunSettingsFilePath>
<Nullable>disable</Nullable>
</PropertyGroup>
<PropertyGroup Label="General Info">
<Authors>Kosala Nuwan Perera</Authors>
<Company>Alertbox Inc.</Company>
<Copyright>Copyright (c) $([System.DateTime]::Now.ToString('yyyy')) $(Company)</Copyright>
<RepositoryUrl>https://github.com/alertbox/devcontainers-try-dotnet-stuff</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
</Project>