Skip to content

Commit f92ba01

Browse files
committed
Fixed icon. Added manifest and publish profiles.
1 parent 4342a2d commit f92ba01

4 files changed

Lines changed: 87 additions & 4 deletions

File tree

src/Diff.Net/Diff.Net.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@
44
<TargetFrameworks>netcoreapp3.1;net45</TargetFrameworks>
55
<OutputType>WinExe</OutputType>
66
<UseWindowsForms>true</UseWindowsForms>
7+
<ApplicationIcon>Images\DiffDotNet.ico</ApplicationIcon>
8+
<ApplicationManifest>app.manifest</ApplicationManifest>
79
</PropertyGroup>
810

9-
<ItemGroup>
10-
<None Include="..\..\.editorconfig" Link=".editorconfig" />
11-
</ItemGroup>
12-
1311
<ItemGroup>
1412
<PackageReference Include="Menees.Diffs.Windows.Forms" Version="4.9.3" />
1513
</ItemGroup>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- https://go.microsoft.com/fwlink/?LinkID=208121 -->
3+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4+
<PropertyGroup>
5+
<PublishProtocol>FileSystem</PublishProtocol>
6+
<Configuration>Release</Configuration>
7+
<Platform>Any CPU</Platform>
8+
<TargetFramework>netcoreapp3.1</TargetFramework>
9+
<PublishDir>..\..\artifacts\Core</PublishDir>
10+
<SelfContained>false</SelfContained>
11+
</PropertyGroup>
12+
</Project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- https://go.microsoft.com/fwlink/?LinkID=208121 -->
3+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4+
<PropertyGroup>
5+
<PublishProtocol>FileSystem</PublishProtocol>
6+
<Configuration>Release</Configuration>
7+
<Platform>Any CPU</Platform>
8+
<TargetFramework>net45</TargetFramework>
9+
<PublishDir>..\..\artifacts\Framework</PublishDir>
10+
</PropertyGroup>
11+
</Project>

src/Diff.Net/app.manifest

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Use a manifest so we'll always get the newest common controls library.
3+
See the "Application Manifests" article for more info: http://msdn.microsoft.com/en-us/library/aa374191.aspx -->
4+
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<assemblyIdentity name="Diff.Net" version="4.0.0.0" />
6+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
7+
<security>
8+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
9+
<!-- UAC Manifest Options
10+
If you want to change the Windows User Account Control level replace the
11+
requestedExecutionLevel node with one of the following.
12+
13+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
14+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
15+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
16+
17+
Specifying requestedExecutionLevel node will disable file and registry virtualization.
18+
If you want to utilize File and Registry Virtualization for backward
19+
compatibility then delete the requestedExecutionLevel node.
20+
-->
21+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
22+
</requestedPrivileges>
23+
</security>
24+
</trustInfo>
25+
26+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
27+
<application>
28+
<!-- A list of all Windows versions that this application is designed to work with.
29+
Windows will automatically select the most compatible environment.-->
30+
31+
<!-- Windows Vista -->
32+
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"></supportedOS>
33+
34+
<!-- Windows 7 -->
35+
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
36+
37+
<!-- Windows 8 -->
38+
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"></supportedOS>
39+
40+
<!-- Windows 8.1 -->
41+
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
42+
43+
<!-- Windows 10 -->
44+
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
45+
</application>
46+
</compatibility>
47+
48+
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
49+
<dependency>
50+
<dependentAssembly>
51+
<assemblyIdentity
52+
type="win32"
53+
name="Microsoft.Windows.Common-Controls"
54+
version="6.0.0.0"
55+
processorArchitecture="*"
56+
publicKeyToken="6595b64144ccf1df"
57+
language="*"
58+
/>
59+
</dependentAssembly>
60+
</dependency>
61+
62+
</asmv1:assembly>

0 commit comments

Comments
 (0)