Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
47 lines (45 loc) · 2.84 KB
/
Copy pathDirectory.Build.props
File metadata and controls
47 lines (45 loc) · 2.84 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Deterministic>true</Deterministic>
<!-- In CI, paths in the binaries and symbols are normalized, so a build can be reproduced from the same commit. -->
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Label="Locked restore">
<!--
Every project records the exact version and content hash of each package it restores in packages.lock.json.
CI, the release, the container build and deploy/publish-desktop.sh restore in locked mode, so they fail rather
than use a package (direct or transitive) that the lock files do not name. A normal restore updates them: commit
the changed lock files with the change to Directory.Packages.props or a project file. File-based programs
(a single .cs file run with `dotnet run`) have none: they would all write one packages.lock.json into their folder.
-->
<RestorePackagesWithLockFile Condition="'$(FileBasedProgram)' != 'true'">true</RestorePackagesWithLockFile>
<!--
The runtimes deploy/publish-desktop.sh publishes the desktop app for. `dotnet publish -r <rid>` restores the app
and every project it references for that runtime, and a locked restore passes only if each lock file has a
section for it. So the app and the libraries it is built from list these as their RuntimeIdentifiers (the
libraries stay IsRidAgnostic, built once for every runtime as before). Add a runtime here before publishing for it.
-->
<DesktopRuntimeIdentifiers>win-x64;win-arm64;osx-x64;osx-arm64;linux-x64;linux-arm64</DesktopRuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Label="Package metadata">
<!--
The next release. CI packs without a version, so its packages carry this one, and package validation needs it
above the last release (Directory.Build.targets). The release itself takes the version from its tag. Move it on
after each release (docs/releases.md#after-a-release).
-->
<VersionPrefix>0.6.0</VersionPrefix>
<Authors>SemanticRouter.NET contributors</Authors>
<!-- As in LICENSE. Also the assemblies' copyright attribute. -->
<Copyright>Copyright (c) 2026 Andrew Siebert</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/siebe41/SemanticRouter.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/siebe41/SemanticRouter.NET</RepositoryUrl>
<PackageTags>llm;routing;semantic-router;embeddings;aspnetcore;ollama</PackageTags>
</PropertyGroup>
</Project>