To summarise:
1. On Windows 7, In VS2015, I create a new, blank “Monogame Cross Platform Desktop Project” using the latest Monogame development version 3.6.0.1365 (I tried a newer version since the first post and am still getting this error).
2. I run the project and everything builds fine showing the classic cornflower blue background.
3. I try to publish the project to the “publish/” folder (no matter what location, the error still persists).
4. I try to run the resulting installers/ClickOnce applications try to load but produce the message “Cannot continue. The application is improperly formatted. Contact the application vendor for assistance.”
5. I then go back into VS2015 and try to run/debug the project (like I would in step 2) but now the program crashes before running any code citing the error:
“An unhandled exception of type ‘System.ArgumentNullException’ occurred in mscorlib.dll
Additional information: Value cannot be null.”
The error takes Visual Studio to the “Source not available” page so I can’t tell what code is causing the issue.
6. The program new program now can’t be run or debugged at all since every time it returns the same error.
I’ve tried it in VS 2015 and VS 2013
I’ve tried installing the same Monogame & Visual studio on another computer with Windows 10 and the error is identical.
I’ve tried uninstalling the original Monogame first and uninstalling OpenAL
I’ve tried going back to version 3.5.1.1679 and everything works again except for some of the issues I’m trying to get rid of by upgrading to 3.6
I’ve tried placing a breakpoint on entry to the “main” function and the breakpoint is never hit.
I hate to keep pushing this thread up but I still badly need help with this issue.
Is there some step I’ve missed in installing a development version of Monogame?
Has anyone else had a similar issue before?
Again, I’d really appreciate any help you could give.