Build error in System.Double.cs, floating point constant range
I have a project in Visual Studio 2008 using the .NET 2.0 framework. When I build the project I get two build errors showing as red crosses, but the project still builds successfully. Even more strangely, the errors are in System.Double.cs. The error is "Floating-point constant is outside the range of type 'double'" and they point to the lines of code where the MinValue and MaxVa开发者_Go百科lue constants are initialised.
Any ideas? It's not a show-stopper since the project still builds, but odd nonetheless.
Thanks, Jon
Because you have SP1 installed, the IDE will report compilation errors for all open files, even files that are not in your project.
Close the Double.cs file, and the errors will disappear.
精彩评论