Not able to export or import files when debugging through Visual Studio

Divya Balakrishnan 1 Reputation point
2021-06-14T03:28:02.937+00:00

Hi,

I have a project built in WPF ( Visual Studio 2019). I have functionalities to save and open files from the file system. However, I noticed that none of the functionalities work where interaction with the file system happens. This happens mainly when I try to run from Visual Studio.
On the other hand, if I just double-click my exe from the output path, I don't face this issue.

Can anyone suggest is it because of any Visual Studio account permission. How to solve it?

Thanks,
Divya

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,604 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,239 questions
{count} votes