Why aren't new source files automatically included?

Why aren't new source files automatically included?

I noticed that when I am working in a NEW project, and I compile a NEW source file, the Visual Studio does not recognize it.

I have to specifically say "move into" and then give the project name before it gets included as a new file.

This is just a minor annoyance, but this was not required before.

 

Why do they keep making it harder to use?

3 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
jimdempseyatthecove的头像

The SOP for adding a new file to a project is to use the VS solution explorer, open the project, right-click on Source Files, select Add New.

The SOP for adding an existing file, that is not currently in a project, is to use the VS solution explorer, open the project, right-click on Source Files, select Add Existing. Note, the existig file can be anywhere reachable by the computer (it need not be in the project folder).

You can also add as existing file a .obj or .lib

Jim Dempsey

www.quickthreadprogramming.com
Steve Lionel (Intel)的头像

It's been required since VS2002 - a file has to be in a project in order to compile.

Steve

登陆并发表评论。