10. April 2011 by Mads

I were just setting up some “tracking” on a Windows Phone 7 application, using PreEmptive Solutions Dotfuscator, when I got some odd problem. First I just setup all up as I use to and deployed to the WP7 emulator. Application started and shutdown right away. Hmm, I tried again and again, same thing happened. I then looked closer at the “Build Output” window in Dotfuscator and saw this at the bottom:

Warning: The strong named input assemblies (or assembly) {Assembly name and path here } were not resigned. You will need to sign these dotfuscated assemblies manually

I could figure out that the reason why I needed to resign it, were because dotfuscator have had a look on it – I therefore needed to figure out how to avoid it to do so.

It turns out that you can exclude assemblies inside dotfuscator, just go to the “Input” tab, expand your .xap file until you find the assembly that gives you problems, right click it and pick “Exclude assembly from Package”.

Just a little help if anybody else ends up with this problem Smile

- Enjoy!

31. January 2011 by Mads

Over the last few days I have been working on an online high score for the Windows Phone 7 game ‘plan bee’, which is done in XNA. (I guess this problem is also relevant for Silverlight applications). I had the service setup and all were good, data were flowing back and forth. To give the player a good experience when playing the game I of course started to test the game without internet connection, as this can happen on a mobile device like WP7 Smile

Then the game crashed right away and at first I just thought I forget to check for something and attached the debugger. The debugger showed me that an EndpointNotFound exception were thrown. I tried a lot of things and couldn’t figure out how I could avoid or catch this exception!

Angry developer

More...

15. December 2010 by Mads

I have had the Zune Software installed for a long time now and I’m pretty happy with it as a music player (used it before I got my Windows Phone 7). Sometime ago I saw some screenshots where I saw a little “Sign in” link in the top of the Zune Software, which I had never seen in my version of it.
I tried different things like reinstalling etc., but it didn’t work. Even though it were pretty annoying to me that I didn’t have that, I forgot about this little issue until today.

More...

3. October 2010 by Mads

Really, this doesn’t only apply to your designer, but to anybody other than the developers coding the game. Let me explain the problem we had in RambukGames and how we solved it.

Windows Phone 7 Games hub

More...

11. September 2010 by Mads

Yesterday I were working on a ASP.NET project and needed to add a new Web User Control. I right clicked the project and went to Add New Item. I looked for the Web User Control, but couldn’t find it. I looked again, I asked a co-working, I search for “web” and “user control” and nothing were found.

I then started googling for the problem and found a simple post that told me exactly how to fix this.

Close all your instances of Visual Studio.
Open Visual Studio Command Prompt.
image

Type in the following and hit Enter.
devenv /installvstemplates
Wait for this to complete.
When it’s done, open VS2010 again and you should now have all your control templates again.

Happy coding!