Mercurial > servermonitor
view ServerMonitor/ServerMonitor.csproj @ 23:3866c19535fd
Fix NullReferenceException when checks are executed on a brand new server.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Thu, 30 May 2019 21:40:27 -0400 |
parents | b3128fe10d57 |
children | f6235dc0a8ec |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProjectGuid>{68E905D9-18FD-4ADC-9CF7-B5984C3E2158}</ProjectGuid> <OutputType>WinExe</OutputType> <RootNamespace>ServerMonitorApp</RootNamespace> <AssemblyName>ServerMonitor</AssemblyName> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <FileAlignment>512</FileAlignment> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <TargetFrameworkProfile /> <SccProjectName><Project Location In Database></SccProjectName> <SccLocalPath><Local Binding Root of Project></SccLocalPath> <SccAuxPath><Source Control Database></SccAuxPath> <SccProvider>Mercurial Source Control Package</SccProvider> <IsWebBootstrapper>false</IsWebBootstrapper> <PublishUrl>publish\</PublishUrl> <Install>true</Install> <InstallFrom>Disk</InstallFrom> <UpdateEnabled>false</UpdateEnabled> <UpdateMode>Foreground</UpdateMode> <UpdateInterval>7</UpdateInterval> <UpdateIntervalUnits>Days</UpdateIntervalUnits> <UpdatePeriodically>false</UpdatePeriodically> <UpdateRequired>false</UpdateRequired> <MapFileExtensions>true</MapFileExtensions> <SupportUrl>https://www.bgreco.net/servermonitor</SupportUrl> <ProductName>Server Monitor</ProductName> <PublisherName>Brad Greco</PublisherName> <ApplicationRevision>0</ApplicationRevision> <ApplicationVersion>1.0.0.%2a</ApplicationVersion> <UseApplicationTrust>false</UseApplicationTrust> <BootstrapperEnabled>true</BootstrapperEnabled> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PlatformTarget>AnyCPU</PlatformTarget> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <Prefer32Bit>false</Prefer32Bit> </PropertyGroup> <PropertyGroup> <ApplicationIcon>icon.ico</ApplicationIcon> </PropertyGroup> <ItemGroup> <Reference Include="NAppUpdate.Framework, Version=0.5.1.0, Culture=neutral, PublicKeyToken=d1f1d1f19f9e5a56, processorArchitecture=MSIL"> <HintPath>..\packages\NAppUpdate.Framework.0.5.1.0\lib\net40\NAppUpdate.Framework.dll</HintPath> </Reference> <Reference Include="Renci.SshNet, Version=2016.1.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL"> <HintPath>..\packages\SSH.NET.2016.1.0\lib\net40\Renci.SshNet.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Core" /> <Reference Include="System.Net.Http" /> <Reference Include="System.Security" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data" /> <Reference Include="System.Deployment" /> <Reference Include="System.Drawing" /> <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="Attributes.cs" /> <Compile Include="Controls\CheckControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\CheckControl.Designer.cs"> <DependentUpon>CheckControl.cs</DependentUpon> </Compile> <Compile Include="Controls\FileCheckControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\FileCheckControl.Designer.cs"> <DependentUpon>FileCheckControl.cs</DependentUpon> </Compile> <Compile Include="Controls\DiskSpaceCheckControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\DiskSpaceCheckControl.Designer.cs"> <DependentUpon>DiskSpaceCheckControl.cs</DependentUpon> </Compile> <Compile Include="Controls\TimeUnitsComboBox.cs"> <SubType>Component</SubType> </Compile> <Compile Include="Controls\SizeUnitsComboBox.cs"> <SubType>Component</SubType> </Compile> <Compile Include="Controls\SshCheckControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\SshCheckControl.Designer.cs"> <DependentUpon>SshCheckControl.cs</DependentUpon> </Compile> <Compile Include="Controls\HttpCheckControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\HttpCheckControl.Designer.cs"> <DependentUpon>HttpCheckControl.cs</DependentUpon> </Compile> <Compile Include="Controls\MatchComboBox.cs"> <SubType>Component</SubType> </Compile> <Compile Include="Forms\AboutForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\AboutForm.Designer.cs"> <DependentUpon>AboutForm.cs</DependentUpon> </Compile> <Compile Include="Forms\UpdateDialog.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\UpdateDialog.Designer.cs"> <DependentUpon>UpdateDialog.cs</DependentUpon> </Compile> <Compile Include="Forms\InputDialog.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\InputDialog.Designer.cs"> <DependentUpon>InputDialog.cs</DependentUpon> </Compile> <Compile Include="Forms\SettingsForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\SettingsForm.Designer.cs"> <DependentUpon>SettingsForm.cs</DependentUpon> </Compile> <Compile Include="Objects\Checks\FileCheck.cs" /> <Compile Include="Objects\Checks\DiskSpaceCheck.cs" /> <Compile Include="Objects\UpdateCheckException.cs" /> <Compile Include="Forms\CheckBoxDialog.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\CheckBoxDialog.Designer.cs"> <DependentUpon>CheckBoxDialog.cs</DependentUpon> </Compile> <Compile Include="Forms\CheckForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\CheckForm.Designer.cs"> <DependentUpon>CheckForm.cs</DependentUpon> </Compile> <Compile Include="Forms\QuickHelpForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\QuickHelpForm.Designer.cs"> <DependentUpon>QuickHelpForm.cs</DependentUpon> </Compile> <Compile Include="Helpers.cs" /> <Compile Include="Objects\Checks\Check.cs" /> <Compile Include="Objects\CheckResult.cs" /> <Compile Include="Objects\Checks\HttpCheck.cs" /> <Compile Include="Objects\Logger.cs" /> <Compile Include="Objects\Checks\PingCheck.cs" /> <Compile Include="Objects\Schedule.cs" /> <Compile Include="Objects\Server.cs" /> <Compile Include="Forms\ServerForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\ServerForm.Designer.cs"> <DependentUpon>ServerForm.cs</DependentUpon> </Compile> <Compile Include="Objects\ServerMonitor.cs" /> <Compile Include="Forms\ServerSummaryForm.cs"> <SubType>Form</SubType> </Compile> <Compile Include="Forms\ServerSummaryForm.Designer.cs"> <DependentUpon>ServerSummaryForm.cs</DependentUpon> </Compile> <Compile Include="Objects\Checks\SshCheck.cs" /> <Compile Include="Program.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Controls\ServerSummaryControl.cs"> <SubType>UserControl</SubType> </Compile> <Compile Include="Controls\ServerSummaryControl.Designer.cs"> <DependentUpon>ServerSummaryControl.cs</DependentUpon> </Compile> <Compile Include="Properties\Resources.Designer.cs"> <DesignTime>True</DesignTime> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> </Compile> <Compile Include="Win32Helpers.cs" /> <EmbeddedResource Include="Controls\CheckControl.resx"> <DependentUpon>CheckControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Controls\FileCheckControl.resx"> <DependentUpon>FileCheckControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Controls\DiskSpaceCheckControl.resx"> <DependentUpon>DiskSpaceCheckControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Controls\SshCheckControl.resx"> <DependentUpon>SshCheckControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Controls\HttpCheckControl.resx"> <DependentUpon>HttpCheckControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\AboutForm.resx"> <DependentUpon>AboutForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\UpdateDialog.resx"> <DependentUpon>UpdateDialog.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\CheckBoxDialog.resx"> <DependentUpon>CheckBoxDialog.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\CheckForm.resx"> <DependentUpon>CheckForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\InputDialog.resx"> <DependentUpon>InputDialog.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\QuickHelpForm.resx"> <DependentUpon>QuickHelpForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\ServerForm.resx"> <DependentUpon>ServerForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Controls\ServerSummaryControl.resx"> <DependentUpon>ServerSummaryControl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\ServerSummaryForm.resx"> <DependentUpon>ServerSummaryForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Forms\SettingsForm.resx"> <DependentUpon>SettingsForm.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="Properties\Resources.resx"> <Generator>ResXFileCodeGenerator</Generator> <SubType>Designer</SubType> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> <None Include="packages.config" /> <None Include="Properties\DataSources\CheckResult.datasource" /> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <LastGenOutput>Settings.Designer.cs</LastGenOutput> </None> <Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen> <DependentUpon>Settings.settings</DependentUpon> <DesignTimeSharedInput>True</DesignTimeSharedInput> </Compile> </ItemGroup> <ItemGroup> <None Include="App.config" /> </ItemGroup> <ItemGroup> <None Include="Resources\delete.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\run.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\runall.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\add.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\edit.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\server.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\help.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\warning.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\info.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\error.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\pass.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\settings.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\disable.png" /> </ItemGroup> <ItemGroup> <None Include="Resources\monitor.ico" /> </ItemGroup> <ItemGroup> <None Include="Resources\icon_error.ico" /> </ItemGroup> <ItemGroup> <None Include="Resources\icon_warning.ico" /> </ItemGroup> <ItemGroup> <None Include="Resources\icon_info.ico" /> </ItemGroup> <ItemGroup> <None Include="Resources\icon.ico" /> </ItemGroup> <ItemGroup> <Content Include="icon.ico" /> <Content Include="LICENSE.txt" /> <None Include="Resources\icon.png" /> </ItemGroup> <ItemGroup> <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> <Visible>False</Visible> <ProductName>.NET Framework 3.5 SP1</ProductName> <Install>false</Install> </BootstrapperPackage> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project>