Orchard/src/Orchard.Web/Modules/Orchard.Rules
Benedek Farkas fb1aa73475
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 16:35:29 +02:00
..
Content Cleaned up and reformatted all Web.config files according to #6072. 2016-01-22 20:38:34 +01:00
Controllers Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Handlers Merge branch 'refs/heads/1.9.x' into dev 2015-12-13 23:46:19 +01:00
Models Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Properties Bumping version number to 1.10.3 2019-02-19 21:00:04 +01:00
Providers Fixing "Valitator" typos 2019-08-22 20:14:54 +02:00
Recipes Reverted my own stupidity. 2015-08-03 16:44:58 +01:00
Scripts Cleaned up and reformatted all Web.config files according to #6072. 2016-01-22 20:38:34 +01:00
Services Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Styles Cleaned up and reformatted all Web.config files according to #6072. 2016-01-22 20:38:34 +01:00
ViewModels Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Views Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
AdminMenu.cs Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Migrations.cs Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Module.txt Bumping version number to 1.10.3 2019-02-19 21:00:04 +01:00
Orchard.Rules.csproj 8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version (#8777) 2024-04-04 16:35:29 +02:00
packages.config 8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version (#8777) 2024-04-04 16:35:29 +02:00
Placement.info Converting all files stored as CRLF in git to be stored as LF 2015-12-13 22:21:02 +01:00
Web.config 8776: Upgrade Microsoft.CodeDom.Providers.DotNetCompilerPlatform to latest version (#8777) 2024-04-04 16:35:29 +02:00