mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 20:36:33 +01:00
Enforce treating warnings as errors in Debug mode too as it is going to save
us a lot of broken builds. Fixed bug where the HostPlanAction.CurrentHost was always null (as the private field was never set). Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
ee648135f6
commit
d69f2ddda3
@ -47,6 +47,7 @@ namespace XenAdmin.Wizards.PatchingWizard.PlanActions
|
||||
protected HostPlanAction(Host host, string description)
|
||||
: base(host.Connection, description)
|
||||
{
|
||||
_currentHost = host;
|
||||
HostXenRef = new XenRef<Host>(host);
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
|
Loading…
Reference in New Issue
Block a user