Skip to content

Commit

Permalink
Use roslyn utf8 strings support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Nov 12, 2024
1 parent 7074e9d commit 308faa4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<PackageVersion Include="YesSql.Filters.Abstractions" Version="5.1.1" />
<PackageVersion Include="YesSql.Filters.Query" Version="5.1.1" />
<PackageVersion Include="ZString" Version="2.6.0" />

<PackageVersion Include="Microsoft.Net.Compilers.Toolset" Version="4.13.0-1.24555.2" />
<!-- dotnet/extensions -->
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="8.10.0" />
</ItemGroup>
Expand Down
10 changes: 6 additions & 4 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<packageSources>
<clear />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
<add key="general-testing" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/general-testing/nuget/v3/index.json" />

<!--
This feed is intended for development purposes only and should not be used when publishing to NuGet.
It is meant to be utilized exclusively in the dev branch while certain dependencies are unavailable on NuGet.org.
Expand All @@ -12,16 +14,16 @@
<!-- add key="OrchardCore" value="https://nuget.cloudsmith.io/orchardcore/preview/v3/index.json" /-->
</packageSources>

<!--

<packageSourceMapping>
<packageSource key="OrchardCore">
<package pattern="OrchardCore.*" />
<packageSource key="general-testing">
<package pattern="*" />
</packageSource>
<packageSource key="NuGet">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
-->


<disabledPackageSources />
</configuration>
5 changes: 5 additions & 0 deletions src/OrchardCore.Cms.Web/OrchardCore.Cms.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<PropertyGroup>
<TargetFrameworks>$(CommonTargetFrameworks)</TargetFrameworks>
<Features>$(Features);utf8-string-encoding</Features>
<WarningsNotAsErrors>612,618</WarningsNotAsErrors>
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
<RazorRuntimeCompilation>false</RazorRuntimeCompilation>
Expand All @@ -20,6 +21,10 @@
<InternalsVisibleTo Include="OrchardCore.Tests" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Net.Compilers.Toolset" />
</ItemGroup>

<!-- Watcher include and excludes -->
<ItemGroup>
<Watch Include="**\*.cs" Exclude="Recipes\**;Assets\**;node_modules\**\*;**\*.js.map;obj\**\*;bin\**\*" />
Expand Down

0 comments on commit 308faa4

Please sign in to comment.