Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 98ef3cf

Browse files
author
Geoff Kizer
committed
fix linux build
1 parent 5d209e6 commit 98ef3cf

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

src/System.Net.Http/src/Resources/Strings.resx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,4 +429,28 @@
429429
<data name="net_http_authconnectionfailure" xml:space="preserve">
430430
<value>Authentication failed because the connection could not be reused.</value>
431431
</data>
432+
<data name="net_nego_server_not_supported" xml:space="preserve">
433+
<value>Server implementation is not supported</value>
434+
</data>
435+
<data name="net_nego_protection_level_not_supported" xml:space="preserve">
436+
<value>Requested protection level is not supported with the gssapi implementation currently installed.</value>
437+
</data>
438+
<data name="net_context_buffer_too_small" xml:space="preserve">
439+
<value>Insufficient buffer space. Required: {0} Actual: {1}.</value>
440+
</data>
441+
<data name="net_gssapi_operation_failed_detailed" xml:space="preserve">
442+
<value>GSSAPI operation failed with error - {0} ({1}).</value>
443+
</data>
444+
<data name="net_gssapi_operation_failed" xml:space="preserve">
445+
<value>GSSAPI operation failed with status: {0} (Minor status: {1}).</value>
446+
</data>
447+
<data name="net_nego_channel_binding_not_supported" xml:space="preserve">
448+
<value>No support for channel binding on operating systems other than Windows.</value>
449+
</data>
450+
<data name="net_ntlm_not_possible_default_cred" xml:space="preserve">
451+
<value>NTLM authentication is not possible with default credentials on this platform.</value>
452+
</data>
453+
<data name="net_nego_not_supported_empty_target_with_defaultcreds" xml:space="preserve">
454+
<value>Target name should be non empty if default credentials are passed.</value>
455+
</data>
432456
</root>

src/System.Net.Http/src/System.Net.Http.csproj

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@
214214
<ItemGroup Condition=" '$(TargetsUnix)' == 'true' And '$(TargetGroup)' == 'netcoreapp'">
215215
<Compile Include="System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Unix.cs" />
216216
<Compile Include="System\Net\Http\SocketsHttpHandler\HttpEnvironmentProxy.cs" />
217+
<Compile Include="$(CommonPath)\System\Net\ContextAwareResult.Unix.cs">
218+
<Link>Common\System\Net\ContextAwareResult.Unix.cs</Link>
219+
</Compile>
220+
<Compile Include="$(CommonPath)\System\Net\ContextFlagsAdapterPal.Unix.cs">
221+
<Link>Common\System\Net\ContextFlagsAdapterPal.Unix.cs</Link>
222+
</Compile>
217223
<Compile Include="$(CommonPath)\System\Net\Security\Unix\SafeFreeCredentials.cs">
218224
<Link>Common\System\Net\Security\Unix\SafeFreeCredentials.cs</Link>
219225
</Compile>
@@ -223,6 +229,24 @@
223229
<Compile Include="$(CommonPath)\System\Net\Security\NegotiateStreamPal.Unix.cs">
224230
<Link>Common\System\Net\Security\NegotiateStreamPal.Unix.cs</Link>
225231
</Compile>
232+
<Compile Include="$(CommonPath)\Microsoft\Win32\SafeHandles\GssSafeHandles.cs">
233+
<Link>Common\Microsoft\Win32\SafeHandles\GssSafeHandles.cs</Link>
234+
</Compile>
235+
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Security.Native\Interop.GssApiException.cs">
236+
<Link>Common\Interop\Unix\System.Net.Security.Native\Interop.GssApiException.cs</Link>
237+
</Compile>
238+
<Compile Include="$(CommonPath)\System\Net\Security\Unix\SafeFreeNegoCredentials.cs">
239+
<Link>Common\System\Net\Security\Unix\SafeFreeNegoCredentials.cs</Link>
240+
</Compile>
241+
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs">
242+
<Link>Common\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs</Link>
243+
</Compile>
244+
<Compile Include="$(CommonPath)\Interop\Unix\System.Net.Security.Native\Interop.GssBuffer.cs">
245+
<Link>Common\Interop\Unix\System.Net.Security.Native\Interop.GssBuffer.cs</Link>
246+
</Compile>
247+
<Compile Include="$(CommonPath)\System\Net\Security\Unix\SafeDeleteNegoContext.cs">
248+
<Link>Common\System\Net\Security\Unix\SafeDeleteNegoContext.cs</Link>
249+
</Compile>
226250
</ItemGroup>
227251
<ItemGroup Condition=" '$(TargetsWindows)' == 'true' And '$(TargetGroup)' == 'netcoreapp'">
228252
<Compile Include="System\Net\Http\SocketsHttpHandler\SystemProxyInfo.Windows.cs" />

0 commit comments

Comments
 (0)