|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project> |
3 | 3 | <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> |
| 4 | + <Import Project="..\netfx.props" /> |
4 | 5 | <PropertyGroup> |
5 | 6 | <Version>2.0.0</Version> |
6 | 7 | <AssemblyName>Oxide.SQLite</AssemblyName> |
7 | | - <Authors>Oxide and Contributors</Authors> |
| 8 | + <Authors>Oxide Team and Contributors</Authors> |
| 9 | + <Copyright>(c) 2013-$([System.DateTime]::Now.Year) $(Authors)</Copyright> |
8 | 10 | <Description>SQLite database support for the Oxide modding framework</Description> |
9 | 11 | <RepositoryUrl>https://github.com/OxideMod/Oxide.SQLite</RepositoryUrl> |
10 | | - <PackageLicenseUrl>https://github.com/OxideMod/Oxide.SQLite/blob/develop/LICENSE.md</PackageLicenseUrl> |
11 | | - <PackageProjectUrl>https://github.com/OxideMod/Oxide.SQLite</PackageProjectUrl> |
12 | | - <PackageIconUrl>https://avatars1.githubusercontent.com/u/10712027?s=64</PackageIconUrl> |
13 | | - <Copyright>Copyright (c) 2014-$([System.DateTime]::Now.Year) $(Authors)</Copyright> |
14 | | - <PackageTags>api framework gaming modding database sqlite</PackageTags> |
15 | | - <TargetFrameworks>net461;net45;net40;net35</TargetFrameworks> |
| 12 | + <PackageIconUrl>icon.png</PackageIconUrl> |
| 13 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 14 | + <PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl> |
| 15 | + <TargetFrameworks>net35;net40;net45;net46;netstandard2.0;netstandard2.1</TargetFrameworks> |
16 | 16 | <GeneratePackageOnBuild>True</GeneratePackageOnBuild> |
17 | | - <!-- |
18 | | - Workaround for targeting net35 with dotnet CLI |
19 | | - https://github.com/Microsoft/msbuild/issues/1333#issuecomment-296346352 |
20 | | - --> |
21 | | - <FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35' And '$(OS)' == 'Windows_NT'">C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride> |
22 | | - <FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35' And '$(OS)' == 'OSX'">/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/2.0-api</FrameworkPathOverride> |
23 | | - <ThisAssemblyNamespace>Oxide.Core.SQLite</ThisAssemblyNamespace> |
| 17 | + <NoWarn>NU1701</NoWarn> |
24 | 18 | </PropertyGroup> |
25 | 19 | <ItemGroup> |
26 | | - <PackageReference Include="GitInfo" Version="2.0.*" /> |
27 | 20 | <PackageReference Include="Oxide.Core" Version="2.0.*" /> |
28 | 21 | <Reference Include="System.Data.SQLite"> |
29 | 22 | <HintPath>Dependencies\System.Data.SQLite.dll</HintPath> |
30 | 23 | </Reference> |
31 | 24 | <Content Include="Dependencies\*.*" PackagePath="lib\any" /> |
32 | 25 | <Content Include="Dependencies\x64\*.*" PackagePath="lib\any\x64" /> |
33 | 26 | <Content Include="Dependencies\x86\*.*" PackagePath="lib\any\x86" /> |
| 27 | + <None Include="..\resources\icon.png" Pack="true" PackagePath="\" /> |
34 | 28 | </ItemGroup> |
35 | 29 | <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> |
36 | 30 | <Target Name="ChangeAliasesOfStrongNameAssemblies" BeforeTargets="FindReferenceAssembliesForReferences;ResolveReferences"> |
|
0 commit comments