-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathDirectory.Build.props
27 lines (25 loc) · 1.34 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Project>
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
<StartWorkingDirectory Condition="$(MSBuildProjectName.Contains('LLamaWorker.Backend'))">..\src</StartWorkingDirectory>
<AssemblyName Condition="$(MSBuildProjectName.Contains('LLamaWorker.Backend'))">LLamaWorker</AssemblyName>
<RootNamespace Condition="$(MSBuildProjectName.Contains('LLamaWorker.Backend'))">LLamaWorker</RootNamespace>
</PropertyGroup>
<ItemGroup Condition="$(MSBuildProjectName.Contains('LLamaWorker'))">
<PackageReference Include="Nerdbank.GitVersioning" Version="3.7.115" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.Contains('LLamaWorker.Backend'))">
<PackageReference Include="LLamaSharp" Version="0.21.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.2.0" />
<ProjectReference Include="..\LLamaWorker.OpenAIModels\LLamaWorker.OpenAIModels.csproj" />
<Compile Include="..\src\**\*.cs" />
<None Include="..\src\LLamaWorker.http" />
<Content Include="..\src\appsettings*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>