microsoftgraph / msgraph-cli-archived

The Microsoft Graph CLI repository has moved. This repository is now an archive.
https://github.com/microsoftgraph/msgraph-cli
Other
44 stars 9 forks source link

Long file name support in windows - registry setting #88

Closed MIchaelMainer closed 3 years ago

MIchaelMainer commented 3 years ago

Describe the bug Windows does not support long file paths. We create very long file paths with the extensions. When installing the CLI, we will want to make sure this is supported with the following registry setting.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem DWORD LongPathsEnabled = 1

There is a way to support this via the installer - Git for Windows has this option in the installer.

AB#8899

jobala commented 3 years ago

Hi Michael,

I made a build of the CLI with extensions that were failing to build in the CI/CD environment because of long filepaths and was able to install msgraph-cli with these extensions without having to edit the registry.

MIchaelMainer commented 3 years ago

Fixed and validated in https://github.com/microsoftgraph/msgraph-cli/pull/191