Monday, 21 November 2011

TeraCopy: The system cannot move the file to a different disk drive

TeraCopy cannot deal with UNC paths (i.e. \\my-nas\share) and you will be greeted with the message:
The system cannot move the file to a different disk drive.
To work around the problem, map a network drive to that UNC path. TeraCopy will then work without issue.

Could not load file or assembly bug in Visual Studio 2010

Visual Studio 2010 does not honour the Copy Local setting on a referenced DLL unless you set it to false and then back to true.

By default the XML looks like this:
<Reference Include="DevExpress.SpellChecker.v11.1.Core, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<HintPath>..\References\DevExpress.SpellChecker.v11.1.Core.dll</HintPath>
</Reference>
Following the simple step above sets it correctly, which is then honoured by MsBuild and the DLL we be included in the deployment:
<Reference Include="DevExpress.SpellChecker.v11.1.Core, Version=11.1.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<HintPath>..\References\DevExpress.SpellChecker.v11.1.Core.dll</HintPath>
<Private>True</Private>
</Reference>
A nasty bug. By default the Copy Local should be set to False in the properties window, since the build treats it as such.

To reiterate: To fix, change the Copy Local property to False then save your project. Then revert to True and save the project again.

Thursday, 17 November 2011

BBC iPlayer Global now works over AirPlay (AppleTV)

I had several problems with iPlayer Global on iPad and streaming content to AppleTV, namely, it just didn't work. It turns out I can blame Apple.

You need both iOS 5 on the iPad and the 4.4.2 firmware on AppleTV. The only problem is that you can't update to 4.4.2 using the AppleTV update mechanism on the device, because Apple pulled the update after it bricked numerous devices.

However, if you are determined to get this to work, you'll need to connect the AppleTV device to your computer directly using USB. You might need to buy a USB mini Cable, Type A standard to Type B MICRO for Mobile Devices, 1.8 Metre (6ft) if you haven't got one already (no Apple don't include one with AppleTV). Disconnect the power and everything else from your AppleTV with the exception of the USB cable. Open iTunes and you should see the AppleTV device. Go through the upgrade option.

You device should now be running 4.4.2 instead of 4.4.1. AirPlay should now work.