Files
C4IT-F4SD-M42WebApi/Legacy/F4SDM42WebApi/F4SD - M42WebApi.Legacy.csproj
2026-07-23 12:47:28 +02:00

72 lines
4.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<OutputType>Library</OutputType>
<RootNamespace>C4IT.F4SDM</RootNamespace>
<AssemblyName>C4ITF4SDM42WebApi</AssemblyName>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<LangVersion>7.3</LangVersion>
<Configurations>Debug;Release;Release_signed</Configurations>
<M42LegacyLibrariesDir Condition="'$(M42LegacyLibrariesDir)' == ''">$(MSBuildProjectDirectory)\..\M42Libraries\12.1.3</M42LegacyLibrariesDir>
<M42BuildPackage>true</M42BuildPackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release' Or '$(Configuration)' == 'Release_signed'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release_signed'">
<M42SignAssemblies>true</M42SignAssemblies>
</PropertyGroup>
<ItemGroup>
<Reference Include="Matrix42.Common"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Common.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Matrix42.Contracts.Common"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Contracts.Common.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Matrix42.Contracts.Platform"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Contracts.Platform.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Matrix42.Contracts.ServiceManagement"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Contracts.ServiceManagement.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Matrix42.Pandora.Contracts"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Pandora.Contracts.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Matrix42.Services.Description.Contracts"><HintPath>$(M42LegacyLibrariesDir)\Matrix42.Services.Description.Contracts.dll</HintPath><Private>false</Private></Reference>
<Reference Include="Newtonsoft.Json"><HintPath>$(M42LegacyLibrariesDir)\Newtonsoft.Json.dll</HintPath><Private>false</Private></Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.IO.Compression" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Http"><HintPath>$(M42LegacyLibrariesDir)\System.Web.Http.dll</HintPath><Private>false</Private></Reference>
<Reference Include="System.Web.OData"><HintPath>$(M42LegacyLibrariesDir)\System.Web.OData.dll</HintPath><Private>false</Private></Reference>
<Reference Include="update4u.SPS.DataLayer"><HintPath>$(M42LegacyLibrariesDir)\update4u.SPS.DataLayer.dll</HintPath><Private>false</Private></Reference>
<Reference Include="update4u.SPS.Utility"><HintPath>$(M42LegacyLibrariesDir)\update4u.SPS.Utility.dll</HintPath><Private>false</Private></Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\F4SDHelper\F4SD - Helper.Legacy.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="cM42LogEntry.cs" />
<Compile Include="TicketFilterService.cs" />
<Compile Include="F4SDHelperService.cs" />
<Compile Include="F4SDM42WebApiController.cs" />
<Compile Include="..\..\Shared\TicketFilterCompiler.cs"><Link>Shared\TicketFilterCompiler.cs</Link></Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="..\..\SharedAssemblyInfo.cs"><Link>Properties\SharedAssemblyInfo.cs</Link></Compile>
</ItemGroup>
<Target Name="ValidateLegacyMatrix42References" BeforeTargets="ResolveReferences">
<Error Condition="!Exists('$(M42LegacyLibrariesDir)\Matrix42.Common.dll')"
Text="Legacy Matrix42 references not found. Set M42LegacyLibrariesDir to the 12.1.3 reference directory." />
</Target>
<Import Project="..\M42LegacyExtension.targets" Condition="Exists('..\M42LegacyExtension.targets')" />
</Project>