openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fb7c8db437493099c85ec00d92d0f07c72fe8a86

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
3 <PropertyGroup>
4 <TargetFramework>net9.0</TargetFramework>
5 <Nullable>enable</Nullable>
6 <RootNamespace>OpenAI.Microsoft.Generator.CSharp.ClientModel.Plugin</RootNamespace>
7 <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
8 </PropertyGroup>
9
10 <ItemGroup>
11 <PackageReference Include="Microsoft.TypeSpec.Generator.ClientModel" Version="1.0.0-alpha.20251003.1" />
12 </ItemGroup>
13
14 <!-- Copy output to package dist path for local execution and -->
15 <Target Name="CopyForNpmPackage" AfterTargets="Build">
16 <Message Text="Copying output to dist path" Importance="high" />
17 <ItemGroup>
18 <SourceDir Include="$(OutputPath)**\*.*" />
19 </ItemGroup>
20 <Copy SourceFiles="@(SourceDir)" DestinationFolder="$(MSBuildThisFileDirectory)..\..\dist\generator\%(RecursiveDir)" />
21 <Copy SourceFiles="..\..\..\node_modules\@typespec\http-client-csharp\dist\generator\Microsoft.TypeSpec.Generator.runtimeconfig.json" DestinationFolder="$(MSBuildThisFileDirectory)..\..\dist\generator" />
22 </Target>
23
24</Project>
25