Skip to content

Commit 7f81a1a

Browse files
Add AWSSDK.Extensions.CborProtocol to services that uses CBOR protocol (#3955)
1 parent 98d1642 commit 7f81a1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

generator/ServiceClientGeneratorLib/GeneratorDriver.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,10 @@ void GenerateNuspec()
11711171
}
11721172
}
11731173

1174+
if (Configuration.ServiceModel.Type == ServiceType.Cbor)
1175+
{
1176+
awsDependencies.Add(string.Format("AWSSDK.Extensions.CborProtocol"), "[4.0.0.0, 5.0)");
1177+
}
11741178

11751179
var nugetAssemblyName = Configuration.AssemblyTitle;
11761180
var nugetAssemblyTitle = Configuration.AssemblyTitle.Replace("AWSSDK.", "AWSSDK - ");

0 commit comments

Comments
 (0)