I have a project that consist of 10 forms. When I compile this project I get this compile error.

1>Form6.obj : error LNK2011: precompiled object not linked in; image may not run
1>LINK : fatal error LNK1104: cannot open file '.\Debug\Form6.obj'

In the debugfolder I can find these anyway but not in the "ClassViewer".
Form1.Form6.resources
Form6.obj

What do I need to do to not get this compileerror ?

How did you add forms to the project?

Under the Project Menu, I have choosed: "Add Class" and here I choose "Windows Form".

When I compile my project, I have this error only for this form.
I dont know how to solve this problem.

1>Form6.obj : error LNK2011: precompiled object not linked in; image may not run


How did you add forms to the project?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.