I have a Visual Studio solution setup with the Umbraco website as one of the projects in it.
Ever once an a while when I compile the solution I get a compile error:
Error2startIndex cannot be larger than length of string. Parameter name: startIndex
There's no info about which file fails or where it fails. An it doesn't fail on every build - just once and a while. If I restart Visual Studio then everything runs great.
Have anyone else experienced this problem - and maybe have a solution?
Also - it takes a while to compile the solution with the Umbraco website in it - is there a way to speed this up a bit?
Getting startIndex build error in visual studio
I have a Visual Studio solution setup with the Umbraco website as one of the projects in it.
Ever once an a while when I compile the solution I get a compile error:
Error 2 startIndex cannot be larger than length of string. Parameter name: startIndex
Nearly a year late but I've just had this issue and worked it out
In your Umbraco project in Visual Studio, open the Property Pages -> Build -> Before running startup page: Set to 'Build page'. not 'Build website'
Voila.
is working on a reply...