Optimize csprojs and STD plugin publishing

thanks to @Vital7 for the idea
This commit is contained in:
JustArchi
2020-11-21 18:09:05 +01:00
parent d896f16cbf
commit d9e3496e5e
8 changed files with 36 additions and 34 deletions

View File

@@ -4,12 +4,17 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="4.0.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" PrivateAssets="all" Version="4.0.0" />
<PackageReference Include="Newtonsoft.Json" IncludeAssets="compile" Version="*" />
<PackageReference Include="SteamKit2" IncludeAssets="compile" Version="*" />
<PackageReference Include="System.Composition.AttributedModel" IncludeAssets="compile" Version="*" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" IncludeAssets="compile" Version="*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ArchiSteamFarm\ArchiSteamFarm.csproj" />
<ProjectReference Include="..\ArchiSteamFarm\ArchiSteamFarm.csproj" ExcludeAssets="all" Private="false" />
</ItemGroup>
</Project>