V10: fix more nullable references (#12321)
* Add Nullable and WarningsAsErrors to Build.props * Remove Nullable from cs proj, add ImplicitUsings to build.props * Fix errors in core * Fix in JsonSchema * Fix infrastructure * Add non-ambiguous using * Fix Web/Lucene * Fix backoffice * Fix up new build errors from merge Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
@@ -96,7 +96,7 @@ namespace Umbraco.Extensions
|
||||
StaticApplicationLogging.Initialize(new SerilogLoggerFactory());
|
||||
|
||||
// The DataDirectory is used to resolve database file paths (directly supported by SQL CE and manually replaced for LocalDB)
|
||||
AppDomain.CurrentDomain.SetData("DataDirectory", webHostEnvironment?.MapPathContentRoot(Constants.SystemDirectories.Data));
|
||||
AppDomain.CurrentDomain.SetData("DataDirectory", webHostEnvironment.MapPathContentRoot(Constants.SystemDirectories.Data));
|
||||
|
||||
// Manually create and register the HttpContextAccessor. In theory this should not be registered
|
||||
// again by the user but if that is the case it's not the end of the world since HttpContextAccessor
|
||||
|
||||
Reference in New Issue
Block a user