I'm currently writing a screensaver using C# and the express version of VS2010. I've created a nice little screensaver and renamed the resulting assembly to have a *.scr extension.
When i place this on my desktop and double click it (or select configure from the context menu), it runs fine and displays the correct form/screensaver. However, when i install this by placing it into the C:\Windows\System32
folder, i try double clicking on it and get this error:
Unable to find a version of the runtime to run this application
Also it doesn't work from the screensaver control panel. It's listed in the drop-down but it doesn't function.
Any idea what is going on?