mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-31 03:03:52 +01:00 
			
		
		
		
	This sets the target .NET framework version to 4.6. The Prefer32Bit option was introduced with .NET 4. When set to true this will generate x86 machine code on a 64-bit system, but this only affects projects where the platform target is set to Any CPU. CMake generates the project based on the system. Since the Prefer32Bit option was auto generated during the switch to the new .NET version I ensured this is explicitly set to false. refs #7090
		
			
				
	
	
		
			262 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			262 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <Project ToolsVersion="12.0" DefaultTargets="Build" 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)' == '' ">x64</Platform>
 | |
|     <ProjectGuid>{A86F1159-66E8-4BDB-BF28-A2BDAF76517C}</ProjectGuid>
 | |
|     <OutputType>WinExe</OutputType>
 | |
|     <AppDesignerFolder>Properties</AppDesignerFolder>
 | |
|     <RootNamespace>Icinga</RootNamespace>
 | |
|     <AssemblyName>Icinga2SetupAgent</AssemblyName>
 | |
|     <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
 | |
|     <FileAlignment>512</FileAlignment>
 | |
|     <TargetFrameworkProfile />
 | |
|     <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>
 | |
|     <ApplicationRevision>0</ApplicationRevision>
 | |
|     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
 | |
|     <IsWebBootstrapper>false</IsWebBootstrapper>
 | |
|     <UseApplicationTrust>false</UseApplicationTrust>
 | |
|     <BootstrapperEnabled>true</BootstrapperEnabled>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
 | |
|     <PlatformTarget>x86</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>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
 | |
|     <PlatformTarget>x86</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 Condition=" '$(Configuration)|$(Platform)' == 'RelWithDebInfo|x86' ">
 | |
|     <PlatformTarget>x86</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\RelWithDebInfo\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MinSizeRel|x86' ">
 | |
|     <PlatformTarget>x86</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\MinSizeRel\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
 | |
|     <PlatformTarget>x86</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>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
 | |
|     <PlatformTarget>x86</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 Condition=" '$(Configuration)|$(Platform)' == 'RelWithDebInfo|Win32' ">
 | |
|     <PlatformTarget>x86</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\RelWithDebInfo\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MinSizeRel|Win32' ">
 | |
|     <PlatformTarget>x86</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\MinSizeRel\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
 | |
|     <PlatformTarget>x64</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>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
 | |
|     <PlatformTarget>x64</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 Condition=" '$(Configuration)|$(Platform)' == 'RelWithDebInfo|x64' ">
 | |
|     <PlatformTarget>x64</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\RelWithDebInfo\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MinSizeRel|x64' ">
 | |
|     <PlatformTarget>x64</PlatformTarget>
 | |
|     <DebugType>pdbonly</DebugType>
 | |
|     <Optimize>true</Optimize>
 | |
|     <OutputPath>bin\MinSizeRel\</OutputPath>
 | |
|     <DefineConstants>TRACE</DefineConstants>
 | |
|     <ErrorReport>prompt</ErrorReport>
 | |
|     <WarningLevel>4</WarningLevel>
 | |
|     <Prefer32Bit>false</Prefer32Bit>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup>
 | |
|     <ApplicationIcon>icinga.ico</ApplicationIcon>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup>
 | |
|     <ApplicationManifest>app.manifest</ApplicationManifest>
 | |
|   </PropertyGroup>
 | |
|   <ItemGroup>
 | |
|     <Reference Include="System" />
 | |
|     <Reference Include="System.Data" />
 | |
|     <Reference Include="System.Drawing" />
 | |
|     <Reference Include="System.ServiceProcess" />
 | |
|     <Reference Include="System.Windows.Forms" />
 | |
|     <Reference Include="System.Xml" />
 | |
|   </ItemGroup>
 | |
|   <ItemGroup>
 | |
|     <Compile Include="GlobalZonesInputBox.cs">
 | |
|       <SubType>Form</SubType>
 | |
|     </Compile>
 | |
|     <Compile Include="GlobalZonesInputBox.Designer.cs">
 | |
|       <DependentUpon>GlobalZonesInputBox.cs</DependentUpon>
 | |
|     </Compile>
 | |
|     <Compile Include="ServiceStatus.cs">
 | |
|       <SubType>Form</SubType>
 | |
|     </Compile>
 | |
|     <Compile Include="ServiceStatus.Designer.cs">
 | |
|       <DependentUpon>ServiceStatus.cs</DependentUpon>
 | |
|     </Compile>
 | |
|     <Compile Include="SetupWizard.cs">
 | |
|       <SubType>Form</SubType>
 | |
|     </Compile>
 | |
|     <Compile Include="SetupWizard.Designer.cs">
 | |
|       <DependentUpon>SetupWizard.cs</DependentUpon>
 | |
|     </Compile>
 | |
|     <Compile Include="EndpointInputBox.cs">
 | |
|       <SubType>Form</SubType>
 | |
|     </Compile>
 | |
|     <Compile Include="EndpointInputBox.Designer.cs">
 | |
|       <DependentUpon>EndpointInputBox.cs</DependentUpon>
 | |
|     </Compile>
 | |
|     <Compile Include="Program.cs" />
 | |
|     <Compile Include="Properties\AssemblyInfo.cs" />
 | |
|     <EmbeddedResource Include="GlobalZonesInputBox.resx">
 | |
|       <DependentUpon>GlobalZonesInputBox.cs</DependentUpon>
 | |
|     </EmbeddedResource>
 | |
|     <EmbeddedResource Include="ServiceStatus.resx">
 | |
|       <DependentUpon>ServiceStatus.cs</DependentUpon>
 | |
|     </EmbeddedResource>
 | |
|     <EmbeddedResource Include="SetupWizard.resx">
 | |
|       <DependentUpon>SetupWizard.cs</DependentUpon>
 | |
|     </EmbeddedResource>
 | |
|     <EmbeddedResource Include="EndpointInputBox.resx">
 | |
|       <DependentUpon>EndpointInputBox.cs</DependentUpon>
 | |
|     </EmbeddedResource>
 | |
|     <EmbeddedResource Include="Properties\Resources.resx">
 | |
|       <Generator>ResXFileCodeGenerator</Generator>
 | |
|       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
 | |
|       <SubType>Designer</SubType>
 | |
|     </EmbeddedResource>
 | |
|     <Compile Include="Properties\Resources.Designer.cs">
 | |
|       <AutoGen>True</AutoGen>
 | |
|       <DependentUpon>Resources.resx</DependentUpon>
 | |
|       <DesignTime>True</DesignTime>
 | |
|     </Compile>
 | |
|     <None Include="app.manifest" />
 | |
|     <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="icinga-banner.png" />
 | |
|   </ItemGroup>
 | |
|   <ItemGroup>
 | |
|     <Content Include="icinga.ico" />
 | |
|   </ItemGroup>
 | |
|   <ItemGroup>
 | |
|     <BootstrapperPackage Include=".NETFramework,Version=v4.5">
 | |
|       <Visible>False</Visible>
 | |
|       <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
 | |
|       <Install>true</Install>
 | |
|     </BootstrapperPackage>
 | |
|     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
 | |
|       <Visible>False</Visible>
 | |
|       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
 | |
|       <Install>false</Install>
 | |
|     </BootstrapperPackage>
 | |
|     <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" />
 | |
|   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
 | |
|        Other similar extension points exist, see Microsoft.Common.targets.
 | |
|   <Target Name="BeforeBuild">
 | |
|   </Target>
 | |
|   <Target Name="AfterBuild">
 | |
|   </Target>
 | |
|   -->
 | |
| </Project> |