- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
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.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable