C ++ - Visual Studio 2010 LNK1104 linker error: "cannot open Debug \ AssemblyInfo.obj file" [.obj files are not created at compile time]

After much searching and hitting my head, I ask this question.

I launched a new Windows Forms application in Visual Studio 2010. I gave it a name and saved it in place. Nothing added or edited. There are no changes in the project properties either.

Here is a copy of the Solution Explorer.

I create an empty form and get the following error.

1>------ Build started: Project: TestProject, Configuration: Debug Win32 ------
1>Build started 27/11/2013 1:35:27 PM.
1>InitializeBuildStatus:
1>  Touching "Debug\TestProject.unsuccessfulbuild".
1>GenerateTargetFrameworkMonikerAttribute:
1>Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
1>CoreResGen:
1>  Processing resource file "Form1.resX" into "Debug\TestProject.Form1.resources".
1>LINK : fatal error LNK1104: cannot open file 'Debug\AssemblyInfo.obj'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.41
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

, (6 !) , MSDN. MSVS 10, , .obj , AssemblyInfo.cpp. , .obj, .

: ! , . , :

  • Visual ++ Windows Forms ( !)
  • .

.

  • , .obj.
  • .

. Windows. .obj ( , .obj). .log.

, , - , . LNK1104 LNK1181.

- , . - . - , ?

+4
3

.

1>LINK : fatal error LNK1104: cannot open file 'Debug\AssemblyInfo.obj'
1>
1>Build FAILED.

, Debug\AssemblyInfo.obj . ​​ VS.

, VS. , .

, . !

+1

, - " " GenerateTargetFrameworkMonikerAttribute, ". , ( .obj).

, - ( , , , ).

, .

EDIT:

lib, . .

→ → .

C:\Program Files\<lib>"C:\Program Files\<lib>"

+1

, , /P . , , , .

cl .obj.

+1
source

All Articles