-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWriterSharp.csproj
119 lines (101 loc) · 4.7 KB
/
WriterSharp.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<Project Sdk="Microsoft.NET.Sdk">
<!-- Generic properties -->
<PropertyGroup>
<OutputType>WinExe</OutputType>
<InformationalVersion>1.0.0</InformationalVersion>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>false</AvaloniaUseCompiledBindingsByDefault>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>false</PublishTrimmed>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Optimize>true</Optimize>
<Description>The text editor... now in C#. WriterSharp is a simple text editor, yet one you can't miss out on!</Description>
<FileVersion>1.0.0.0</FileVersion>
<InformationalVersion>1.0.0</InformationalVersion>
<!-- UNCOMMENT FOR UNSTABLE RELEASES -->
<!-- SourceRevisisonId = <alpha/beta>@<DD><MM><YY><reviewer (6 letters)> -->
<SourceRevisionId>ALPHA@260425mfmatt</SourceRevisionId>
<!-- UNCOMMENT FOR STABLE RELEASES -->
<!-- <SourceRevisionId>stable</SourceRevisionId> -->
<!-- UNCOMMENT FOR STABLE RELEASES THAT HAVE BEEN PATCHED IN THE SAME VERSION -->
<!-- <SourceRevisionId>patch1</SourceRevisionId> -->
<!-- End of SourceRevisionId -->
<!-- this setting gets overwrited if in debug mode -->
<RuntimeIdentifiers>win-x64;linux-x64;osx-x64;win-x86</RuntimeIdentifiers>
<Platforms>AnyCPU;x64;x86</Platforms>
<DefineConstants>WINDOWS;LINUX;DARWIN;X86_64;X86</DefineConstants>
<!-- these constants will be overwritten afterwards -->
</PropertyGroup>
<!-- OS and Platform constants -->
<PropertyGroup>
<DefineConstants>UNIVERSAL</DefineConstants>
<!-- Windows (64 bit) -->
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'win-x64'">
WINDOWS;X86_64
</DefineConstants>
<ApplicationIcon Condition="'$(RuntimeIdentifier)' == 'win-x64'">
Assets\AppIcon.ico
</ApplicationIcon>
<!-- Windows (32 bit) -->
<!-- It ain't like this one will be supported for much longer but whatever... -->
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'win-x86'">
WINDOWS;X86
</DefineConstants>
<ApplicationIcon Condition="'$(RuntimeIdentifier)' == 'win-x86'">
Assets\AppIcon.ico
</ApplicationIcon>
<!-- Linux -->
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
LINUX;X86_64
</DefineConstants>
<!-- MacOS (64 bit) -->
<DefineConstants Condition="'$(RuntimeIdentifier)' == 'osx-x64'">
DARWIN;X86_64
</DefineConstants>
</PropertyGroup>
<!-- Release Mode -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<!-- Debug Mode -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<Optimize>false</Optimize>
</PropertyGroup>
<!-- Verbose Information -->
<Target Name="BuildInfo" BeforeTargets="Build">
<Message Text="Building with $(TargetFramework) for $(RuntimeIdentifier) in $(Configuration) mode" Importance="High" />
<Message Condition="'$(Configuration)' == 'Release'" Text="Optimization enabled: $(Optimize)" Importance="High" />
<Message Condition="'$(Configuration)' == 'Debug'" Text="THIS IS AN UNOPTIMIZED DEBUG BUILD, please use Release mode for actual releases." Importance="High" />
</Target>
<!-- Avalonia Stuff -->
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.2.7" />
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.2.0" />
<PackageReference Include="Avalonia.Desktop" Version="11.2.7" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.2.7" />
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.7" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics" Version="11.2.7">
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
</PackageReference>
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.2.0" />
<PackageReference Include="MessageBox.Avalonia" Version="3.2.0" />
<PackageReference Include="TextMateSharp" Version="1.0.66" />
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.66" />
</ItemGroup>
<!-- My stuff -->
<ItemGroup>
<AvaloniaResource Include="Assets\**" />
<!-- Asset Folder -->
<None Include="Assets\**" Pack="true" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Project>