You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hub/dev-drive/index.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: mattwojo
5
5
ms.author: mattwoj
6
6
manager: jken
7
7
ms.topic: article
8
-
ms.date: 08/08/2023
8
+
ms.date: 08/14/2023
9
9
---
10
10
11
11
# Set up a Dev Drive on Windows 11 (Public Preview)
@@ -285,6 +285,14 @@ There are a few scenarios in which we do not recommend using a Dev Drive. These
285
285
- The C: drive on your machine cannot be designated as a Dev Drive.
286
286
- The purpose of a Dev Drive is to host files for building and debugging software projects designated to store repositories, package caches, working directories, and temp folders. We do not recommend installing applications on a Dev Drive.
287
287
288
+
## How to delete a Dev Drive
289
+
290
+
You can delete a Dev Drive in the Windows 11 System Settings: `System` > `Storage` > `Disks & volumes`.
291
+
292
+
Open Windows **Settings** menu, then choose **Storage**, then **Advanced Storage Settings**, then **Disks & volumes**, where you will find a list of the storage volumes on your device. Select **Properties** next to the Dev Drive storage volume that you want to delete. In the drive's properties, you will find the option to **Delete** under the **Format** label.
293
+
294
+

295
+
288
296
## Dev Drive FAQs
289
297
290
298
Some frequently asked questions about Dev Drive, include:
@@ -313,7 +321,7 @@ No. If you have the space, you can create as many Dev Drives as you would like.
313
321
Once you have a Dev Drive created, Visual Studio will automatically recognize it when you're creating a new project and pick that filepath by default. To optimize performance when using Visual Studio, we recommend moving any project code, [package caches](#storing-package-cache-on-dev-drive), and `Copy on write` MS Build tasks to the Dev Drive that may have previously been saved elsewhere. (See [How to change the build output directory](/visualstudio/ide/how-to-change-the-build-output-directory) in the Visual Studio docs.) We also recommend that you consider redirecting `%TEMP%` and `%TMP%` envvars to Dev Drive. Many programs use these, so beware of potential side effects. We also recommend using [performance mode for Microsoft Defender](#what-is-microsoft-defender-performance-mode) for asychronous performance gains using Dev Drive. Turning Microsoft Defender completely off may result in the most maximum performance gains, but this may increase security risks and is a setting controlled by the system admin.
314
322
315
323
For more information, see the blog post: [Dev Drive for Performance Improvements in Visual Studio and Dev Boxes](https://aka.ms/vsdevdrive).
316
-
324
+
317
325
### Does Dev Drive work with WSL project files?
318
326
319
327
You can access Dev Drive project files, which run on the Windows file system, from a Linux distribution running via WSL. However, WSL runs in a VHD and for the best performance files should be stored on the Linux file system. WSL is out of the scope of Windows file system so you should not expect to see any performance improvement when accessing project files in Dev Drive from a Linux distribution running via WSL.
0 commit comments