TomFlahive

Overly long file names in .Net ArcGIS Runtime 100.0 Causing Problems in Visual Studio

Discussion created by TomFlahive on May 17, 2017
Latest reply on May 18, 2017 by mnielsen-esristaff

I'm finding that there are some really long file names in the ArcGIS Runtime for .Net 100.0 release that are causing me some issues.  They are files appearing in the resources\shaders folder.

 

For one thing, I am getting warnings in Visual Studio about the length of these files:

 

Second, and more significant, I am using Microsoft's ClickOnce functionality.  When I tried to deploy my app using ClickOnce publishing, I was getting errors telling me the overall length of some file paths exceeded 250 characters.  This prevented me from publishing.  I was able to get around that problem by making my visual studio project name very short and saving the source files to a directory with a short file path.  That seemed to reduce the longest file path to below the minimum, as I stopped getting the errors.  But essentially it was the files in that shaders folder that were generating the errors.  It would be helpful if these file names could be shortened in future releases.

Outcomes