Method 1: Set the .net framework version when building the website
Method 2: Set the .net framework version for the added application
Method 3: Change IIS default .net framework version
Method 4: Change the IIS application pool .net framework framework version