openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/OpenAI.csproj
51lines · modecode
| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> |
| 3 | <Description>This is the OpenAI client library for developing .NET applications with rich experience.</Description> |
| 4 | <AssemblyTitle>SDK Code Generation OpenAI</AssemblyTitle> |
| 5 | <PackageTags>OpenAI</PackageTags> |
| 6 | |
| 7 | <VersionPrefix>2.0.0</VersionPrefix> |
| 8 | <VersionSuffix>beta.1</VersionSuffix> |
| 9 | |
| 10 | <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks> |
| 11 | <LangVersion>latest</LangVersion> |
| 12 | |
| 13 | <!-- Sign the assembly with the specified key file. --> |
| 14 | <SignAssembly>true</SignAssembly> |
| 15 | <AssemblyOriginatorKeyFile>OpenAI.snk</AssemblyOriginatorKeyFile> |
| 16 | |
| 17 | <!-- Generate an XML documentation file for the project. --> |
| 18 | <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 19 | |
| 20 | <!-- Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) --> |
| 21 | <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 22 | <PackageIcon>OpenAI.png</PackageIcon> |
| 23 | <PackageReadmeFile>README.md</PackageReadmeFile> |
| 24 | |
| 25 | <!-- Create a .snupkg file in addition to the .nupkg file. --> |
| 26 | <IncludeSymbols>true</IncludeSymbols> |
| 27 | <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 28 | |
| 29 | <!-- Embed source files that are not tracked by the source control manager in the PDB --> |
| 30 | <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 31 | </PropertyGroup> |
| 32 | |
| 33 | <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> |
| 34 | <!-- Normalize stored file paths in symbols when in a CI build. --> |
| 35 | <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> |
| 36 | |
| 37 | <!-- Disable missing XML documentation warnings --> |
| 38 | <NoWarn>$(NoWarn),1570,1573,1574,1591</NoWarn> |
| 39 | </PropertyGroup> |
| 40 | |
| 41 | <ItemGroup> |
| 42 | <None Include="OpenAI.png" Pack="true" PackagePath="\" /> |
| 43 | <None Include="..\README.md" Pack="true" PackagePath="\" /> |
| 44 | </ItemGroup> |
| 45 | |
| 46 | <ItemGroup> |
| 47 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> |
| 48 | <PackageReference Include="System.ClientModel" Version="1.1.0-beta.4" /> |
| 49 | <PackageReference Include="System.Text.Json" Version="8.0.2" /> |
| 50 | </ItemGroup> |
| 51 | </Project> |
| 52 | |