Why is this?....The thread '<No Name>' (0xd88) has exited with code 0 (0x0).
-
When I run my Silverlight application, there was a message in Output Window: "The thread '<No Name>' (0xd88) has exited with code 0 (0x0)." Then, my application cannot run, and Why?
-
When I run my Silverlight application, there was a message in Output Window: "The thread '<No Name>' (0xd88) has exited with code 0 (0x0)." Then, my application cannot run, and Why?
-
When I run my Silverlight application, there was a message in Output Window: "The thread '<No Name>' (0xd88) has exited with code 0 (0x0)." Then, my application cannot run, and Why?
If you run any .NET application you will see this message at the end of execution. It is a standard message indicating that the thread ended, that there was no exception, and that the return code was 0. So you need to look at anywhere in your code where you are ending the thread or attempting to execute and instance of an object but not keeping a reference to that object. Try putting a breakpoint in the first line of your application and see what happens when you walk through the code. If your code debugging just 'disappears' with the application ending, then the problem is the way the Sharepoint app is being loaded at the higher level.
-
When I run my Silverlight application, there was a message in Output Window: "The thread '<No Name>' (0xd88) has exited with code 0 (0x0)." Then, my application cannot run, and Why?
Hi forPower, You can check your Application_Startup event inside your App.xaml file whether you are setting your RootVisual or not. If you are not setting anything to RootVisual it might exit. Have a look into this: App.xaml File Structure[^] Also check whether you are exiting the application by mistake.
Regards - Kunal Chowdhury | Software Developer | Chennai | India | My Blog | My Tweets | Silverlight Tutorial