MethodAccessException: Attempt to access a private/protected method failed.

The aforementioned exception is thrown by the following when executing within the WebPlayer.

var fvi = FileVersionInfo.GetVersionInfo(Assembly.GetExecutingAssembly().Location);
version = new Version(fvi.FileVersion);

Is there another WebPlayer-friendly way to get the assembly file version?

It’s okay, I am now using T4 to fetch the version string from my assembly at compile-time.