diff --git a/Pack.ps1 b/Pack.ps1 index 0f219d5..5da4882 100644 --- a/Pack.ps1 +++ b/Pack.ps1 @@ -1,4 +1,4 @@ dotnet build -c Release dotnet test dotnet pack -c Release -o artifacts RazorEngineCore\RazorEngineCore.csproj -p:symbolPackageFormat=snupkg --include-symbols -dotnet nuget push artifacts\RazorEngineCore.2022.1.1.nupkg --source https://www.nuget.org/api/v2/package -k KEY \ No newline at end of file +dotnet nuget push artifacts\RazorEngineCore.2022.1.2.nupkg --source https://www.nuget.org/api/v2/package -k KEY \ No newline at end of file diff --git a/RazorEngineCore/RazorEngine.cs b/RazorEngineCore/RazorEngine.cs index bf59ab7..ef31494 100644 --- a/RazorEngineCore/RazorEngine.cs +++ b/RazorEngineCore/RazorEngine.cs @@ -85,7 +85,7 @@ protected virtual MemoryStream CreateAndCompileToStream(string templateSource, R options.ReferencedAssemblies .Select(ass => { -#if NETSTANDARD2_0_OR_GREATER || NET5_0_OR_GREATER +#if NETSTANDARD2_0 return MetadataReference.CreateFromFile(ass.Location); #else unsafe diff --git a/RazorEngineCore/RazorEngineCore.csproj b/RazorEngineCore/RazorEngineCore.csproj index 7bb1b53..7eaf1b5 100644 --- a/RazorEngineCore/RazorEngineCore.csproj +++ b/RazorEngineCore/RazorEngineCore.csproj @@ -2,12 +2,12 @@ net6.0;net5.0;netstandard2.0 true - 2022.1.1 + 2022.1.2 Alexander Selishchev, Simon Mourier, William David Cossey, Benjamin Smith, Dag H. Baardsen, krmr, jddj007-hydra https://github.com/adoconnection/RazorEngineCore NET6 Razor Template Engine - 2022.1.1 - 2022.1.1 + 2022.1.2 + 2022.1.2 Alexander Selishchev, Simon Mourier, William David Cossey, Benjamin Smith, Dag H. Baardsen, krmr, jddj007-hydra true