Orchard/src/Orchard.Web/Modules/Orchard.Modules/Web.config

78 lines
5.0 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2014-01-15 03:39:01 +08:00
<configuration>
<configSections>
<sectionGroup name="system.web.webPages.razor" type="System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="host" type="System.Web.WebPages.Razor.Configuration.HostSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
<section name="pages" type="System.Web.WebPages.Razor.Configuration.RazorPagesSection, System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" />
</sectionGroup>
</configSections>
<system.web.webPages.razor>
2021-02-19 17:31:26 +08:00
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.7, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<pages pageBaseType="Orchard.Mvc.ViewEngines.Razor.WebViewPage">
<namespaces>
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.WebPages" />
<add namespace="System.Linq" />
<add namespace="System.Collections.Generic" />
<add namespace="Orchard.Mvc.Html" />
</namespaces>
</pages>
</system.web.webPages.razor>
<appSettings>
<add key="aspnet:RoslynCompilerLocation" value="..\..\bin\roslyn" />
</appSettings>
<system.web>
2021-02-19 17:31:26 +08:00
<compilation targetFramework="4.8">
<assemblies>
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
2021-02-19 17:31:26 +08:00
<add assembly="System.Web.Mvc, Version=5.2.7, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="Orchard.Framework" />
</assemblies>
</compilation>
</system.web>
2021-02-05 02:05:50 +08:00
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Autofac" publicKeyToken="17863af14b0044da" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="NHibernate" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="5.5.0.0" />
2021-02-05 02:05:50 +08:00
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Iesi.Collections" publicKeyToken="aa95f207798dfdb4" culture="neutral" />
Merge branch '1.10.x' into issue/8684 # Conflicts: # src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj # src/Orchard.Azure/Orchard.Azure.Web/Web.config # src/Orchard.Core.Tests/App.config # src/Orchard.Core.Tests/Orchard.Core.Tests.csproj # src/Orchard.Core.Tests/packages.config # src/Orchard.Profile/App.config # src/Orchard.Specs/App.Config # src/Orchard.Specs/Hosting/Orchard.Web/Web.config # src/Orchard.Specs/Orchard.Specs.csproj # src/Orchard.Specs/packages.config # src/Orchard.Tests.Modules/App.config # src/Orchard.Tests.Modules/Orchard.Tests.Modules.csproj # src/Orchard.Tests.Modules/packages.config # src/Orchard.Tests/App.config # src/Orchard.Tests/Orchard.Framework.Tests.csproj # src/Orchard.Tests/packages.config # src/Orchard.Web.Tests/app.config # src/Orchard.Web/Core/Common/Migrations.cs # src/Orchard.Web/Core/Common/Views/EditorTemplates/Fields.Common.Text.Edit.cshtml # src/Orchard.Web/Core/Navigation/Views/EditorTemplates/Parts.MenuWidget.Edit.cshtml # src/Orchard.Web/Core/Orchard.Core.csproj # src/Orchard.Web/Core/Settings/Descriptor/ShellDescriptorManager.cs # src/Orchard.Web/Core/Web.config # src/Orchard.Web/Modules/Lucene/Lucene.csproj # src/Orchard.Web/Modules/Lucene/Web.config # src/Orchard.Web/Modules/Lucene/packages.config # src/Orchard.Web/Modules/Markdown/Web.config # src/Orchard.Web/Modules/Orchard.Alias/Web.config # src/Orchard.Web/Modules/Orchard.AntiSpam/Orchard.AntiSpam.csproj # src/Orchard.Web/Modules/Orchard.AntiSpam/Web.config # src/Orchard.Web/Modules/Orchard.AntiSpam/packages.config # src/Orchard.Web/Modules/Orchard.ArchiveLater/Web.config # src/Orchard.Web/Modules/Orchard.AuditTrail/Orchard.AuditTrail.csproj # src/Orchard.Web/Modules/Orchard.AuditTrail/Web.config # src/Orchard.Web/Modules/Orchard.AuditTrail/packages.config # src/Orchard.Web/Modules/Orchard.Autoroute/Services/AutorouteService.cs # src/Orchard.Web/Modules/Orchard.Autoroute/Web.config # src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Controllers/MediaController.cs # src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Orchard.Azure.MediaServices.csproj # src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Web.config # src/Orchard.Web/Modules/Orchard.Azure.MediaServices/packages.config # src/Orchard.Web/Modules/Orchard.Azure/Orchard.Azure.csproj # src/Orchard.Web/Modules/Orchard.Azure/Web.config # src/Orchard.Web/Modules/Orchard.Azure/packages.config # src/Orchard.Web/Modules/Orchard.Blogs/Orchard.Blogs.csproj # src/Orchard.Web/Modules/Orchard.Blogs/Web.config # src/Orchard.Web/Modules/Orchard.Caching/Orchard.Caching.csproj # src/Orchard.Web/Modules/Orchard.Caching/Web.config # src/Orchard.Web/Modules/Orchard.CodeGeneration/CodeGenerationTemplates/ModuleRootWebConfig.txt # src/Orchard.Web/Modules/Orchard.CodeGeneration/Web.config # src/Orchard.Web/Modules/Orchard.Comments/Orchard.Comments.csproj # src/Orchard.Web/Modules/Orchard.Comments/Web.config # src/Orchard.Web/Modules/Orchard.Conditions/Web.config # src/Orchard.Web/Modules/Orchard.ContentPermissions/Web.config # src/Orchard.Web/Modules/Orchard.ContentPicker/Orchard.ContentPicker.csproj # src/Orchard.Web/Modules/Orchard.ContentPicker/Web.config # src/Orchard.Web/Modules/Orchard.ContentPicker/packages.config # src/Orchard.Web/Modules/Orchard.ContentTypes/Web.config # src/Orchard.Web/Modules/Orchard.CustomForms/Web.config # src/Orchard.Web/Modules/Orchard.Dashboards/Web.config # src/Orchard.Web/Modules/Orchard.DesignerTools/Web.config # src/Orchard.Web/Modules/Orchard.DynamicForms/Orchard.DynamicForms.csproj # src/Orchard.Web/Modules/Orchard.DynamicForms/Web.config # src/Orchard.Web/Modules/Orchard.DynamicForms/packages.config # src/Orchard.Web/Modules/Orchard.Email/Orchard.Email.csproj # src/Orchard.Web/Modules/Orchard.Email/Web.config # src/Orchard.Web/Modules/Orchard.Email/packages.config # src/Orchard.Web/Modules/Orchard.Fields/Web.config # src/Orchard.Web/Modules/Orchard.Forms/Orchard.Forms.csproj # src/Orchard.Web/Modules/Orchard.Forms/Web.config # src/Orchard.Web/Modules/Orchard.Forms/packages.config # src/Orchard.Web/Modules/Orchard.ImageEditor/Web.config # src/Orchard.Web/Modules/Orchard.ImportExport/Orchard.ImportExport.csproj # src/Orchard.Web/Modules/Orchard.ImportExport/Web.config # src/Orchard.Web/Modules/Orchard.ImportExport/packages.config # src/Orchard.Web/Modules/Orchard.Indexing/Web.config # src/Orchard.Web/Modules/Orchard.JobsQueue/Orchard.JobsQueue.csproj # src/Orchard.Web/Modules/Orchard.JobsQueue/Web.config # src/Orchard.Web/Modules/Orchard.JobsQueue/packages.config # src/Orchard.Web/Modules/Orchard.Layouts/Orchard.Layouts.csproj # src/Orchard.Web/Modules/Orchard.Layouts/Web.config # src/Orchard.Web/Modules/Orchard.Layouts/packages.config # src/Orchard.Web/Modules/Orchard.Lists/Web.config # src/Orchard.Web/Modules/Orchard.Localization/Orchard.Localization.csproj # src/Orchard.Web/Modules/Orchard.Localization/Web.config # src/Orchard.Web/Modules/Orchard.Media/Web.config # src/Orchard.Web/Modules/Orchard.MediaLibrary/Orchard.MediaLibrary.csproj # src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/MediaLibraryPicker.cshtml # src/Orchard.Web/Modules/Orchard.MediaLibrary/Web.config # src/Orchard.Web/Modules/Orchard.MediaLibrary/packages.config # src/Orchard.Web/Modules/Orchard.MediaPicker/Web.config # src/Orchard.Web/Modules/Orchard.MediaProcessing/Web.config # src/Orchard.Web/Modules/Orchard.MessageBus/Orchard.MessageBus.csproj # src/Orchard.Web/Modules/Orchard.MessageBus/Web.config # src/Orchard.Web/Modules/Orchard.MessageBus/packages.config # src/Orchard.Web/Modules/Orchard.Migrations/Web.config # src/Orchard.Web/Modules/Orchard.Modules/Web.config # src/Orchard.Web/Modules/Orchard.MultiTenancy/Orchard.MultiTenancy.csproj # src/Orchard.Web/Modules/Orchard.MultiTenancy/Web.config # src/Orchard.Web/Modules/Orchard.MultiTenancy/packages.config # src/Orchard.Web/Modules/Orchard.OutputCache/Filters/OutputCacheFilter.cs # src/Orchard.Web/Modules/Orchard.OutputCache/Web.config # src/Orchard.Web/Modules/Orchard.Packaging/Web.config # src/Orchard.Web/Modules/Orchard.Pages/Web.config # src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs # src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj # src/Orchard.Web/Modules/Orchard.Projections/Settings/ProjectionPartEditorEvents.cs # src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj # src/Orchard.Web/Modules/Orchard.Projections/Tests/app.config # src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config # src/Orchard.Web/Modules/Orchard.Projections/Views/Property/Edit.cshtml # src/Orchard.Web/Modules/Orchard.Projections/Web.config # src/Orchard.Web/Modules/Orchard.Projections/packages.config # src/Orchard.Web/Modules/Orchard.PublishLater/Web.config # src/Orchard.Web/Modules/Orchard.Recipes/Orchard.Recipes.csproj # src/Orchard.Web/Modules/Orchard.Recipes/Web.config # src/Orchard.Web/Modules/Orchard.Redis/Orchard.Redis.csproj # src/Orchard.Web/Modules/Orchard.Redis/Web.config # src/Orchard.Web/Modules/Orchard.Redis/packages.config # src/Orchard.Web/Modules/Orchard.Resources/Web.config # src/Orchard.Web/Modules/Orchard.Roles/Orchard.Roles.csproj # src/Orchard.Web/Modules/Orchard.Roles/Web.config # src/Orchard.Web/Modules/Orchard.Roles/packages.config # src/Orchard.Web/Modules/Orchard.Rules/Web.config # src/Orchard.Web/Modules/Orchard.Scripting.CSharp/Web.config # src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Web.config # src/Orchard.Web/Modules/Orchard.Scripting/Web.config # src/Orchard.Web/Modules/Orchard.Search/Orchard.Search.csproj # src/Orchard.Web/Modules/Orchard.Search/Web.config # src/Orchard.Web/Modules/Orchard.SecureSocketsLayer/Web.config # src/Orchard.Web/Modules/Orchard.Setup/Web.config # src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj # src/Orchard.Web/Modules/Orchard.Tags/Web.config # src/Orchard.Web/Modules/Orchard.Tags/packages.config # src/Orchard.Web/Modules/Orchard.TaskLease/Web.config # src/Orchard.Web/Modules/Orchard.Taxonomies/Orchard.Taxonomies.csproj # src/Orchard.Web/Modules/Orchard.Taxonomies/Web.config # src/Orchard.Web/Modules/Orchard.Taxonomies/packages.config # src/Orchard.Web/Modules/Orchard.Templates/Web.config # src/Orchard.Web/Modules/Orchard.Themes/Web.config # src/Orchard.Web/Modules/Orchard.Tokens/Tests/app.config # src/Orchard.Web/Modules/Orchard.Tokens/Web.config # src/Orchard.Web/Modules/Orchard.Users/Orchard.Users.csproj # src/Orchard.Web/Modules/Orchard.Users/Services/UserService.cs # src/Orchard.Web/Modules/Orchard.Users/Web.config # src/Orchard.Web/Modules/Orchard.Warmup/Web.config # src/Orchard.Web/Modules/Orchard.Widgets/Views/WidgetPlacement.Zones.cshtml # src/Orchard.Web/Modules/Orchard.Widgets/Web.config # src/Orchard.Web/Modules/Orchard.Workflows/Orchard.Workflows.csproj # src/Orchard.Web/Modules/Orchard.Workflows/Web.config # src/Orchard.Web/Modules/Orchard.Workflows/packages.config # src/Orchard.Web/Modules/Orchard.jQuery/Web.config # src/Orchard.Web/Modules/SysCache/SysCache.csproj # src/Orchard.Web/Modules/SysCache/Web.config # src/Orchard.Web/Modules/SysCache/packages.config # src/Orchard.Web/Modules/TinyMce/TinyMce.csproj # src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml # src/Orchard.Web/Modules/TinyMce/Web.config # src/Orchard.Web/Modules/Upgrade/Upgrade.csproj # src/Orchard.Web/Modules/Upgrade/Web.config # src/Orchard.Web/Modules/Upgrade/packages.config # src/Orchard.Web/Orchard.Web.csproj # src/Orchard.Web/Themes/Web.config # src/Orchard.Web/Web.config # src/Orchard.Web/packages.config # src/Orchard/Orchard.Framework.csproj # src/Orchard/app.config # src/Orchard/packages.config
2023-05-16 18:39:17 +08:00
<bindingRedirect oldVersion="0.0.0.0-4.0.0.4000" newVersion="4.0.0.4000" />
2021-02-05 02:05:50 +08:00
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
2021-02-05 02:05:50 +08:00
</dependentAssembly>
2021-02-19 17:31:26 +08:00
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
2021-02-05 02:05:50 +08:00
</assemblyBinding>
</runtime>
2021-02-19 17:31:26 +08:00
<system.codedom>
<compilers>
8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version (#8777) * Upgrading projects, code generation templates and Specflow app to use Microsoft.CodeDom.Providers.DotNetCompilerPlatform 4.1.0 (latest) * Updating csprojs not to define LangVersion separately in Release and Debug mode, setting it to "default" instead of "latest" * Restricting C# language version to 7.3 * Downgrading SmtpMessageChannel.cs to C# 7.3 * Setting MvcBuildViews = false in the remaining csprojs that reference DotNetCompilerPlatform, like the others * Setting RoslynCopyToOutDir = false in each csproj that references DotNetCompilerPlatform See https://github.com/aspnet/RoslynCodeDomProvider?tab=readme-ov-file#build-time-options - We only need Orchard.Web to include the Roslyn tools in its bin folder, the other csprojs only need the DLL reference - We could simply remove the targets import in these csprojs, but it will be re-added when the package is updated, so this is cleaner/easier * We don't actually need <MvcBuildViews>false</MvcBuildViews> in csprojs * Orchard.Web: Copying Roslyn files to the output folder using the provided target (CopyRoslynCompilerFilesToOutputDirectory) instead of our custom one * Orchard.proj: Factoring out a part of the Compile target into the DevCompile target and removing BuildViews target - For a simple local build (just to validate that the solution builds), we don't actually need that second build that copies files to the output folder. - CI builds (Test, Spec, etc.) that operate on the build output folder are unaffected, because Compile calls DevCompile - The BuildViews target is not really necessary, just call any other target (Compile, DevCompile, Spec, etc.) with "/p:MvcBuildViews=true" * Removing incorrect comment about Razor IntelliSense * Removing VBCodeProvider configuration from Web.config files * Getting rid of Microsoft.CodeDom.Providers.DotNetCompilerPlatform.targets imports and associated configuration except in Orchard.Web.csproj * Adding VB compiler configuration to src/Orchard.Web/Web.config, because it would be readded on rebuild by the imported target anyway
2024-04-04 22:35:29 +08:00
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" compilerOptions="/langversion:7.3 /nowarn:1659;1699;1701;612;618" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
2021-02-19 17:31:26 +08:00
</compilers>
</system.codedom>
</configuration>