Click here to Skip to main content
15,914,444 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Data Between 2 dynamic user controls in WPF Pin
jgakenhe17-Aug-17 18:04
professionaljgakenhe17-Aug-17 18:04 
GeneralRe: Data Between 2 dynamic user controls in WPF Pin
Mycroft Holmes17-Aug-17 21:16
professionalMycroft Holmes17-Aug-17 21:16 
GeneralBe careful before updating to Visual Studio 15.3 Pin
Chris Maunder17-Aug-17 15:10
cofounderChris Maunder17-Aug-17 15:10 
GeneralRe: Be careful before updating to Visual Studio 15.3 Pin
Peter_in_278017-Aug-17 19:33
professionalPeter_in_278017-Aug-17 19:33 
GeneralRe: Be careful before updating to Visual Studio 15.3 Pin
Marc Clifton18-Aug-17 1:41
mvaMarc Clifton18-Aug-17 1:41 
GeneralRe: Be careful before updating to Visual Studio 15.3 Pin
Chris Maunder18-Aug-17 8:46
cofounderChris Maunder18-Aug-17 8:46 
GeneralRe: Be careful before updating to Visual Studio 15.3 Pin
Marc Clifton18-Aug-17 10:21
mvaMarc Clifton18-Aug-17 10:21 
GeneralA workaround Pin
Chris Maunder18-Aug-17 11:15
cofounderChris Maunder18-Aug-17 11:15 
No - not one. [Update: I did find one that did - but by coincidence]

It's all System.Net.Http: If you add a reference to a framework assembly then it wants 4.1.1.1, but it can't find 4.1.1.1 in the framework assemblies so fails. I can, however, copy a version of System.Net.Http.dll into the directory and get it working for a Web Forms app.

However, on an MVC app that isn't working. It wants 4.2.0.0 when I've referenced 4.1.1.1, so I bite the bullet and add the Nuget ref to 4.2.0.0 and then it complains it can't find 4.1.1.1. I adjust the redirection in web.config so they all point to 4.2.0.0 (even though VS keeps wanting to set it as 4.1.1.1) and then I get the "can't resolve assembly". No version number now - just "can't find anything that works".

So my final workaround is
XML
<dependentAssembly>
    <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" />
</dependentAssembly>

which is what someone else has also found: System.Net.Http package 4.3.2 - redirect to 4.2.0.0, assembly loading failure · Issue #22781[^]

Evidently:
Quote:
Looks like Visual Studio 2017 15.3 is shipping with a .NET 4.6.x System.Net.Http.dll with internal assembly version 4.2.0 and the latest Nuget Package assembly version is 4.1.1 for NetFX.


And the best bit?

Unless you clean out the bin completely before each rebuild (or, it seems, glancing away for 10 seconds) you get
Could not load file or assembly 'netfx.force.conflicts' 

Which is evidently impossible but everyone's getting it.

A complete Charlie Foxtrot. I'm beyond pissed off at such a fundamental showstopper.
cheers
Chris Maunder


modified 18-Aug-17 17:23pm.

GeneralRe: Be careful before updating to Visual Studio 15.3 Pin
Afzaal Ahmad Zeeshan18-Aug-17 3:13
professionalAfzaal Ahmad Zeeshan18-Aug-17 3:13 
GeneralI am busy (strangly I missed not having thirty plus things to) Pin
glennPattonWork317-Aug-17 10:10
professionalglennPattonWork317-Aug-17 10:10 
GeneralRe: I am busy (strangly I missed not having thirty plus things to) Pin
Marc Clifton17-Aug-17 12:47
mvaMarc Clifton17-Aug-17 12:47 
GeneralRe: I am busy (strangly I missed not having thirty plus things to) Pin
Michael Martin17-Aug-17 16:03
professionalMichael Martin17-Aug-17 16:03 
GeneralRe: I am busy (strangly I missed not having thirty plus things to) Pin
glennPattonWork318-Aug-17 6:43
professionalglennPattonWork318-Aug-17 6:43 
QuestionRe: I am busy (strangly I missed not having thirty plus things to) Pin
megaadam17-Aug-17 22:05
professionalmegaadam17-Aug-17 22:05 
JokeRe: I am busy (strangly I missed not having thirty plus things to) Pin
glennPattonWork317-Aug-17 22:13
professionalglennPattonWork317-Aug-17 22:13 
JokeRe: I am busy (strangly I missed not having thirty plus things to) Pin
Gary Wheeler18-Aug-17 6:00
Gary Wheeler18-Aug-17 6:00 
GeneralRe: I am busy (strangly I missed not having thirty plus things to) Pin
glennPattonWork318-Aug-17 6:44
professionalglennPattonWork318-Aug-17 6:44 
GeneralWhy??? Just Why?? Pin
Kevin Marois17-Aug-17 8:18
professionalKevin Marois17-Aug-17 8:18 
GeneralRe: Why??? Just Why?? Pin
Chris Losinger17-Aug-17 8:24
professionalChris Losinger17-Aug-17 8:24 
GeneralRe: Why??? Just Why?? Pin
Kevin Marois17-Aug-17 8:31
professionalKevin Marois17-Aug-17 8:31 
GeneralRe: Why??? Just Why?? Pin
Marc Clifton17-Aug-17 8:42
mvaMarc Clifton17-Aug-17 8:42 
GeneralRe: Why??? Just Why?? Pin
Gary Wheeler18-Aug-17 6:01
Gary Wheeler18-Aug-17 6:01 
GeneralRe: Why??? Just Why?? Pin
raddevus17-Aug-17 8:52
mvaraddevus17-Aug-17 8:52 
GeneralRe: Why??? Just Why?? Pin
RickZeeland17-Aug-17 9:21
mveRickZeeland17-Aug-17 9:21 
GeneralRe: Why??? Just Why?? Pin
Foothill17-Aug-17 9:36
professionalFoothill17-Aug-17 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.