Error while compiling program

Asked

Viewed 144 times

-1

I have these mistakes, being that it’s working!

I added the reference, it’s the right BLL folder on the way. I’ve tried and searched for everything but I don’t understand what I have to do. I’ve recreated the project 3 times and I can’t get that error to compile.

inserir a descrição da imagem aqui

And now you’re also giving this:

inserir a descrição da imagem aqui

What could I do to fix this?

2 answers

4


the first error refers to the version of the framework used, is warning that npgsql requires . net 4.5.1 and you are using 4.5. in your solution, go to properties and change the framework used.

the second error, refers that you can’t start the program by a DLL, you must set an application as initial project. Right-click on GUI, then 'Set as startup project'

  • 1

    It worked. Thank you so much for the help. I hadn’t noticed that, lack of attention on my part. But thanks anyway.

0

I can’t quite understand your question, the image you posted with the bug, not visible from to send another picture?

But first test this: go to "soluntion explore" with the cursor on top of the project name click on the mouse sub-menu(Mose) go to property and select the option "Set as sartup Project " if it does not work do the following, where this Debung replaces with Releasse.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.