本文介绍了在C#编辑器中构建文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在C#编辑器中构建文件时,这就是我得到的错误.我该怎么办?

when i build my file in C# editor this is the error i m getting.What should i do?

>Error	1	Program 'C:\Users\Akshara\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Program.Main(string[])'.  Compile with /main to specify the type that contains the entry point.	C:\Users\Akshara\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\Program.cs	10	21	ConsoleApplication1

>Error	2	Program 'C:\Users\Akshara\Documents\Visual Studio 2008\Projects\ConsoleApplication1\ConsoleApplication1\obj\Debug\ConsoleApplication1.exe' has more than one entry point defined: 'ConsoleApplication1.Program1.Main(string[])'.  Compile with /main to specify the type that contains the entry point.	c:\users\akshara\documents\visual studio 2008\projects\consoleapplication1\consoleapplication1\program1.cs	6	15	ConsoleApplication1

推荐答案



这篇关于在C#编辑器中构建文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 09:41