Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28543 Discussions

Why aren't new source files automatically included?

WSinc
New Contributor I
160 Views

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?

0 Kudos
2 Replies
jimdempseyatthecove
Honored Contributor III
160 Views

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

0 Kudos
Steven_L_Intel1
Employee
160 Views

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

0 Kudos
Reply