47 lines
1.9 KiB
XML
47 lines
1.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>C4IT.F4SDM</RootNamespace>
|
|
<AssemblyName>C4ITF4SDM42WebApiHelper</AssemblyName>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<LangVersion>latestmajor</LangVersion>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
|
<Configurations>Debug;Release;Debug_and_copy;Release_and_copy;Release_signed</Configurations>
|
|
<F4SDCommonRoot Condition="'$(F4SDCommonRoot)' == ''">$(MSBuildProjectDirectory)\..\..\_Common</F4SDCommonRoot>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release_signed'">
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>..\F4SDM42WebApi\M42Libraries\26.1\Newtonsoft.Json.dll</HintPath>
|
|
<Private>false</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="..\..\..\Common Code\Logging\C4IT.Logging.LogManager.cs">
|
|
<Link>Common\C4IT.Logging.LogManager.cs</Link>
|
|
</Compile>
|
|
<Compile Include="$(F4SDCommonRoot)\C4IT.F4SD.Base.Ticket.cs">
|
|
<Link>Common\C4IT.F4SD.Base.Ticket.cs</Link>
|
|
</Compile>
|
|
<Compile Include="Common\C4IT.F4SD.WebApi.Contracts.cs" />
|
|
<Compile Include="..\SharedAssemblyInfo.cs">
|
|
<Link>Properties\SharedAssemblyInfo.cs</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<Target Name="ValidateF4SDCommonSources" BeforeTargets="PrepareForBuild">
|
|
<Error Condition="!Exists('$(F4SDCommonRoot)\C4IT.F4SD.Base.Ticket.cs')"
|
|
Text="Shared F4SD contract source not found. Set F4SDCommonRoot to the _Common directory containing C4IT.F4SD.Base.Ticket.cs." />
|
|
</Target>
|
|
|
|
</Project>
|