c# - No static Main method and bin/debug .exe not found -
im programming in c# visual studio 2013 community i'm farely new @ using ide, c# , programming in objects.
so have solution have 2 proyects, 1 called "console" , other called "entities".
console have program.cs , there sits main entry point (static void main). there i'm instantiating class called "product" inside entities.
when build program ide informing me 2 problems:
error 1 program 'c:\<>\<>\<>\c sharp\tareas y practicas\consola\entidades\obj\debug\entidades.exe' does not contain static 'main' method suitable entry point
the other error this: error 2 metadata file 'c:\<>\<>\<>\c sharp\tareas y practicas\consola\entidades\bin\debug\entidades.exe' could not found
if go 'console' > properties > build output path bin\debug\
in debug tab see 'start action' > 'start project' , 'enable debuggers' > 'enable visual studio hosting process'
same goes 'entities' proyect.
i created reference entities console , use namespace on console.
does knows why can't run program?
nevermind saw error. future reference have go class libraries in case entities, right click, go properties , in application tab go output type , change class library. –
Comments
Post a Comment