Have you ever tried working with a XAML file which contains thousand tons of line of code. (More specifically Drawing Brushes for whole application in my case). This file is of 20+ MB size. Whenever i try to add/edit anything in this, Visual Studio 2008 crashes (7/10 times).
Then if i'm able to do my changes and try to save change then VS crashes (most of the times).
It is so difficult to work with such a big file in VS (same happens in Blend too but with few occurences)
I know having such a big file doesn't come under Good Coding standards. But what should we do if somehow we come in such scenario???
The only thing I finally found was KXAML : which proved quite good. Any other suggestions ??
UPDATED I dont want to change structure of that file or go for any other approach. I'm curious to know how to work / with such file. (other editors may be)
ADD seeing the answers - I would say i'm not stuck at this point i want to know if someone got stuck then is it better way to edit such thing ?? (separating this file would be the v.first thought to avoid this problem not solution)
ADD1 Alright !! My bad, i got too optimistic regarding this thought. Considering canvass, I would ask for the best practice to split this huge file.