forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
31 lines (21 loc) · 1.09 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
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Project>
<PropertyGroup>
<EnableSourceLink>True</EnableSourceLink>
</PropertyGroup>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<Import Project="eng\targets\Settings.props" />
<!-- Source Link -->
<PropertyGroup>
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
<DebugType Condition=" '$(EnableSourceLink)'=='True' AND '$(Configuration)'=='Debug'">embedded</DebugType>
</PropertyGroup>
<!-- <Metalama> -->
<PropertyGroup>
<RepoKind>GitHub</RepoKind>
<!-- If this is not set, build fails with: "<SymbolPackageFormat>snupkg</SymbolPackageFormat> is not supported by the Arcade SDK." -->
<SuppressSymbolPackageFormatValidation>true</SuppressSymbolPackageFormatValidation>
</PropertyGroup>
<Import Sdk="PostSharp.Engineering.Sdk" Project="SourceLink.props"/>
<!-- </Metalama> -->
</Project>