diff --git a/src/Microsoft.OpenApi.Workbench/Microsoft.OpenApi.Workbench.csproj b/src/Microsoft.OpenApi.Workbench/Microsoft.OpenApi.Workbench.csproj index cfd669367..4fd43eead 100644 --- a/src/Microsoft.OpenApi.Workbench/Microsoft.OpenApi.Workbench.csproj +++ b/src/Microsoft.OpenApi.Workbench/Microsoft.OpenApi.Workbench.csproj @@ -1,5 +1,7 @@ - + + + net8.0-windows WinExe false @@ -8,29 +10,55 @@ true NU1903 - + + + + net8.0 + Library + false + NU1903 + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + + + + + - - - + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/src/Microsoft.OpenApi.Workbench/NonWindowsPlatformPlaceholder.cs b/src/Microsoft.OpenApi.Workbench/NonWindowsPlatformPlaceholder.cs new file mode 100644 index 000000000..bcf0dfad1 --- /dev/null +++ b/src/Microsoft.OpenApi.Workbench/NonWindowsPlatformPlaceholder.cs @@ -0,0 +1,10 @@ +// This file exists to allow the Workbench project to build on non-Windows platforms +// The actual WPF application is only available on Windows + +namespace Microsoft.OpenApi.Workbench +{ + // Empty placeholder class for non-Windows builds + internal class NonWindowsPlatformPlaceholder + { + } +}