If you are updating Meadow.OS beta applications to the new Meadow.OS release candidate application lifecycle, there are some required code updates.
Does this apply to me?
After updating your Meadow board to the latest Meadow.OS, you will need to update your project to run with the latest application lifecycle if you are seeing the following error message in the Meadow output log.
Meadow StdOut: Assembly '/meadow0/Meadow.dll' doesn't have an entry point.
Visual Studio has stopped debugging
How do I update my Meadow app?
Update to the latest Meadow NuGet packages that include the latest application lifecycle updates.
In the project properties, change Application > General > Output type to
Class Library(previously Console Application).
In your MeadowApp class declaration, remove the second
MeadowApptype parameter from the class' inherited
public class MeadowApp : App<F7FeatherV2>
Remove the Program.cs file from your project. With the new lifecycle, this extra file isn't required anymore.
Going forward, the preferred way of initializing and running your Meadow app is done using overridden
Initializemethods. (The prior system of constructor and calls to an initialization method will continue working for now.
public override Task Initialize()
public override Task Run()
Migrate your code from your constructor into these new