Skip to content

Commit 7e4d0fa

Browse files
committed
misc: prevent automatic updates for PolySharp package
1 parent 97a5c8a commit 7e4d0fa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Yubico.Core/src/Yubico.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ limitations under the License. -->
119119
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
120120
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />
121121
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
122-
<PackageReference Include="PolySharp" Version="1.15.0">
122+
<!-- Before updating PolySharp, we should do some due dilligence on the update -->
123+
<PackageReference Include="PolySharp" Version="1.15.0" AllowUpdates="false">
123124
<PrivateAssets>all</PrivateAssets>
124125
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
125126
</PackageReference>
@@ -128,7 +129,6 @@ limitations under the License. -->
128129
<PackageReference Include="System.Security.Principal.Windows" Version="5.0.0" />
129130
<!-- The wildcard version tag allows us to include the latest minor and pre-release versions -->
130131
<PackageReference Include="Yubico.NativeShims" Version="1.*-*" />
131-
<!-- <ProjectReference Include="..\..\Yubico.DotNetPolyfills\src\Yubico.DotNetPolyfills.csproj" />-->
132132
</ItemGroup>
133133

134134
<ItemGroup Label="Expose internal test hooks to Unit Test projects">

Yubico.YubiKey/src/Yubico.YubiKey.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ limitations under the License. -->
126126
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
127127
</PackageReference>
128128

129-
<PackageReference Include="PolySharp" Version="1.15.0">
129+
<!-- Before updating PolySharp, we should do some due dilligence on the update -->
130+
<PackageReference Include="PolySharp" Version="1.15.0" AllowUpdates="false">
130131
<PrivateAssets>all</PrivateAssets>
131132
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
132133
</PackageReference>

0 commit comments

Comments
 (0)