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

  • Home
  • SEARCH
  • 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 7707823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T00:27:26+00:00 2026-06-01T00:27:26+00:00

I’ve been working on an application and I was trying to follow this site

  • 0

I’ve been working on an application and I was trying to follow this site to add a color picker to one of my pages but when I finally went to test a bit of what I had done so far, the app starts and exits with no information what-so-ever. Output:

'UI Task' (Managed): Loaded 'mscorlib.dll'
'UI Task' (Managed): Loaded 'System.Windows.RuntimeHost.dll'
'UI Task' (Managed): Loaded 'System.dll'
'UI Task' (Managed): Loaded 'System.Windows.dll'
'UI Task' (Managed): Loaded 'System.Net.dll'
'UI Task' (Managed): Loaded 'System.Core.dll'
'UI Task' (Managed): Loaded 'System.Xml.dll'
'UI Task' (Managed): Loaded '\Applications\Install\171F7914-3BB8-44C4-A0CE-A6B9B30A0BF5\Install\LSV_NOGPS.dll', Symbols loaded.
'UI Task' (Managed): Loaded 'Microsoft.Phone.dll'
'UI Task' (Managed): Loaded 'Microsoft.Phone.Interop.dll'
The thread '<No Name>' (0xf01016e) has exited with code 0 (0x0).
The program '[14879802] UI Task: Managed' has exited with code 0 (0x0).

The output I get from other projects seem to have more libraries being loaded and from what I can tell it may be not loading ‘System.Device.dll’ properly (It’s the next one loaded in a normally running app).

I’ve seen a few very similar problems here:

WP7 App Crashes Immediately upon deploy

Windows Phone 7 – App doesn't start, no errors, just bails on load

Visual Studio 2008 would not debug

But none of the answers presented have helped me any. I haven’t changed the namespace at all and I checked the ‘startup’ object in my properties (its set to Name of my project.App).

I’ve tried debugging with breakpoints at the start of the constructors and stepping into the project but every time it exits without even getting to any of my code it seems.

I’ve also tried making a new project, copying only the xaml and cs files into it, adding the necessary references. Same result.

I just tried making a whole new solution, new project with the same name, copying the xaml and respective cs files again. Same result, even though I forgot to add the necessary references, it doesn’t even get far enough to realize there are references missing.

I’m not sure what to do other than to make a new project and go through my code, adding snippets until I hit the snag again.

I’m not new to programming but I’m pretty new to .net so go easy on me if I’m missing something obvious.

Please help! Thanks!

EDIT:

I managed to find the offending piece of code but I have no idea why it gives me this problem. I un-commented it from a working version and then I get the problem again. Its located in my App:Application cs file.

  public class ColorList {

        public ColorList() {
            this.Items = new List<ColorItem>()
             {
                 new ColorItem() {Text="orange", Color = Colors.Orange},
                 new ColorItem() {Text="red", Color = Colors.Red},
                 new ColorItem() {Text="blue", Color = Colors.Blue},
                 new ColorItem() {Text="magenta", Color = Colors.Magenta},
                 new ColorItem() {Text="purple", Color = Colors.Purple},
                 new ColorItem() {Text="green", Color = Colors.Green},
                 new ColorItem() {Text="cyan", Color = Colors.Cyan},                      
                 new ColorItem() {Text="brown", Color = Colors.Brown},
                 new ColorItem() {Text="yellow", Color = Colors.Yellow},
             };
        }

        public List<ColorItem> Items {
            get;
            set;
        }
    }

    public static ColorList theColorsList = new ColorList();

I got this code from the first link above, and I realized its a really weird way of describing the list so I just changed it to the following:

 public static List<ColorItem> ColorsList = new List<ColorItem>() {

                 new ColorItem() {Text="orange", Color = Colors.Orange},
                 new ColorItem() {Text="red", Color = Colors.Red},
                 new ColorItem() {Text="blue", Color = Colors.Blue},
                 new ColorItem() {Text="magenta", Color = Colors.Magenta},
                 new ColorItem() {Text="purple", Color = Colors.Purple},
                 new ColorItem() {Text="green", Color = Colors.Green},
                 new ColorItem() {Text="cyan", Color = Colors.Cyan},                      
                 new ColorItem() {Text="brown", Color = Colors.Brown},
                 new ColorItem() {Text="yellow", Color = Colors.Yellow}
               };

but I still get the same problem…

  • 1 1 Answer
  • 0 Views
  • 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-06-01T00:27:27+00:00Added an answer on June 1, 2026 at 12:27 am

    When you define a static field in the App.cs the field will be initialized before the constructor is called. If you have a problem in this initialization you don’t even come to the constructor of App. On the other hand VisualStudio should show you the exception if one would have been thrown.

    Maybe you could try to initialize ColorsList at another place, maybe the Window / UserControl that will use it and try to find out what goes wrong while initializing the list.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
This could be a duplicate question, but I have no idea what search terms
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has

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.