I have two MVC Websites in my Solution, converted to MVC5. For an specific test, I need both sites running, because one communicates with the other via Web API. They are using IIS Express to run.
When I start one of them inside Visual Studio (2012) and access the started one, everything works fine. When I try to access the other one, I have the following message:
Attempt by security transparent method 'Microsoft.Web.Helpers.PreApplicationStartCode.Start()' to access security critical method 'System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)' failed.
As suggested by other answers, I updated all my packages and uninstalled DotNetOpenAuth
packages from one of them, with no result.
This is the package.config
at site #1:
<?xml version="1.0" encoding="utf-8"?><packages><package id="AntiXSS" version="4.2.1" targetFramework="net45" /><package id="Antlr" version="3.4.1.9004" targetFramework="net45" /><package id="BeginCollectionItem" version="1.2.1.0" targetFramework="net45" /><package id="Code52.i18n.MVC4" version="0.2.8" targetFramework="net45" /><package id="CSS-Filters-Polyfill" version="1.0.0" targetFramework="net45" /><package id="DotNet.Highcharts" version="2.0" targetFramework="net45" /><package id="DotNetOpenAuth.AspNet" version="4.3.4.13329" targetFramework="net45" /><package id="DotNetOpenAuth.Core" version="4.3.4.13329" targetFramework="net45" /><package id="DotNetOpenAuth.OAuth.Consumer" version="4.3.4.13329" targetFramework="net45" /><package id="DotNetOpenAuth.OAuth.Core" version="4.3.4.13329" targetFramework="net45" /><package id="DotNetOpenAuth.OpenId.Core" version="4.3.4.13329" targetFramework="net45" /><package id="DotNetOpenAuth.OpenId.RelyingParty" version="4.3.4.13329" targetFramework="net45" /><package id="EntityFramework" version="6.0.1" targetFramework="net45" /><package id="Facebook" version="6.4.2" targetFramework="net45" /><package id="Faker" version="1.2" targetFramework="net45" /><package id="Faker.Net" version="1.0.3" targetFramework="net45" /><package id="Galleria.js" version="1.2.9" targetFramework="net45" /><package id="HtmlAgilityPack" version="1.4.6" targetFramework="net45" /><package id="ImageResizer" version="3.3.3" targetFramework="net45" /><package id="iTextSharp" version="4.1.2" targetFramework="net45" /><package id="jQuery" version="1.10.2" targetFramework="net45" /><package id="jQuery.Cookie" version="1.3.1" targetFramework="net45" /><package id="jQuery.MaskedInput" version="1.3.1.1" targetFramework="net45" /><package id="jQuery.UI.Combined" version="1.10.3" targetFramework="net45" /><package id="jQuery.Validation" version="1.8.1" targetFramework="net45" /><package id="jquery-globalize" version="0.1.3" targetFramework="net45" /><package id="knockoutjs" version="2.2.1" targetFramework="net45" /><package id="Microsoft.AspNet.Mvc" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.Providers" version="1.1" targetFramework="net45" /><package id="Microsoft.AspNet.Providers.Core" version="1.0" targetFramework="net45" /><package id="Microsoft.AspNet.Razor" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.Web.Optimization" version="1.1.0" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.Client" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.Core" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.WebHost" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebHelpers" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages.Data" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages.OAuth" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages.WebData" version="3.1.1" targetFramework="net45" /><package id="Microsoft.Bcl" version="1.1.6" targetFramework="net45" /><package id="Microsoft.Bcl.Build" version="1.0.13" targetFramework="net45" /><package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.30506.0" targetFramework="net45" /><package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.30506.0" targetFramework="net45" /><package id="Microsoft.Net.Http" version="2.2.18" targetFramework="net45" /><package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" /><package id="ModelMetadataExtensionsWithBugfix" version="0.1.2" targetFramework="net45" /><package id="Modernizr" version="2.6.2" targetFramework="net45" /><package id="Moq" version="4.0.10827" targetFramework="net45" /><package id="morelinq" version="1.0.16006" targetFramework="net45" /><package id="MvcMailer" version="4.5" targetFramework="net45" /><package id="MvcScaffolding" version="1.0.9" targetFramework="net45" /><package id="Newtonsoft.Json" version="5.0.8" targetFramework="net45" /><package id="PagedList" version="1.16.0.0" targetFramework="net45" /><package id="PagedList.Mvc" version="4.3.0.0" targetFramework="net45" /><package id="RazorGenerator.Mvc" version="2.1.1" targetFramework="net45" /><package id="RazorGenerator.Testing" version="2.1.1" targetFramework="net45" /><package id="RazorPDF" version="1.0.0" targetFramework="net45" /><package id="ReflectionMagic" version="2.0.0" targetFramework="net45" /><package id="RestSharp" version="104.1" targetFramework="net45" /><package id="SendGrid" version="1.1.1" targetFramework="net45" /><package id="System.Management.Automation" version="6.1.7601.17515" targetFramework="net45" /><package id="System.Web.Providers" version="1.2" targetFramework="net45" /><package id="T4Scaffolding" version="1.0.8" targetFramework="net45" /><package id="T4Scaffolding.Core" version="1.0.0" targetFramework="net45" /><package id="WebActivator" version="1.5.3" targetFramework="net45" /><package id="WebActivatorEx" version="2.0.4" targetFramework="net45" /><package id="WebGrease" version="1.6.0" targetFramework="net45" /></packages>
And packages.config
at site #2:
<?xml version="1.0" encoding="utf-8"?><packages><package id="Antlr" version="3.4.1.9004" targetFramework="net45" /><package id="BeginCollectionItem" version="1.2.1.0" targetFramework="net45" /><package id="CSS-Filters-Polyfill" version="1.0.0" targetFramework="net45" /><package id="EntityFramework" version="6.0.1" targetFramework="net45" /><package id="Facebook" version="6.1.4" targetFramework="net45" /><package id="ImageResizer" version="3.4.2" targetFramework="net45" /><package id="jQuery" version="1.9.1" targetFramework="net45" /><package id="jQuery.MaskedInput" version="1.3.1.1" targetFramework="net45" /><package id="jQuery.UI.Combined" version="1.10.3" targetFramework="net45" /><package id="jQuery.Validation" version="1.9.0.1" targetFramework="net45" /><package id="jQuery-Timepicker-Addon" version="1.0.0" targetFramework="net45" /><package id="knockoutjs" version="2.1.0" targetFramework="net45" /><package id="Microsoft.AspNet.Mvc" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.Mvc.Facebook" version="5.0.0" targetFramework="net45" /><package id="Microsoft.AspNet.Razor" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.Web.Optimization" version="1.1.2" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.Client" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.Core" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.HelpPage" version="5.0.0" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.OData" version="5.0.0" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.SelfHost" version="5.0.0" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.Tracing" version="5.0.0" targetFramework="net45" /><package id="Microsoft.AspNet.WebApi.WebHost" version="5.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebHelpers" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages.Data" version="3.1.1" targetFramework="net45" /><package id="Microsoft.AspNet.WebPages.WebData" version="3.1.1" targetFramework="net45" /><package id="Microsoft.Bcl" version="1.1.6" targetFramework="net45" /><package id="Microsoft.Bcl.Build" version="1.0.13" targetFramework="net45" /><package id="Microsoft.Data.Edm" version="5.6.0" targetFramework="net45" /><package id="Microsoft.Data.OData" version="5.6.0" targetFramework="net45" /><package id="Microsoft.jQuery.Unobtrusive.Ajax" version="2.0.20710.0" targetFramework="net45" /><package id="Microsoft.jQuery.Unobtrusive.Validation" version="2.0.20710.0" targetFramework="net45" /><package id="Microsoft.Net.Http" version="2.2.18" targetFramework="net45" /><package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net45" /><package id="Modernizr" version="2.5.3" targetFramework="net45" /><package id="MvcFlash.Core" version="2.0.1" targetFramework="net45" /><package id="MvcScaffolding" version="1.0.9" targetFramework="net45" /><package id="Newtonsoft.Json" version="5.0.8" targetFramework="net45" /><package id="System.Spatial" version="5.6.0" targetFramework="net45" /><package id="T4Scaffolding" version="1.0.8" targetFramework="net45" /><package id="T4Scaffolding.Core" version="1.0.0" targetFramework="net45" /><package id="Twitter.Bootstrap" version="3.0.0" targetFramework="net45" /><package id="Twitter.Bootstrap.MVC" version="2.0.0" targetFramework="net45" /><package id="WebActivatorEx" version="2.0.4" targetFramework="net45" /><package id="WebGrease" version="1.6.0" targetFramework="net45" /><package id="XmlExport" version="0.3.2" targetFramework="net45" /><package id="XmlOutput" version="1.0.0" targetFramework="net45" /></packages>
What else I can try?
EDIT
Web API Call (one site calls the other site):
if (SettingsHelper.GetCurrentSettings().IntegratedToFederated){ // Report Federated var pointsGranted = new APIPointsGrantedModel(); pointsGranted.CustomerId = customerPointsPerShop.Customer.ControlKey; pointsGranted.ShopId = (Guid)customerPointsPerShop.Shop.ControlKey; pointsGranted.Amount = customerPointsPerShop.Points; pointsGranted.Timestamp = DateTime.Now; HttpClient aClient = new HttpClient(); var website = context.Settings.FirstOrDefault().FederatedWebsite; Uri theUri = new Uri(website +"/api/APIShops/PointsGranted"); HttpResponseMessage aResponse = await aClient.PostAsync(theUri, StringContentHelper.BuildStringContent(pointsGranted, pointsGranted.GetType())); if (aResponse.IsSuccessStatusCode) { var responseContent = await aResponse.Content.ReadAsAsync<APIPointsGrantedModel>(); // Read the response and perform some business logic } else { String failureMsg = "HTTP Status: "+ aResponse.StatusCode.ToString() +" - Reason: "+ aResponse.ReasonPhrase; this.FlashError(failureMsg); // TODO: Register in log. }}
web.config
at site #1:
<?xml version="1.0" encoding="utf-8"?><configuration> ...<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.4.13329" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.4.13329" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="WebMatrix.WebData" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="WebMatrix.Data" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Moq" publicKeyToken="69f491c39445e920" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.2.1402.2112" newVersion="4.2.1402.2112" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="itextsharp" publicKeyToken="8354ae6d2174ddca" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="4.1.2.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /></dependentAssembly></assemblyBinding> ...</configuration>
web.config
at site #2:
<?xml version="1.0" encoding="utf-8"?><configuration> ...<runtime><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><!-- dependentAssembly><assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly --><dependentAssembly><assemblyIdentity name="System.Web.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="WebMatrix.WebData" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="WebMatrix.Data" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><!-- dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OpenId" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly --><dependentAssembly><assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.1.0.0" newVersion="5.1.0.0" /></dependentAssembly><!-- dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OAuth.Consumer" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OAuth" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OpenId.RelyingParty" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly --><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OpenId" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OpenId.RelyingParty" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OAuth.Consumer" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="DotNetOpenAuth.OAuth" publicKeyToken="2780ccd10d57b246" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Moq" publicKeyToken="69f491c39445e920" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-4.2.1402.2112" newVersion="4.2.1402.2112" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-5.6.1.0" newVersion="5.6.1.0" /></dependentAssembly><dependentAssembly><assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" /><bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" /></dependentAssembly></assemblyBinding> ...</system.net></configuration>