Archive for category Software

Windows Phone Emulator Is Doing A Complete OS Boot

I recently installed the Windows Phone 7 Development Tools on my Acer AspireOne netbook. Visual Studio works pretty well on this machine. But unfortunately when running my app for the first time the emulator started up and then just sat there with a message that said, “Windows Phone Emulator Is Doing A Complete OS Boot”.

After reading some discussion about the problem online it seems that the emulator doesn’t work with some types of hardware virtualization. Apparently the AMD cpu in my netbook isn’t supported and there is no way to turn off the virtualization enhancements in the BIOS.

So I looked around and found the emulator config file. In the file is a setting to turn Hardware Assist off. I set the value to false, started up the emulator and now it works perfectly. It may not work too well if your app is CPU intensive like a game, but for my use it works fine.

Here is how to configure it:

  1. Open a command window and go to %LOCALAPPDATA%\microsoft\xde
  2. There will be a file similar to config_*.decfg
  3. Open the file in notepad and look for a line that looks like this:
            <EnableHWAssist Reconfigurable="static" Type="bool">true</EnableHWAssist>
  4. Change “true” to “false”
  5. Save the file and start the emulator.

,

1 Comment

How to fix: error MSB6006: “aspnet_merge.exe” exited with code 1

One of the most annoying Visual Studio errors are the ones that don’t give you any details of what is wrong. This is one of those errors:

error MSB6006: "aspnet_merge.exe" exited with code 1

To fix it open a command line at the root of your project and enter this command:

msbuild /verbosity:detailed > output.txt

Now open output.txt and search for “MSB6006″. You’ll probably see the error right above the error line. This is the error that I usually get:

An error occurred when merging assemblies: ILMerge.Merge: ERROR!!: Duplicate type '<ClassName>' found in assembly 'App_Web_b6it0-k1'.

Usually when I get this error it is because I copied some files to create new pages but forgot to rename the classes. This causes naming conflicts because there are multiple classes with the same name. Just search your code for <ClassName> and you will probably find it defined in multiple places.

No Comments

Flying Model Simulator (FMS) with Vista x64

I’ve recently tried running the freeware Flying Model Simulator in order to practice flying RC helicopters. It is supposed to be pretty decent for a free app. But one of the problems with the application is that it is difficult to get it to run on Vista. I took me a while but I finally got it running. Here are some tips if you are having problems getting it to work on Vista:

Problem: You get a message saying “D3DRM.DLL cannot be loaded”. This dll is and old file that was removed from Vista. You can download the file from here: http://www.dlldump.com/download-dll-files_new.php/dllfiles/D/d3drm.dll/5.1.2600.0/download.html. I’m always wary about downloading files from strange websites because of potential viruses, but that file has worked fine for me. Download the file and copy it to the directory where you installed FMS:  Vista x64 default:  C:\Program Files (x86)\FMS      Vista 32bit:  C:\Program Files\FMS.

Problem: You get a message saying “fms.exe has stopped working”. This is probably because FMS expects you to have a serial port installed on your computer. Modern computers usually don’t come with serial ports anymore. To work around the problem you can create this registry entry:  HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM and FMS will start working.

Problem: Your controller won’t work correctly. I have a gamepad plus this RC controller: http://www.xheli.com/e4chflsitrki.html. Somehow FMS has a problem with this and I wasn’t able to correctly configure the controller. To solve it go to the Windows start menu and type “Game Controllers”. Click the game controllers icon at the top of the menu. Now click the Advanced button and select the device you want to use. This will make that controller the default in FMS and it will be able to configure it correctly.

Problem: FMS runs but the screen has horrible flicker that makes FMS unusable. This is probably caused by modern nVidia graphics cards. To fix it in FMS go to the Graphics menu and uncheck Textures. The graphics don’t look very nice when you disable textures but at least it works. I’m not aware of any solution to running with textures in this case.

As you can tell FMS has a lot of problems. If you want a simulator that just works I recommend checking out Clearview which is available here: http://rcflightsim.com/. They have a demo you can try and if you like it you can buy it for $40. It actually works and is a better simulator that FMS anyway.

,

9 Comments