Attempt to make packaging work

This commit is contained in:
milleniumbug 2021-12-26 22:11:32 +01:00
parent 923ef7ba5a
commit 011f7ab8f0
6 changed files with 3 additions and 24 deletions

View File

@ -2,35 +2,14 @@
<PropertyGroup> <PropertyGroup>
<LangVersion>10</LangVersion> <LangVersion>10</LangVersion>
<PackageVersion>0.2</PackageVersion> <PackageVersion>0.2.1</PackageVersion>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
</PropertyGroup> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Update="libnfd.so"> <Content Include="runtimes\**" PackagePath="runtimes" Visible="false" />
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="nfd.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="nfd.pdb">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="nfd.exp">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="nfd.lib">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup> </ItemGroup>
</Project> </Project>