I have an error message in Visual Studio Windows.Forms. Can someone help me?

Hello everyone,

As I mentioned before, I have an error message in my program and I can't get rid of it.

I've already tried deleting the file mentioned in the path, but that didn't help. I just can't get any further. It would be great if someone could help me.

Here is the error message:

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
6 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
1 year ago

Open your csproj file in a text editor (Notepad/o.a.) and see if it is a Embedded resource gives that is listed twice ( obviously it is in your case Online_Apotheke.Login screen). If so, you can either remove it or give it another name (without extension).

Example:


  SomeNewName

In any case, a (close) Rebuild of the project advisable.

If this does not help, it is certainly the fastest solution to launch a new project and to drag the files you created (for classes and forms) into it.

Suiram1
1 year ago

Try the whole a. Delete folder helps more often.

If that doesn’t help, it would be helpful if you had more information like: What kind of project you have (WPF, WinForms, …) or what else would be sharing for files on the path.

Suiram1
1 year ago
Reply to  NeedHelp313

You created the project in Visual Studio. I mean, what template you took there.

Lamanini
1 year ago

Maybe two files have the same name? That could cause that.