generated from alertbox/try-dotnet-on-azure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
37 lines (31 loc) · 1.49 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
<?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>net7.0</DefaultNetCoreTargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<IsPackable>false</IsPackable>
<IsTestProject>$(MSBuildProjectName.EndsWith('.Tests'))</IsTestProject>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefinteConstants>DEBUG;TRACE;$(DefinteConstants)</DefinteConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DefinteConstants>TRACE;$(DefinteConstants)</DefinteConstants>
</PropertyGroup>
<ItemGroup Label="Add Internals Visibility" Condition=" '$(IsTestProject)' != 'true' ">
<InternalsVisibleTo Include="$(MSBuildProjectName).Tests" />
</ItemGroup>
<PropertyGroup Label="Code Coverage" Condition=" '$(IsTestProject)' == 'true' ">
<Nullable>disable</Nullable>
<RunSettingsFilePath>$(SolutionDir)\.runsettings</RunSettingsFilePath>
</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/kosalanuwan/skol-resthooks-try-fabric</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
</Project>