Skip to content

Commit

Permalink
Added a web.config file with a bindingredirect - it gets placed into …
Browse files Browse the repository at this point in the history
…IdentityModelBindingIssue.Exe.Config (bin/debug/net472 folder) but the exception still remains
  • Loading branch information
Marcel Studer committed Nov 13, 2018
1 parent 15f80e0 commit 4312b08
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions IdentityModelBindingIssue/IdentityModelBindingIssue.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<AutoGenerateBindingRedirects>True</AutoGenerateBindingRedirects>
</PropertyGroup>

<ItemGroup>
Expand Down
23 changes: 23 additions & 0 deletions IdentityModelBindingIssue/web.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>

<!-- To customize the asp.net core module uncomment and edit the following section.
For more info see https://go.microsoft.com/fwlink/?linkid=838655 -->
<!--
<system.webServer>
<handlers>
<remove name="aspNetCore"/>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
</handlers>
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
</system.webServer>
-->
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="IdentityModel" publicKeyToken="e7877f4675df049f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.10.0.0" newVersion="3.10.1.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

0 comments on commit 4312b08

Please sign in to comment.