Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4034448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:58:24+00:00 2026-05-20T11:58:24+00:00

Have you ever tried working with a XAML file which contains thousand tons of

  • 0

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.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:58:25+00:00Added an answer on May 20, 2026 at 11:58 am

    I might suggest you take the pro-active approach and see if you can’t segment it appropriately.

    Define separate ResourceDictionary files to encapsulate reused resources and suchlike; similarly, do this for other sections of the file which can be stripped out and simply referenced.

    This way you can have a file containing your Brushes, a file per Style and/or ControlTemplate, and so on and so forth.

    EDIT:

    As per your update stating quite definitively that you don’t want to actually change the file, then I can only reply to the question of ‘How to work with such a large file?‘ with these words:

    With great difficulty, pangs of irritated senses and a lot of wasted time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have you ever tried learning a language while on a project? I have, and
Have anybody ever tried to create thumbnails/previews of MS Office files? I do not
Have you ever obfuscated your code before? Are there ever legitimate reasons to do
Have you ever created or encountered a self modifying code in Java? If yes,
Have you ever added unit tests, after the fact, to legacy code? How complicated
I am working on a TcpClient Asynchronous requesting WPF project. In which I have
Hello Sharepoint developers ! Have you ever tried to do a join between lists
This is my first pyramid application and I have tried what ever solution I
I have working code below for collision of two circles, but now I have
I have been working now for few days on a small C program which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.