Skip to content

Commit 6cc22c6

Browse files
Added SupportedOSPlatform attribute to assembly for .NET 5 and newer
1 parent ca846a1 commit 6cc22c6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

InputHelper/AssemblyInfo.vb

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
Imports System.Reflection
1+
Imports System.Reflection
22
Imports System.Resources
33

4+
#If NET5_0_OR_GREATER Then
5+
Imports System.Runtime.Versioning
6+
#End If
7+
48
<Assembly: AssemblyTitle("InputHelper")>
59
<Assembly: AssemblyDescription("A .NET friendly library for simulating mouse and keyboard input.")>
610
<Assembly: AssemblyProduct("InputHelper")>
711
<Assembly: AssemblyCopyright("Copyright © Vincent Bengtsson 2016-2023")>
812
<Assembly: AssemblyVersion("2.1.0.1")>
9-
<Assembly: NeutralResourcesLanguage("en")>
13+
<Assembly: NeutralResourcesLanguage("en")>
14+
15+
#If NET5_0_OR_GREATER Then
16+
<Assembly: SupportedOSPlatform("windows")>
17+
#End If

0 commit comments

Comments
 (0)