NuGet horror

This commit is contained in:
alterNERDtive 2021-08-10 23:24:39 +02:00
parent d9f8e8ef10
commit 765ec8b8d6
3 changed files with 38 additions and 4 deletions

View file

@ -11,7 +11,10 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="StyleCop.Analyzers.Error" Version="1.0.2" /> <PackageReference Include="StyleCop.Analyzers.Error" Version="1.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.CSharp.Async.Rules" Version="6.1.41"> <PackageReference Include="StyleCop.CSharp.Async.Rules" Version="6.1.41">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

View file

@ -2,16 +2,47 @@
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net48;net5.0</TargetFrameworks> <TargetFrameworks>net48;net5.0</TargetFrameworks>
<PackageId>alterNERDtive.EDNA</PackageId>
<Version>0.0.1</Version>
<Company>alterNERDtive</Company>
<Authors>alteNERDtive</Authors>
<Description>EDNA is a site-agnostic library for accessing 3rd-party information about star systems in Elite Dangerous.</Description>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<PackageProjectUrl>https://alterNERDtive.github.io/EDNA</PackageProjectUrl>
<Copyright>© 2021 alterNERDtive</Copyright>
<PackageIcon>glider.jpg</PackageIcon>
<PackageIconUrl />
<RepositoryUrl>https://github.com/alterNERDtive/EDNA</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>Elite, EDSM, Spansh, EDTS</PackageTags>
<NeutralLanguage>en</NeutralLanguage>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\EDSM\EDSM.csproj" /> <ProjectReference Include="..\EDSM\EDSM.csproj" PrivateAssets="All" />
<ProjectReference Include="..\EDTS\EDTS.csproj" /> <ProjectReference Include="..\EDTS\EDTS.csproj" PrivateAssets="All" />
<ProjectReference Include="..\Spansh\Spansh.csproj" /> <ProjectReference Include="..\Spansh\Spansh.csproj" PrivateAssets="All" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<None Include="..\glider.jpg">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project> </Project>

BIN
glider.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB