diff --git a/.gitignore b/.gitignore index eaf23fb..1988a20 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ obj/ build/ *.nupkg .vs/ +.idea/ Files.wxs *.wixobj *.wixpdb diff --git a/src/SharpWebview/Content/HostedContent.cs b/src/SharpWebview/Content/HostedContent.cs index c78b574..22cec32 100644 --- a/src/SharpWebview/Content/HostedContent.cs +++ b/src/SharpWebview/Content/HostedContent.cs @@ -1,3 +1,5 @@ +#if NET7_0_OR_GREATER + using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.StaticFiles; @@ -56,3 +58,5 @@ public string ToWebviewUrl() } } } + +#endif diff --git a/src/SharpWebview/SharpWebview.csproj b/src/SharpWebview/SharpWebview.csproj index 430cc55..de0fdff 100644 --- a/src/SharpWebview/SharpWebview.csproj +++ b/src/SharpWebview/SharpWebview.csproj @@ -1,7 +1,8 @@  - net7.0;net8.0;net9.0 + netstandard2.1;net7.0;net8.0;net9.0 + net7.0;net8.0;net9.0 true SharpWebview Gerrit 'Geaz' Gazic @@ -11,6 +12,7 @@ 0.12.1 MIT https://github.com/webview/webview_csharp + CS1591 @@ -37,8 +39,7 @@ - - +