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