Skip to content

Commit

Permalink
Add pdb to nuget (#8)
Browse files Browse the repository at this point in the history
Try to add pdb to nuget
  • Loading branch information
darthwing-duck committed Apr 19, 2023
1 parent 46fb78d commit 4ae0da1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion OpenAI.WinRT.nuspec
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>OpenAI.WinRT</id>
<version>0.0.13</version>
<version>0.0.14</version>
<title>OpenAI.WinRT</title>
<authors>Alexander Sklar</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -22,6 +22,9 @@
<file src="_build\x64\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.dll" target="runtimes/win10-x64/native" />
<file src="_build\Win32\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.dll" target="runtimes/win10-x86/native" />
<file src="_build\arm64\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.dll" target="runtimes/win10-arm64/native" />
<file src="_build\x64\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.pdb" target="runtimes/win10-x64/native" />
<file src="_build\Win32\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.pdb" target="runtimes/win10-x86/native" />
<file src="_build\arm64\$Configuration$\OpenAI.WinRT\bin\OpenAI\OpenAI.pdb" target="runtimes/win10-arm64/native" />
<file src="readme.md" />
<file src="LICENSE" />
</files>
Expand Down
3 changes: 2 additions & 1 deletion nuget/OpenAI.WinRT.targets
Expand Up @@ -14,6 +14,7 @@

<ReferenceCopyLocalPaths Condition="Exists('$(_nugetNativeFolder)OpenAI.dll')" Include="$(_nugetNativeFolder)OpenAI.dll" />
<ReferenceCopyLocalPaths Condition="Exists('$(_nugetNativeFolder)OpenAI.pri')" Include="$(_nugetNativeFolder)OpenAI.pri" />
<ReferenceCopyLocalPaths Condition="Exists('$(_nugetNativeFolder)OpenAI.pdb')" Include="$(_nugetNativeFolder)OpenAI.pdb" />
<ReferenceCopyLocalPaths Condition="$(Configuration) == 'Debug'" Include="$(_nugetNativeFolder)**\*.xbf" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 4ae0da1

Please sign in to comment.