Skip to content

Commit

Permalink
Merge pull request #184 from WildernessLabs/dominique-Fix585
Browse files Browse the repository at this point in the history
Add extra check after Deploy to enable runtime if it's not enabled.
CartBlanche authored Apr 11, 2024
2 parents 5959f7c + b776687 commit 4aefa4c
Showing 6 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: VS4Win Extension
env:
IDE_TOOLS_RELEASE_VERSION: 1.9.6
IDE_TOOLS_RELEASE_VERSION: 1.9.7

on:
push:
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="VS_Meadow_Extension.ProjectType..fe358059-9487-4fe7-a01a-4b67b8231321" Version="1.9.6" Language="en-US" Publisher="Wilderness Labs" />
<Identity Id="VS_Meadow_Extension.ProjectType..fe358059-9487-4fe7-a01a-4b67b8231321" Version="1.9.7" Language="en-US" Publisher="Wilderness Labs" />
<DisplayName>VS 2019 Tools for Meadow</DisplayName>
<Description xml:space="preserve">Tools for developing Meadow applications</Description>
<Icon>wildernesslabs_icon.png</Icon>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="VS_Meadow_Extension.2022.d5eb772d-2173-4795-b60b-67929a9bf12d" Version="1.9.6" Language="en-US" Publisher="Wilderness Labs" />
<Identity Id="VS_Meadow_Extension.2022.d5eb772d-2173-4795-b60b-67929a9bf12d" Version="1.9.7" Language="en-US" Publisher="Wilderness Labs" />
<DisplayName>VS 2022 Tools for Meadow</DisplayName>
<Description xml:space="preserve">Tools for developing Meadow applications</Description>
<Icon>wildernesslabs_icon.png</Icon>
Original file line number Diff line number Diff line change
@@ -92,6 +92,14 @@ private async Task<bool> DeployMeadowAppAsync(CancellationToken cts, TextWriter

throw ex;
}
finally
{
var running = await Meadow.GetMonoRunState(cts);
if (!running)
{
await Meadow?.MonoEnable(true, cts);
}
}

return false;
}
2 changes: 1 addition & 1 deletion VS_Meadow_Extension/VS_Meadow_Extension.Shared/Globals.cs
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ namespace Meadow
{
public static class Globals
{
public const string AssemblyVersion = "1.9.6.0";
public const string AssemblyVersion = "1.9.7.0";

public const string MeadowCapability = "Meadow";

4 changes: 4 additions & 0 deletions overview.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,10 @@ For step by step instructions on using this extension, [check out the tutorial](

## Release Notes

### 1.9.7

- Add extra check to re-enable the runtime, if it isn't enabled after deployment.

### 1.9.6

- Do IsMeadowApp check earlier to avoid deployment of wrong project types

0 comments on commit 4aefa4c

Please sign in to comment.