all groups > visual studio .net general > june 2006 >
You're in the

visual studio .net general

group:

.NET ignores my cpp file. Why?


.NET ignores my cpp file. Why? Igor Kravtchenko
6/29/2006 4:33:20 PM
visual studio .net general:
Hi!

I'm currently facing a pretty blocker problem and I wondered
whether this is know issue of Visual .NET.

I have two projects.

Project A (.EXE) with file:
dumb.cpp

Project B (Static Library) with file:
dumb.cpp

Project A depends of Project B.

If I launch the build pressing F7 (or Ctrl+Alt+B no matter),
"dumb.cpp" in Project A is ignored (!) resulting of course in a link error.
Now, launching the build manually with mouse click: "RMB+Project Only+Rebuild Only A"
works normally as expected.

If I rename "dumb.cpp" in project A or B with something else ("dumb2.cpp"), it works.
It seems .NET ignores the compilation of one of "dumb.cpp".

This going me totally crazy!

Any help or idea would be greatly appreciated,

Re: .NET ignores my cpp file. Why? Igor Kravtchenko
6/29/2006 7:17:31 PM

Got it!

It was because the two projects output was in the same path
resulting in temporary files name clash.

Doh!

Igor.



[quoted text, click to view]
Re: .NET ignores my cpp file. Why? Gerry Hickman
6/29/2006 11:26:45 PM
Hi Igor,

Is this because you set all your options manually (or imported them)?

As I understand it, if you create two cpp projects with default settings
in the same solution, they'll have different output paths by default, is
that right?

BTW, can you tell me if any of the "serious bugs" were ever fixed in ATL
with attributed programming and with regular expressions?

[quoted text, click to view]


--
AddThis Social Bookmark Button