-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RuntimeConfigurationReader to support SelfContained builds (#1705)
- Loading branch information
Showing
9 changed files
with
86 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
test/coverlet.tests.projectsample.wpf8.selfcontained/.editorconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# top-most EditorConfig file | ||
# We don't want to import other EditorConfig files and we want | ||
# to ensure no rules are enabled for these asset source files. | ||
root = true | ||
|
||
[*.cs] | ||
# Default severity for all analyzer diagnostics | ||
dotnet_analyzer_diagnostic.severity = none |
9 changes: 9 additions & 0 deletions
9
test/coverlet.tests.projectsample.wpf8.selfcontained/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) Toni Solarin-Sodara | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
namespace coverlet.tests.projectsample.wpf8.selfcontained; | ||
|
||
public static class Program | ||
{ | ||
public static void Main() { } | ||
} |
12 changes: 12 additions & 0 deletions
12
test/coverlet.tests.projectsample.wpf8.selfcontained/TestClass.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright (c) Toni Solarin-Sodara | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System.Windows.Controls; | ||
|
||
namespace coverlet.tests.projectsample.wpf8.selfcontained | ||
{ | ||
public class TestClass | ||
{ | ||
public UserControl? Control { get; set; } | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...s.projectsample.wpf8.selfcontained/coverlet.tests.projectsample.wpf8.selfcontained.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<UseWpf>true</UseWpf> | ||
<IsTestProject>false</IsTestProject> | ||
<EnableWindowsTargeting>true</EnableWindowsTargeting> | ||
<IsPackable>false</IsPackable> | ||
<SelfContained>true</SelfContained> | ||
<RuntimeIdentifier>win-x64</RuntimeIdentifier> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters