openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/move-addresponsesclient-methods

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

codegen/generator/src/OpenAI.Library.Plugin.csproj

24lines · modecode

1<Project Sdk="Microsoft.NET.Sdk">
2 <PropertyGroup>
3 <TargetFramework>$(GeneratorTargetFrameworks)</TargetFramework>
4 <RootNamespace>OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin</RootNamespace>
5 </PropertyGroup>
6
7 <ItemGroup>
8 <PackageReference Include="Microsoft.TypeSpec.Generator.ClientModel" />
9 </ItemGroup>
10
11 <ItemGroup>
12 <EmbeddedResource Include="..\..\..\api\ga-apis.yaml" Link="ga-apis.yaml" LogicalName="ga-apis.yaml" />
13 </ItemGroup>
14
15 <!-- Copy output to package dist path for local execution and -->
16 <Target Name="CopyForNpmPackage" AfterTargets="Build">
17 <Message Text="Copying output to dist path" Importance="high" />
18 <ItemGroup>
19 <SourceDir Include="$(OutputPath)**\*.*" />
20 </ItemGroup>
21 <Copy SourceFiles="@(SourceDir)" DestinationFolder="$(MSBuildThisFileDirectory)..\..\dist\generator\%(RecursiveDir)" />
22 <Copy SourceFiles="..\..\..\node_modules\@typespec\http-client-csharp\dist\generator\Microsoft.TypeSpec.Generator.runtimeconfig.json" DestinationFolder="$(MSBuildThisFileDirectory)..\..\dist\generator" />
23 </Target>
24</Project>
25