Downloaded the latest stable build and installed it with my VS 2017 setup. When I created a MonoGame project with Visual Basic, it fails to build with the following error:
Payload file ‘C:\Users\userdir.nuget\packages\monogame.framework.windowsuap\3.4.0.459\lib\netcore\MonoGame.Framework\MonoGame.Framework.xr.xml’ does not exist.
Alright, so I found out how to fix the first error. I was poking around the directories the error above gave, and I found that missing file in the folder directly above where VS was looking for it. I copied it to the correct folder and the project successfully built and ran.
However, it still gives the expired certificate warning (which doesn’t prevent compile).
A new, not-expired certificate can be generated by you for local testing.
Right-click the project and go to Properties.
Go to Application > Package Manifest…
Click Packaging at the top
Click the ‘Choose Certificate…’ button
Use the dropdown of ‘Configure Certificate’ and choose the Create option.
Fill in a username and password.
It should create a .pfx that is recent that you can build to and no longer see the error.
The certificate will eventually be swapped out with one you generate from the Windows Store once you go to sign it for actual distribution.
Probably because it is a more higher level language and more intuitive, but I must say, VB has now split from parity with C# so…. Yeah, not worth pursuing for coding with now I think…
But, scripting wise, still a winner.
This got me thinking so I made a new post to reflect on this topic.