Reputation: 2213
If I compile an application using .NET Framework 4.7.1, will this application run on a computer where only .NET Framework 4.7.0 is installed? Or are there any issues to be expected?
Upvotes: 2
Views: 704
Reputation: 2213
By default, an application compiled against .NET 4.7.1 will not run on a computer with only .NET 4.7.0 installed. Reason for this is the app.config which contains an explicit set sku:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
</configuration>
If this app.config is edited or deleted, the .NET 4.7.1 compiled application will run on a system with only .NET 4.7.0 (or even 4.5) installed, but there will be runtime errors if something is not as expected.
Upvotes: 3