# Nsight 5.3, Visual Studio 2017, working directory

**URL:** <https://forums.developer.nvidia.com/t/nsight-5-3-visual-studio-2017-working-directory/51338>\
**Category:** Nsight Visual Studio Edition\
**Created:** [July 4, 2017, 4:30pm UTC](https://forums.developer.nvidia.com/t/nsight-5-3-visual-studio-2017-working-directory/51338 "2017-07-04T16:30:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nico3000](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nico3000/32/32178_2.png) [@nico3000](https://forums.developer.nvidia.com/u/nico3000)\
**Post date:** [July 4, 2017, 4:30pm UTC](https://forums.developer.nvidia.com/t/nsight-5-3-visual-studio-2017-working-directory/51338/1 "2017-07-04T16:30:00Z")

</div>

Hi,

when Nsight 5.3 is installed it seems to mess around with the working directory of my solutions. I have some custom dlls in my working directory. Whenever I debug my application with Nsight installed those dlls cannot be found anymore. This happens with both, the nsight graphics debugger and the local windows debugger (which should have nothing to do with nsight, right?). I checked all the projects properties twice and recompiled everything completely. As soon as I uninstall Nsight it works again.

Edit: It seems like Nsight ignores the working directory completely (also outside visual studio when running the app from a shortcut with a custom working dir). A workaround is to set the VS output directory to the same value as the working directory. Would be nice if that can be fixed.

---

<div class="post-metadata">

**Author:** ![mrivers](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mrivers](https://forums.developer.nvidia.com/u/mrivers)\
**Post date:** [July 5, 2017, 3:23pm UTC](https://forums.developer.nvidia.com/t/nsight-5-3-visual-studio-2017-working-directory/51338/2 "2017-07-05T15:23:30Z")

</div>

I have the same problem using VS 2015. Reinstalled it 3 times to no avail.

---

<div class="post-metadata">

**Author:** ![letitia](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@letitia](https://forums.developer.nvidia.com/u/letitia)\
**Post date:** [July 12, 2017, 3:47am UTC](https://forums.developer.nvidia.com/t/nsight-5-3-visual-studio-2017-working-directory/51338/3 "2017-07-12T03:47:40Z")

</div>

Hi nico3000,

Thanks for your feedback about Nsight problem, please provide more information for investigating the problem:

- Did the working directory in NVIDIA Nsight User Settings contain the dlls? If not, please open NVIDIA Nsight User Settings, set the working directory to contain the dlls.  
Please refer to the link: [http://docs.nvidia.com/nsight-visual-studio-edition/5.3/Nsight\_Visual\_Studio\_Edition\_User\_Guide.htm#Host\_Basics.htm#kanchor92](http://docs.nvidia.com/nsight-visual-studio-edition/5.3/Nsight_Visual_Studio_Edition_User_Guide.htm#Host_Basics.htm#kanchor92)
- If the problem isn’t solved yet, can we have your samples to repro the issue please?

Regards,  
Letitia
