]> granicus.if.org Git - icinga2/commitdiff
Drop .NET 2.0/3.0/3.5 as supported .NET platform
authorMichael Insel <michael@insel.email>
Wed, 24 Apr 2019 18:05:16 +0000 (20:05 +0200)
committerMichael Insel <michael@insel.email>
Thu, 25 Apr 2019 17:01:17 +0000 (19:01 +0200)
This drops .NET 2.0, 3.0 and 3.5 as as supported .NET runtime platform.

The maximum version can only be v4.0, which targets currently all .NET
4.x releases. Therefor I added the sku flag to enforce .NET 4.6 as
minimum runtime platform. Since .NET 4.x is backwards compatible we
should be safe to only set the minimum version/sku here (i.e. we should
be able to run the application on a system with .NET 4.7)

refs #7090

agent/windows-setup-agent/App.config

index 49c7a61c6c659d7844c6f938dd5390fc1b8076a7..5669c3558540bd1e7ad12c72cff43c5d7ca07895 100644 (file)
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <configuration>
-    <startup>
-       <supportedRuntime version="v2.0.50727" />
-        <supportedRuntime version="v4.0" />
-    </startup>
+  <startup>
+    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
+  </startup>
 </configuration>
\ No newline at end of file