|
2 | 2 | <!-- Generic properties --> |
3 | 3 | <PropertyGroup> |
4 | 4 | <OutputType>WinExe</OutputType> |
5 | | - <InformationalVersion>1.0.0</InformationalVersion> |
6 | 5 | <TargetFramework>net8.0</TargetFramework> |
7 | 6 | <Nullable>enable</Nullable> |
8 | 7 | <BuiltInComInteropSupport>true</BuiltInComInteropSupport> |
|
14 | 13 | <Optimize>true</Optimize> |
15 | 14 |
|
16 | 15 | <Description>The text editor... now in C#. WriterSharp is a simple text editor, yet one you can't miss out on!</Description> |
17 | | - <FileVersion>1.0.0.0</FileVersion> |
| 16 | + <FileVersion>1.0.1.0</FileVersion> |
18 | 17 | <InformationalVersion>1.0.0-alpha1</InformationalVersion> |
19 | 18 |
|
20 | 19 | <!-- UNCOMMENT FOR UNSTABLE RELEASES --> |
|
32 | 31 | <!-- this setting gets overwrited if in debug mode --> |
33 | 32 | <RuntimeIdentifiers>win-x64;linux-x64;osx-x64;win-x86</RuntimeIdentifiers> |
34 | 33 | <Platforms>AnyCPU;x64;x86</Platforms> |
35 | | - |
36 | | - <DefineConstants>WINDOWS;LINUX;DARWIN;X86_64;X86</DefineConstants> |
37 | | - <!-- these constants will be overwritten afterwards --> |
38 | | - </PropertyGroup> |
39 | | - |
40 | | - <!-- OS and Platform constants --> |
41 | | - <PropertyGroup> |
| 34 | + <DefineConstants>WINDOWS;LINUX;DARWIN;X86;X64</DefineConstants> |
42 | 35 | <DefineConstants>UNIVERSAL</DefineConstants> |
| 36 | + </PropertyGroup> |
43 | 37 |
|
| 38 | + <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'"> |
44 | 39 | <!-- Windows (64 bit) --> |
45 | | - <DefineConstants Condition="'$(RuntimeIdentifier)' == 'win-x64'"> |
46 | | - WINDOWS;X86_64 |
47 | | - </DefineConstants> |
48 | | - <ApplicationIcon Condition="'$(RuntimeIdentifier)' == 'win-x64'"> |
49 | | - Assets\AppIcon.ico |
50 | | - </ApplicationIcon> |
51 | | - |
| 40 | + <DefineConstants>WINDOWS;X64</DefineConstants> |
| 41 | + <ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon> |
| 42 | + </PropertyGroup> |
| 43 | + |
| 44 | + <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x86'"> |
52 | 45 | <!-- Windows (32 bit) --> |
53 | 46 | <!-- It ain't like this one will be supported for much longer but whatever... --> |
54 | | - <DefineConstants Condition="'$(RuntimeIdentifier)' == 'win-x86'"> |
55 | | - WINDOWS;X86 |
56 | | - </DefineConstants> |
57 | | - <ApplicationIcon Condition="'$(RuntimeIdentifier)' == 'win-x86'"> |
58 | | - Assets\AppIcon.ico |
59 | | - </ApplicationIcon> |
| 47 | + <DefineConstants>DARWIN;X86</DefineConstants> |
| 48 | + <ApplicationIcon>Assets\AppIcon.ico</ApplicationIcon> |
| 49 | + </PropertyGroup> |
60 | 50 |
|
| 51 | + <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'"> |
61 | 52 | <!-- Linux --> |
62 | | - <DefineConstants Condition="'$(RuntimeIdentifier)' == 'linux-x64'"> |
63 | | - LINUX;X86_64 |
64 | | - </DefineConstants> |
65 | | - |
| 53 | + <DefineConstants>LINUX;X64</DefineConstants> |
| 54 | + </PropertyGroup> |
| 55 | + |
| 56 | + <PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64'"> |
66 | 57 | <!-- MacOS (64 bit) --> |
67 | | - <DefineConstants Condition="'$(RuntimeIdentifier)' == 'osx-x64'"> |
68 | | - DARWIN;X86_64 |
69 | | - </DefineConstants> |
| 58 | + <DefineConstants>DARWIN;X64</DefineConstants> |
70 | 59 | </PropertyGroup> |
71 | 60 |
|
72 | 61 | <!-- Release Mode --> |
|
112 | 101 | <!-- My stuff --> |
113 | 102 | <ItemGroup> |
114 | 103 | <AvaloniaResource Include="Assets\**" /> |
115 | | - |
116 | | - <!-- Asset Folder --> |
117 | | - <None Include="Assets\**" Pack="true" CopyToOutputDirectory="PreserveNewest" /> |
118 | 104 | </ItemGroup> |
119 | 105 | </Project> |
0 commit comments