-
Notifications
You must be signed in to change notification settings - Fork 1
/
netAmermaid.csproj
54 lines (48 loc) · 2.17 KB
/
netAmermaid.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ApplicationIcon>html\netAmermaid.ico</ApplicationIcon>
<Title>$(AssemblyName)</Title>
<Authors>Holger Schmidt</Authors>
<PackageProjectUrl>https://github.com/h0lg/netAmermaid</PackageProjectUrl>
<Description>Creates an HTML app to generate Mermaid class diagrams from the types contained in a .Net assembly.</Description>
<RepositoryUrl>https://github.com/h0lg/netAmermaid</RepositoryUrl>
<VersionPrefix>2.0.0</VersionPrefix>
</PropertyGroup>
<ItemGroup>
<Compile Remove="html\**" />
<EmbeddedResource Remove="html\**" />
<None Remove="html\**" />
<Content Include="html\netAmermaid.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="html\styles.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="html\template.html">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="html\script.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="ICSharpCode.Decompiler" Version="8.1.1.7464" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="html\html.njsproj">
<ReferenceOutputAssembly>False</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<!-- appends git commit hash to assembly informational version; from https://stackoverflow.com/a/45248069
see also https://andrewlock.net/version-vs-versionsuffix-vs-packageversion-what-do-they-all-mean/ -->
<Target Name="InitializeSourceControlInformation2" BeforeTargets="AddSourceRevisionToInformationalVersion">
<Exec Command="git describe --long --always --dirty --exclude=* --abbrev=8" ConsoleToMSBuild="True" IgnoreExitCode="False">
<Output PropertyName="SourceRevisionId" TaskParameter="ConsoleOutput" />
</Exec>
</Target>
</Project>