Skip to content

Commit 3944e38

Browse files
authored
chore: Added packages.lock to csharp sdk (#1621)
Generated a project lock file for the csharp sdk to lock down package dependencies. This was done to remediate an internal vulnerability scan ticket and to allow Google to scan/manage our csharp supply chain vulnerabilities. Currently afaict, we dont have any CI running for csharp given its community supported, so there's nothing in the repo that relies on the lock file. The lockfile shouldn't need to be updated when generating a csharp sdk as we only generate api/model definitions which shouldn't depend on the csharp sdk's packages. Example generated PR: https://github.com/looker-open-source/sdk-codegen/pull/1612/files
1 parent 935dae6 commit 3944e38

File tree

2 files changed

+1101
-1
lines changed

2 files changed

+1101
-1
lines changed

csharp/csharp.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<IsPackable>false</IsPackable>
55
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
66
<LangVersion>10</LangVersion>
7+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
78
</PropertyGroup>
89
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
910
<OutputPath>bin\Debug/net6.0/</OutputPath>
@@ -15,4 +16,4 @@
1516
<PackageReference Include="coverlet.collector" Version="1.2.0" />
1617
<PackageReference Include="ini-parser-netstandard" Version="2.5.2" />
1718
</ItemGroup>
18-
</Project>
19+
</Project>

0 commit comments

Comments
 (0)