我如何解决它。请给我一些解决方案 [英] How do I fix it. Please give me some solution
问题描述
错误24如果要为.NET Framework 4.0或更高版本进行编译,则提供程序选项中compilerVersion属性的值必须为v4.0或更高版本。要为.NET Framework 3.5或更早版本编译此Web应用程序,请从< compilation>中删除'targetFramework'属性。 Web.config文件的元素。
我尝试过:
我曾经通过谷歌尝试了很多方法。但它不起作用,
所以请给我一些解决方案,
快点!!! !
Error 24 The value for the 'compilerVersion' attribute in the provider options must be 'v4.0' or later if you are compiling for version 4.0 or later of the .NET Framework. To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramework' attribute from the <compilation> element of the Web.config file.
What I have tried:
I had tried many method through google. But it doesn't work,
so please give me some solution,
hurry!!!!
推荐答案
好的,这就是你要做的:
为3.5版编译这个Web应用程序或者更早版本的.NET Framework,从< compilation>中删除'targetFramework'属性。 Web.config文件的元素。
OK, this is what you do:
To compile this Web application for version 3.5 or earlier of the .NET Framework, remove the 'targetFramework' attribute from the <compilation> element of the Web.config file.
这篇关于我如何解决它。请给我一些解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!