0

I would like to know where the 'Projects Location' setting in Visual Studio 2019 is stored so I can read into a C# WPF app.

The setting I mean can be found manually as follows from the Visual Studio main menu:

Tools | Options | Projects and Solutions | Locations

It is the value in the 'Projects Location' text box that I am looking to get.

I don't know where this value would be stored to retrieve it.

halfer
  • 19,824
  • 17
  • 99
  • 186
Cleve
  • 1,273
  • 1
  • 13
  • 26
  • check out this https://stackoverflow.com/questions/938421/getting-the-applications-directory-from-a-wpf-application – as-if-i-code Nov 03 '20 at 05:42
  • I really wonder why you would need this; but its stored in %localappdata%\Microsoft\VisualStudio\16.0_\Settings\CurrentSettings.vssettings. Note that there might be several parallel installations of VS2019. – Klaus Gütter Nov 03 '20 at 05:52

0 Answers0