-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
77 lines (69 loc) · 3.39 KB
/
Directory.Build.targets
File metadata and controls
77 lines (69 loc) · 3.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<!-- Documentation output -->
<DocumentationFile>$(OutputPath)$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<!-- Includes for the entity framework model compilation -->
<PropertyGroup>
<EntityFrameworkTargetsFile>$(EXTENSIONS_PATH)/$(MSBuildProjectFile).EntityFrameworkCore.targets</EntityFrameworkTargetsFile>
</PropertyGroup>
<Import Condition="Exists('$(EntityFrameworkTargetsFile)')"
Project="$(EntityFrameworkTargetsFile)" />
<!-- Add the common attributes for all assemblies -->
<ItemGroup>
<AssemblyAttribute Include="System.CLSCompliantAttribute">
<_Parameter1>False</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Reflection.AssemblyTitleAttribute">
<_Parameter1>$(AssemblyName)</_Parameter1>
<_Parameter1_TypeName>System.String</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.InteropServices.ComVisibleAttribute">
<_Parameter1>False</_Parameter1>
<_Parameter1_TypeName>System.Boolean</_Parameter1_TypeName>
</AssemblyAttribute>
<AssemblyAttribute Include="MissingMethodException.DataTypes.Attributes.BuildDateTimeAttribute">
<_Parameter1>$(BuildDateTime)</_Parameter1>
<_Parameter1_TypeName>System.Int64</_Parameter1_TypeName>
</AssemblyAttribute>
</ItemGroup>
<!-- Target to print some directory values -->
<Target Name="DumpDirectories"
BeforeTargets="DumpPackageVersions">
<Message Text="MSBuildProjectExtensionsPath = $(MSBuildProjectExtensionsPath.Replace('/', '\'))" />
<Message Text="BaseIntermediateOutputPath = $(BaseIntermediateOutputPath.Replace('/', '\'))" />
<Message Text="IntermediateOutputPath = $(IntermediateOutputPath.Replace('/', '\'))" />
<Message Text="OutputPath = $(OutputPath.Replace('/', '\'))" />
</Target>
<!-- Target to print all defined package versions -->
<Target Name="DumpPackageVersions"
BeforeTargets="DumpPackageReferences">
<Message Text="Defined package versions:" />
<Message Text="- %(PackageVersion.Identity) version %(PackageVersion.Version)" />
</Target>
<!-- Target to print all used package references -->
<Target Name="DumpPackageReferences"
BeforeTargets="DumpProjectReferences">
<Message Text="Used package references:" />
<Message Text="- %(PackageReference.Identity)" />
</Target>
<!-- Target to print all used project references -->
<Target Name="DumpProjectReferences"
BeforeTargets="DumpEmbeddedResources">
<Message Text="Used project references:" />
<Message Text="- %(ProjectReference.Identity)" />
</Target>
<!-- Target to print all embedded resources -->
<Target Name="DumpEmbeddedResources"
BeforeTargets="CoreGenerateAssemblyInfo">
<Message Text="Embedded resources:" />
<Message Text="- %(EmbeddedResource.Identity)" />
</Target>
<!-- Target to print some property values -->
<Target Name="DumpDefineConstants"
BeforeTargets="CoreCompile">
<Message Text="DefineConstants = $(DefineConstants)" />
</Target>
</Project>