error CS0103 in ASP.NET

后端 未结 3 1324
野趣味
野趣味 2021-01-27 23:17

Hello when I compile a ASP.NET C# project using file Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe I am getting an error as \"ERROR CS0103: The name (forms name) cannot be

3条回答
  •  感情败类
    2021-01-27 23:40

    As seen in the MSDN

    An attempt was made to use a name that does not exist in the class, namespace, or scope. Check the spelling of the name and check your using statements and assembly references to make sure that the name you are trying to use is available. One common mistake is to declare a variable within a loop or a try block and then attempt to access it from an enclosing code block or another code block.

提交回复
热议问题