forked from NuGet/NuGet.Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNuGet.VisualStudio.Contracts.csproj
More file actions
31 lines (30 loc) · 1.9 KB
/
NuGet.VisualStudio.Contracts.csproj
File metadata and controls
31 lines (30 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(NetStandardVersion)</TargetFramework>
<!-- Preview version of Microsoft.ServiceHub.Framework causes a NU5104 warning. When upgrading to a stable version of this package, remove the below NoWarn="NU5104". -->
<NoWarn>$(NoWarn);NU5104;RS0041</NoWarn>
<SkipShared>true</SkipShared>
<PackProject>true</PackProject>
<Shipping>true</Shipping>
<IncludeInVsix>true</IncludeInVsix>
<IncludeNuGetSharedFiles>true</IncludeNuGetSharedFiles>
<RootNamespace>NuGet.VisualStudio.Contracts</RootNamespace>
<Description>RPC contracts for NuGet's Visual Studio Service Broker extensibility APIs.</Description>
<!-- VS Extensibility APIs should use package version corresponding to VS version it targets, to reduce confusion. Also keep assembly version stable to minimize binding redirect issues. -->
<PackageVersion>$(NuGetSdkVsSemanticVersion)$(PreReleaseInformationVersion)</PackageVersion>
<AssemblyVersion>$(NuGetSdkVsSemanticVersion).0</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ServiceHub.Framework" />
</ItemGroup>
<ItemGroup Label="transitive package pinning">
<!--
These packages are dependencies of directly referenced PackageReferences.
When the above PackageReferences are upgraded to newer versions, try deleting the below PackageReferences
-->
<!-- We do this to avoid the warning our build raises about keeping a consistent newtonsoft.json version. We don't need newtonsonft.json type in here, we don't use it. -->
<PackageReference Include="Newtonsoft.Json" PrivateAssets="all" ExcludeAssets="all" />
<!-- System.Text.Json is a dependency of Microsoft.ServiceHub.Framework. Remove the PackageReference once it no longer depends on a vulnerable version -->
<PackageReference Include="System.Text.Json" />
</ItemGroup>
</Project>