Skip to content

Commit c576702

Browse files
authored
Dev Drive and Arm feedback updates (#3592)
* Arm feedback * Nuget cache update * remove anchor link
1 parent dcbab56 commit c576702

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

hub/dev-drive/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,16 @@ These tools should be stored on your main C:\ drive.
125125

126126
A package cache is the global folder location used by applications to store files for installed software. These source files are needed when you want to update, uninstall, or repair the installed software. Visual Studio is one such application that stores a large portion of its data in the Package Cache.
127127

128-
- **NuGet cache**: The NuGet cache is used by dotnet, MSBuild, and Visual Studio. Create a NuGet root directory in your dev drive, e.g. `D:\packages\nuget`, then set a global environment variable `NUGET_PACKAGES` to that path, e.g. `setx /M NUGET_PACKAGES D:\packages\nuget`. If you have installed Visual Studio on your machine, move the contents of `%USERPROFILE%\.nuget\packages` to this directory. Learn more in the [NuGet docs: Managing the global packages, cache, and temp folders](/nuget/consume-packages/managing-the-global-packages-and-cache-folders).
129-
130128
- **Npm cache (NodeJS)**: Create an npm cache directory in your Dev Drive, e.g. `D:\packages\npm`, then set a global environment variable `npm_config_cache` to that path, e.g. `setx /M npm_config_cache D:\packages\npm`. If you have already installed NodeJS on your machine, move the contents of `%AppData%\npm-cache` to this directory. Learn more in the npm docs: [npm-cache](https://docs.npmjs.com/cli/v6/commands/npm-cache) and [npm config: cache](https://docs.npmjs.com/cli/v9/using-npm/config#cache).
131129

130+
- **NuGet global-packages folder**: The NuGet global-packages folder is used by dotnet, MSBuild, and Visual Studio. Create a user specific NuGet directory in your CopyOnWrite (CoW) filesystem. For example: `D:\<username>\.nuget\packages`. Use one of the following ways to change the global-packages folder from the default location to your newly created folder (to manage the globally installed packages):
131+
132+
- Set a global environment variable `NUGET_PACKAGES` to that path. For example: `setx /M NUGET_PACKAGES D:\<username>\.nuget\packages`.
133+
- Set `globalPackagesFolder`, when using `PackageReference`, or `repositoryPath`, when using `packages.config`, to that path in configuration settings.
134+
- Set the `RestorePackagesPath` MSBuild property (MSBuild only) to that path.
135+
136+
To verify the global-packages folder, run the dotnet nuget locals command: `dotnet nuget locals global-packages --list`. The retore will install and download packages into the new path. The default NuGet global-packages folder can be deleted. Learn more in the [NuGet docs: Managing the global packages, cache, and temp folders](/nuget/consume-packages/managing-the-global-packages-and-cache-folders).
137+
132138
- **vcpkg cache**: Create a vcpkg cache directory in your Dev Drive, e.g. `D:\packages\vcpkg`, then set a global environment variable `VCPKG_DEFAULT_BINARY_CACHE` to that path, e.g. `setx /M VCPKG_DEFAULT_BINARY_CACHE D:\packages\vcpkg`. If you have already installed packages, move the contents of `%LOCALAPPDATA%\vcpkg\archives` or `%APPDATA%\vcpkg\archives` to this directory. Learn more in the vcpkg docs: [vcpkg Binary Caching](/vcpkg/users/binarycaching).
133139

134140
- **Pip cache (Python)**: Create a pip cache directory in your Dev Drive, e.g. `D:\packages\pip`, then set a global environment variable `PIP_CACHE_DIR` to that path, e.g. `setx /M PIP_CACHE_DIR D:\packages\pip`. If you have already restored pip packages and Wheels on your machine, move the contents of `%LocalAppData%\pip\Cache` to this directory. Learn more in the pip docs: [pip caching](https://pip.pypa.io/en/stable/topics/caching/) and see StackOverflow to [Change directory of pip cache on Linux?](https://stackoverflow.com/questions/64180511/pip-change-directory-of-pip-cache-on-linux).

landing/arm-docs/add-arm-support.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Common issues that may interfere with or block you from adding an Arm64 version
133133
- [A dependency not compiled for ARM64 is blocking you from a successful build.](#a-dependency-not-compiled-for-arm64-is-blocking-you-from-a-successful-build)
134134
- [Code is written for a specific architecture other than Arm64.](#code-is-written-for-a-specific-architecture-other-than-arm64)
135135
- [Your app relies on a kernel driver.](#your-app-relies-on-a-kernel-driver)
136-
- [You're stuck and need assistance.](#need-assistance-leverage-our-app-assure-service)
136+
<!-- - [You're stuck and need assistance.](#need-assistance-leverage-our-app-assure-service) -->
137137

138138
### A dependency not compiled for ARM64 is blocking you from a successful build
139139

@@ -161,7 +161,7 @@ If you can’t build due to a dependency, whether internal, from a 3rd party, or
161161

162162
Additionally, [drivers on Windows](/windows-hardware/drivers/gettingstarted/) are required to be built as Arm64 and can not be emulated. For apps that rely on software drivers that have not yet been updated to support Arm64 processors, see [Building Arm64 Drivers with the WDK](/windows-hardware/drivers/develop/building-arm64-drivers).
163163

164-
### When to rebuild as Arm64EC
164+
<!-- ### When to rebuild as Arm64EC
165165
166166
When is [Arm64EC](arm64ec.md) a good fit for updating your app?
167167
@@ -181,7 +181,7 @@ When is [Arm64EC](arm64ec.md) a good fit for updating your app?
181181
182182
### Need assistance? Leverage our App Assure service
183183
184-
[Learn more about App Assure compatibility assistance](https://www.microsoft.com/fasttrack/microsoft-365/app-assure) to help with porting your Windows app or driver to Arm64. To register and connect with App Assure, visit [aka.ms/AppAssureRequest](https://aka.ms/AppAssureRequest) or send an email to [[email protected]](mailto:[email protected]) to submit your request for Windows on Arm compatibility support.
184+
[Learn more about App Assure compatibility assistance](https://www.microsoft.com/fasttrack/microsoft-365/app-assure) to help with porting your Windows app or driver to Arm64. To register and connect with App Assure, visit [aka.ms/AppAssureRequest](https://aka.ms/AppAssureRequest) or send an email to [[email protected]](mailto:[email protected]) to submit your request for Windows on Arm compatibility support. -->
185185

186186
## Toolchain for Windows on Arm
187187

0 commit comments

Comments
 (0)