错误描述:

The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.

解决方法:

将webconfig中的targetFramework的运行环境的配置删除掉,重新运行就能看到问题点。然后再去解决

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2021-09-04
  • 2021-07-24
  • 2021-05-19
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案