11<!-- App Settings -->
22<Project >
33 <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 >
104 <LangVersion >12</LangVersion >
115 <Nullable >enable</Nullable >
126 <ImplicitUsings >disable</ImplicitUsings >
137 <RollForward >LatestMajor</RollForward >
148 </PropertyGroup >
159
16- <PropertyGroup >
17- <!-- Disable NuGet packaging by default. Projects can override. -->
18- <IsPackable >disable</IsPackable >
19- </PropertyGroup >
20-
2110 <PropertyGroup Condition =" '$(Configuration)' == 'Release' " >
2211 <DebugSymbols >true</DebugSymbols >
2312 <DebugType >full</DebugType >
2817 </PropertyGroup >
2918
3019 <PropertyGroup >
31- <RepoRoot >$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))</RepoRoot >
20+ <RepoRoot >$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('.gitignore', '$(MSBuildThisFileDirectory)'))))/ </RepoRoot >
3221 </PropertyGroup >
3322
3423 <ItemGroup >
3726 <_Parameter1 >false</_Parameter1 >
3827 </AssemblyAttribute >
3928 </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 ################ -->
40130</Project >
0 commit comments