using System.Text.RegularExpressions;
using System.Collections.Generic;
public static void Main()
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.Cryptography.Internal, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.Cryptography.Internal.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.Cryptography.Internal.7.0.3\lib\net462\Microsoft.AspNetCore.Cryptography.Internal.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.DataProtection.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.DataProtection.7.0.3\lib\net462\Microsoft.AspNetCore.DataProtection.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.DataProtection.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.DataProtection.Abstractions.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.DataProtection.Abstractions.7.0.3\lib\net462\Microsoft.AspNetCore.DataProtection.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.Http.Features, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.Http.Features.dll] to Version "5.0.17.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.Http.Features.5.0.17\lib\net461\Microsoft.AspNetCore.Http.Features.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Bcl.AsyncInterfaces.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Data.Edm, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.8.5.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Data.Edm.5.8.5\lib\net40\Microsoft.Data.Edm.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Data.OData, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.8.5.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Data.OData.5.8.5\lib\net40\Microsoft.Data.OData.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Configuration.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Configuration.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Configuration.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Configuration.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.DependencyInjection, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.DependencyInjection.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.DependencyInjection.7.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.DependencyInjection.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.DependencyInjection.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.DependencyInjection.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.FileProviders.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.FileProviders.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.FileProviders.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.FileProviders.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Logging.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Logging.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Options, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Options.dll] to Version "7.0.0.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Options.7.0.1\lib\net462\Microsoft.Extensions.Options.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Primitives, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "5.0.0.1" [] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Primitives.7.0.0\lib\net462\Microsoft.Extensions.Primitives.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.IdentityModel.Protocols, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.3.0.0" [] to Version "6.32.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.IdentityModel.Protocols.6.32.2\lib\net472\Microsoft.IdentityModel.Protocols.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.IdentityModel.Protocols.OpenIdConnect, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.3.0.0" [] to Version "6.32.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.IdentityModel.Protocols.OpenIdConnect.6.32.2\lib\net472\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.IdentityModel.Tokens, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.3.0.0" [] to Version "6.32.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.IdentityModel.Tokens.6.32.2\lib\net472\Microsoft.IdentityModel.Tokens.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Owin, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "2.1.0.0" [] to Version "4.2.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Owin.4.2.2\lib\net45\Microsoft.Owin.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Owin.Security, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "2.1.0.0" [] to Version "4.2.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Owin.Security.4.2.2\lib\net45\Microsoft.Owin.Security.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Win32.Registry, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Win32.Registry.dll] to Version "5.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Win32.Registry.5.0.0\lib\net461\Microsoft.Win32.Registry.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Newtonsoft.Json, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" from Version "10.0.0.0" [] to Version "13.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.IdentityModel.Tokens.Jwt, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.3.0.0" [] to Version "6.32.2.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.IdentityModel.Tokens.Jwt.6.32.2\lib\net472\System.IdentityModel.Tokens.Jwt.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.IO.Pipelines, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "5.0.0.0" [] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.IO.Pipelines.7.0.0\lib\net462\System.IO.Pipelines.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Memory, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "4.0.1.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Memory.dll] to Version "4.0.1.2" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Net.Http.Formatting, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.2.2.0" [] to Version "5.2.9.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNet.WebApi.Client.5.2.9\lib\net45\System.Net.Http.Formatting.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Runtime.CompilerServices.Unsafe, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.0.4.1" [] to Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Security.Cryptography.Xml, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "4.0.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Security.Cryptography.Xml.dll] to Version "7.0.0.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Security.Cryptography.Xml.7.0.1\lib\net462\System.Security.Cryptography.Xml.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Security.Principal.Windows, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Security.Principal.Windows.dll] to Version "5.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Spatial, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.8.5.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Spatial.5.8.5\lib\net40\System.Spatial.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Text.Encodings.Web, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Text.Encodings.Web.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Text.Encodings.Web.7.0.0\lib\net462\System.Text.Encodings.Web.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Text.Json, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Text.Json.dll] to Version "7.0.0.2" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Text.Json.7.0.2\lib\net462\System.Text.Json.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Web.Cors, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.0.0.0" [] to Version "5.2.9.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNet.Cors.5.2.9\lib\net45\System.Web.Cors.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Web.Http, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.2.2.0" [] to Version "5.2.9.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNet.WebApi.Core.5.2.9\lib\net45\System.Web.Http.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.Cryptography.Internal, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.Cryptography.Internal.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.Cryptography.Internal.7.0.3\lib\net462\Microsoft.AspNetCore.Cryptography.Internal.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.DataProtection, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.DataProtection.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.DataProtection.7.0.3\lib\net462\Microsoft.AspNetCore.DataProtection.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.DataProtection.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.DataProtection.Abstractions.dll] to Version "7.0.3.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.DataProtection.Abstractions.7.0.3\lib\net462\Microsoft.AspNetCore.DataProtection.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.AspNetCore.Http.Features, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.AspNetCore.Http.Features.dll] to Version "5.0.17.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.AspNetCore.Http.Features.5.0.17\lib\net461\Microsoft.AspNetCore.Http.Features.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Bcl.AsyncInterfaces, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Bcl.AsyncInterfaces.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Configuration.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Configuration.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Configuration.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Configuration.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.DependencyInjection, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.DependencyInjection.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.DependencyInjection.7.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.DependencyInjection.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.DependencyInjection.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.DependencyInjection.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.FileProviders.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.FileProviders.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.FileProviders.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.FileProviders.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Logging.Abstractions, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Logging.Abstractions.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Logging.Abstractions.7.0.0\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Extensions.Options, Culture=neutral, PublicKeyToken=adb9793829ddae60" from Version "2.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Extensions.Options.dll] to Version "7.0.0.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Extensions.Options.7.0.1\lib\net462\Microsoft.Extensions.Options.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "Microsoft.Win32.Registry, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\Microsoft.Win32.Registry.dll] to Version "5.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\Microsoft.Win32.Registry.5.0.0\lib\net461\Microsoft.Win32.Registry.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Memory, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "4.0.1.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Memory.dll] to Version "4.0.1.2" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Security.Cryptography.Xml, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "4.0.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Security.Cryptography.Xml.dll] to Version "7.0.0.1" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Security.Cryptography.Xml.7.0.1\lib\net462\System.Security.Cryptography.Xml.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Security.Principal.Windows, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.1.1.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Security.Principal.Windows.dll] to Version "5.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Text.Encodings.Web, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Text.Encodings.Web.dll] to Version "7.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Text.Encodings.Web.7.0.0\lib\net462\System.Text.Encodings.Web.dll] to solve conflict and get rid of warning.
1> Consider app.config remapping of assembly "System.Text.Json, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" from Version "6.0.0.0" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\Coterra.Architecture\bin\Debug\net472\System.Text.Json.dll] to Version "7.0.0.2" [C:\Dev\Repos\SoftwareDevelopment\CentralAuthenticationService\Code\packages\System.Text.Json.7.0.2\lib\net462\System.Text.Json.dll] to solve conflict and get rid of warning.
<assemblyIdentity name="{0}" publicKeyToken="{1}" culture="{2}" />
<bindingRedirect oldVersion="0.0.0.0-{3}" newVersion="{3}" />
<PackageReference Include="{0}" Version="{1}" />
var replaceProcessTypeRegex = new Regex("assembly \"(\\S+), Culture=(\\S+), PublicKeyToken=(\\S+)\" from Version .* \\[] to Version \"(\\S+)\"");
var matches = replaceProcessTypeRegex.Matches(contents);
var outputBinding = new Dictionary<string, string>();
var outputPackageRef = new Dictionary<string, string>();
foreach(Match match in matches)
outputBinding[match.Groups[1].ToString()] = string.Format(binding, match.Groups[1], match.Groups[3], match.Groups[2], match.Groups[4]);
outputPackageRef[match.Groups[1].ToString()] = string.Format(packgeRef, match.Groups[1], match.Groups[4]);
foreach(var kvp in outputBinding)
Console.WriteLine(kvp.Value);
foreach(var kvp in outputPackageRef)
Console.WriteLine(kvp.Value);
Console.WriteLine(matches);