- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear users,
I would like to specify a folder where VisualStudio writes some output. I have a main folder that contains two subfolders, say
- Console1, which stores the VS project (files with extensions vfproj and sln)
- output, which is supposed to store some txt files generated by the fortran program.
By deafult, VS writes all outputs in the folder where the vfproj file is located, i.e. Console1 in my case. Is it possible to customize this and make VS save the outputs in a specific folder different from Console1? I had a look on "Properties>Fortran>Output Files" but it's not clear what to do.
I'm using Visual Studio 2019 on Windows 10
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are conflating Visual Studio, the compiler, and your application.
When a program is run from Visual Studio, the default folder (where files get accessed if you don't qualify the path) is the folder with the project file (.vfproj). You can change this with the project property Debugging > Working Directory.
The property under Fortran > Output Files refers to files created by the compilation process.
Visual Studio itself isn't writing any files, other than the project and solution files.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are conflating Visual Studio, the compiler, and your application.
When a program is run from Visual Studio, the default folder (where files get accessed if you don't qualify the path) is the folder with the project file (.vfproj). You can change this with the project property Debugging > Working Directory.
The property under Fortran > Output Files refers to files created by the compilation process.
Visual Studio itself isn't writing any files, other than the project and solution files.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page