-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
33 lines (28 loc) · 1.39 KB
/
Directory.Build.props
File metadata and controls
33 lines (28 loc) · 1.39 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
<Project>
<PropertyGroup>
<!-- Common metadata for all projects -->
<Company>Context& A/S</Company>
<Authors>Context&</Authors>
<Copyright>Copyright (c) Context& A/S</Copyright>
<RepositoryUrl>https://github.com/delegateas/XrmPluginCore</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Consistent language version (C# 14) -->
<LangVersion>14</LangVersion>
<!-- Do not pack projects by default -->
<IsPackable>false</IsPackable>
</PropertyGroup>
<!-- Assembly signing for non-test projects -->
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)resources\delegate.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Test project defaults -->
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<!-- Centralized Dataverse SDK references for projects that need them -->
<ItemGroup Condition="'$(UseDataverseSdk)' == 'true'">
<PackageReference Include="Microsoft.CrmSdk.CoreAssemblies" Version="9.0.2.59" Condition="'$(TargetFramework)' == 'net462'" />
<PackageReference Include="Microsoft.PowerPlatform.Dataverse.Client" Version="1.2.3" Condition="'$(TargetFramework)' == 'net8.0' Or '$(TargetFramework)' == 'net8'" />
</ItemGroup>
</Project>