You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add assembly reference for System.Net.ServerSentEvents to Export-Api.ps1 script (#757)
With the new dependency on System.Net.ServerSentEvents, the Export-Api.ps1 script now shows the following warning:
> CP1002: Could not resolve reference 'System.Net.ServerSentEvents.dll' in any of the provided search directories.
To address this warning, this change adds System.Net.ServerSentEvents as an assembly reference as part of calling GenAPI.
if ($netRef) { $genapiArgs+=@("--assembly-reference",$netRef) }
211
226
if ($systemClientModelRef) { $genapiArgs+=@("--assembly-reference",$systemClientModelRef) }
227
+
if ($systemNetServerSentEventsRef) { $genapiArgs+=@("--assembly-reference",$systemNetServerSentEventsRef) }
212
228
if ($microsoftExtensionsLoggingAbstractionsRef) { $genapiArgs+=@("--assembly-reference",$microsoftExtensionsLoggingAbstractionsRef) }
213
229
if ($microsoftExtensionsDependencyInjectionAbstractionsRef) { $genapiArgs+=@("--assembly-reference",$microsoftExtensionsDependencyInjectionAbstractionsRef) }
214
230
if ($systemMemoryDataRef) { $genapiArgs+=@("--assembly-reference",$systemMemoryDataRef) }
0 commit comments