Daniel Chalmers hace 2 años
padre
commit
558906b957
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      .github/workflows/deploy.yml
  2. 1 1
      DesktopClock/OutlinedTextBlock.cs

+ 1 - 1
.github/workflows/deploy.yml

@@ -14,7 +14,7 @@ jobs:
       - uses: actions/setup-dotnet@v2
 
       - name: Build
-        run: dotnet publish -o "publish" -c Release -r win-x64
+        run: dotnet publish .\DesktopClock\DesktopClock.csproj -o "publish" -c Release -r win-x64
 
       - name: Create installer
         run: |

+ 1 - 1
DesktopClock/OutlinedTextBlock.cs

@@ -184,7 +184,7 @@ public class OutlinedTextBlock : FrameworkElement
     public OutlinedTextBlock()
     {
         UpdatePen();
-        TextDecorations = [];
+        TextDecorations = new();
     }
 
     protected override void OnRender(DrawingContext drawingContext)