1
1
<!-- App Settings -->
2
2
<Project >
3
3
<PropertyGroup >
4
- <!-- Default properties inherited by all projects. Projects can override. -->
5
- <RunAnalyzersDuringBuild >true</RunAnalyzersDuringBuild >
6
- <EnableNETAnalyzers >true</EnableNETAnalyzers >
7
- <AnalysisMode >AllEnabledByDefault</AnalysisMode >
8
- <AnalysisLevel >latest</AnalysisLevel >
9
- <GenerateDocumentationFile >true</GenerateDocumentationFile >
10
4
<LangVersion >12</LangVersion >
11
5
<Nullable >enable</Nullable >
12
6
<ImplicitUsings >disable</ImplicitUsings >
13
7
<RollForward >LatestMajor</RollForward >
14
8
</PropertyGroup >
15
9
16
- <PropertyGroup >
17
- <!-- Disable NuGet packaging by default. Projects can override. -->
18
- <IsPackable >disable</IsPackable >
19
- </PropertyGroup >
20
-
21
10
<PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
22
11
<DebugSymbols >true</DebugSymbols >
23
12
<DebugType >full</DebugType >
28
17
</PropertyGroup >
29
18
30
19
<PropertyGroup >
31
- <RepoRoot >$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot >
20
+ <RepoRoot >$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))/ </RepoRoot >
32
21
</PropertyGroup >
33
22
34
23
<ItemGroup >
37
26
<_Parameter1 >false</_Parameter1 >
38
27
</AssemblyAttribute >
39
28
</ItemGroup >
29
+
30
+ <!-- ################################# -->
31
+ <!-- ###### CODE ANALYSIS START ###### -->
32
+ <!-- ################################# -->
33
+
34
+ <PropertyGroup >
35
+ <!-- Default properties inherited by all projects. Projects can override. -->
36
+ <RunAnalyzersDuringBuild >true</RunAnalyzersDuringBuild >
37
+ <EnableNETAnalyzers >true</EnableNETAnalyzers >
38
+ <AnalysisMode >All</AnalysisMode >
39
+ <AnalysisLevel >latest</AnalysisLevel >
40
+ <!-- Used by IDE0005 -->
41
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
42
+ </PropertyGroup >
43
+
44
+ <ItemGroup >
45
+ <PackageReference Include =" Microsoft.CodeAnalysis.Analyzers" >
46
+ <PrivateAssets >all</PrivateAssets >
47
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
48
+ </PackageReference >
49
+ <PackageReference Include =" Microsoft.CodeAnalysis.CSharp.CodeStyle" >
50
+ <PrivateAssets >all</PrivateAssets >
51
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
52
+ </PackageReference >
53
+ <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers" >
54
+ <PrivateAssets >all</PrivateAssets >
55
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
56
+ </PackageReference >
57
+ <PackageReference Include =" Microsoft.VisualStudio.Threading.Analyzers" >
58
+ <PrivateAssets >all</PrivateAssets >
59
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
60
+ </PackageReference >
61
+ <PackageReference Include =" Roslynator.CodeAnalysis.Analyzers" >
62
+ <PrivateAssets >all</PrivateAssets >
63
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
64
+ </PackageReference >
65
+ <PackageReference Include =" Roslynator.Formatting.Analyzers" >
66
+ <PrivateAssets >all</PrivateAssets >
67
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
68
+ </PackageReference >
69
+ </ItemGroup >
70
+
71
+ <!-- ###### CODE ANALYSIS END ######## -->
72
+
73
+ <!-- ################################# -->
74
+ <!-- ###### NUGET START ############## -->
75
+ <!-- ################################# -->
76
+
77
+ <PropertyGroup Condition =" '$(Configuration)' == 'Debug' " >
78
+ <IsPackable >false</IsPackable >
79
+ <GeneratePackageOnBuild >false</GeneratePackageOnBuild >
80
+ </PropertyGroup >
81
+
82
+ <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
83
+ <!-- Central version prefix - applies to all nuget packages. -->
84
+ <Version >0.51.0</Version >
85
+
86
+ <!-- Disable NuGet packaging by default. Projects can override. -->
87
+ <IsPackable >false</IsPackable >
88
+
89
+ <!-- Default description and tags. Packages can override. -->
90
+ <OutputType >Library</OutputType >
91
+ <Authors >Microsoft</Authors >
92
+ <Company >Microsoft</Company >
93
+ <Product >Kernel Memory</Product >
94
+ <Description >Memory Service and Plugin to index and query any data using LLM and natural language, tracking sources and showing citations.</Description >
95
+ <PackageTags >Memory, RAG, Plugin, Semantic Memory, Episodic Memory, Declarative Memory, Copilot, AI, Kernel Memory, Artificial Intelligence, Embeddings, Vector DB, Vector Search, Memory DB, ETL</PackageTags >
96
+
97
+ <!-- Required license, copyright, and repo information. Packages can override. -->
98
+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
99
+ <Copyright >© Microsoft Corporation. All rights reserved.</Copyright >
100
+ <PackageProjectUrl >https://github.com/microsoft/kernel-memory</PackageProjectUrl >
101
+ <RepositoryUrl >https://github.com/microsoft/kernel-memory</RepositoryUrl >
102
+ <PublishRepositoryUrl >true</PublishRepositoryUrl >
103
+
104
+ <!-- Use icon linked below -->
105
+ <PackageIcon >icon.png</PackageIcon >
106
+ <PackageIconUrl >icon.png</PackageIconUrl >
107
+
108
+ <!-- Use readme linked by the project (csproj must include a README) -->
109
+ <PackageReadmeFile >README.md</PackageReadmeFile >
110
+
111
+ <!-- Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
112
+ <IncludeSymbols >true</IncludeSymbols >
113
+ <SymbolPackageFormat >snupkg</SymbolPackageFormat >
114
+
115
+ <!-- Embed C# sources in PDB -->
116
+ <EmbedAllSources >true</EmbedAllSources >
117
+
118
+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
119
+ </PropertyGroup >
120
+
121
+ <ItemGroup Condition =" '$(Configuration)' == 'Release' " >
122
+ <!-- SourceLink allows step-through debugging for source hosted on GitHub. -->
123
+ <!-- https://github.com/dotnet/sourcelink -->
124
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" PrivateAssets =" All" />
125
+
126
+ <None Include =" $(RepoRoot)icon.png" Link =" icon.png" Pack =" true" PackagePath =" ." Visible =" false" />
127
+ </ItemGroup >
128
+
129
+ <!-- ###### NUGET END ################ -->
40
130
</Project >
0 commit comments