Skip to content

Commit

Permalink
Merge pull request #93 from CommunityToolkit/hotfix/samplegen
Browse files Browse the repository at this point in the history
Release mode hotfix for SampleGen
  • Loading branch information
Arlodotexe authored Jul 7, 2023
2 parents a56089e + e8235f9 commit 38728ba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- name: dotnet build
working-directory: ./
run: dotnet build /bl CommunityToolkit.Tooling.sln
run: dotnet build /bl CommunityToolkit.Tooling.sln -p:Configuration=Release

# Run tests
- name: Install Testspace Module
Expand All @@ -73,7 +73,7 @@ jobs:
domain: ${{ github.repository_owner }}

- name: Run tests against Source Generators
run: dotnet test --logger "trx;LogFileName=sourceGeneratorTestResults.trx"
run: dotnet test --logger "trx;LogFileName=sourceGeneratorTestResults.trx" -p:Configuration=Release

- name: Create test reports
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Immutable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public ToolkitSampleButtonCommand(Action callback)
}

/// <inheritdoc />
#pragma warning disable CS0067
public event EventHandler? CanExecuteChanged;
#pragma warning restore CS0067

/// <inheritdoc />
public bool CanExecute(object parameter)
Expand Down

0 comments on commit 38728ba

Please sign in to comment.