简体   繁体   中英

The filename or extension is too long

I try to compile project using PowerShell command. Problem is that there is a lot of arguments (75000 characters)

When I try to run compilation I got error:

This command cannot be run due to the error: The filename or extension is too long.

I have also changed value in registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled but it didn't helped. I am using Windows 10 Pro.

Do you know where can be problem?

Just in case this grabs anyone else. I received this error but the real problem was my StartInfo.Arguments value was too big. It had nothing to do with the filename I was specifying.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM