towerofpower256 / WritingExporter.SimpleExporter

Tool for exporting interactive stories from Writing.com, and exporting them to human-readable files.
MIT License
4 stars 1 forks source link

Error opening story: System.MissingMethodException: Method not found: '!!()[] System.Array.Empty()' #2

Closed towerofpower256 closed 5 years ago

towerofpower256 commented 5 years ago

There have been multiple reports of users who are able to open the program but when they go to retrieve a story, an unhandled exception window appears stating:

System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.  at WritingExporter.SimpleExporter.MainForm.d__12.MoveNext()  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)  at WritingExporter.SimpleExporter.MainForm.OpenStoryFromSource()  at WritingExporter.SimpleExporter.MainForm.btnOpenStory_Click(Object sender, EventArgs e)  at System.Wind

towerofpower256 commented 5 years ago

Suspect that it may be that the program is built using a version of the .Net framework which is too recent, one that most people don't have.

Built in: .NET Framework 4.6.1 Pre-installed on Windows 7: .NET Framework 3.51

Source: https://blogs.msdn.microsoft.com/astebner/2007/03/14/mailbag-what-version-of-the-net-framework-is-included-in-what-version-of-the-os/

I wonder what happens if I rebuild it using the earlier framework? Some of the code will have to change, I know that System.Threading.Tasks weren't in that version of .NET.

towerofpower256 commented 5 years ago

Issue is that the user doesn't have at least .NET Framework 4.6 installed. I've now added this to the list of requirements.