-1

while building the the c# code from command line using devenv, I'm getting this error: - The operation could not be completed. The filename or extension is too long. The system can not find the file specified

The batch file command which i have used is :

devenv /build Release  E:\MES_TEST_tool\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MT20160404/trunk/POC/C#WorkSpace/LicenseManagementSystem/LicenseManagementSystem.sln >E:\MES_TEST_tool\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MEST_SCA_TestTool/logs/buildLogs.txt

Any help would be appreciated.. Thanks.

Ravi Kumar
  • 39
  • 5

1 Answers1

0

Windows has a maximum length of characters per filename:

Maximum filename length in NTFS (Windows XP and Windows Vista)?

Try moving your project/code and renaming it according

Community
  • 1
  • 1
bz123
  • 141
  • 1
  • 10
  • Moving the complete project/code is not that easy as many changes will be needed. Is there any other possible way to build the code... I tried with "\\?\" before the path ... But not working for me.. – Ravi Kumar Nov 18 '16 at 11:55