|
VS 2017.3
It's to do with the nuget breaking changes and MS moving nuget system packages back into the framework. Evidently they will provide some guidance on this issue. Maybe.
cheers
Chris Maunder
|
|
|
|
|
I have had to spend days cleaning up the resulting mess that such issues cause and have had to re-install my entire Windows once on account of discrepancies between framework versions and Visual Studio.
In both cases it was found to be a problem with the commercial release builds of Visual Studio.
What happens is that you install Visual Studio with let's say framework version 4.6.1 with a certain identifying set of identifiers for the version but there are multiple versions of each framework level. Then you install an application that also requires 4.6.1 but has a different version of the same exact framework.
Guess what? Visual Studio blows up worse than a hydrogen bomb. What is left in its wake is a corrupted system that cannot be cleaned out properly. The only way to do this is to re-install the OS or get a good tech-rep at Microsoft who knows what they are doing to help you clean up the mess.
The first time my tech-rep and I were able to clean up the mess after three days of continuously working with each other. The second time I figured it would take as much time to simply do a re-install of the Windows OS.
As a result of these experiences I cannot release my products with the capacity to install a version of the .NET Framework for fear that it may destroy a developers Visual Studio installation.
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
Great.
The other option I was thinking was just moving up to 4.7 and seeing if that confused things a little more...
cheers
Chris Maunder
|
|
|
|
|
Steve Naidamast wrote: The second time I figured it would take as much time to simply do a re-install of the Windows OS.
This is why I resorted to running my dev environments in disposable VMs years ago.
If I anticipate performing an action that will break the environment I make a copy of the VM, take the action and if it explodes I revert to the backup VM.
Saved my bacon many times while configuring Windows XP and VS-2005 for Windows CE 6.0 kernel development.
It's sad to have to operate this way but in reality has saved me tons of time I would've spent rebuilding development environments over the years.
|
|
|
|
|
I believe quite a few developers are using this option. However, my machine is a little slow for such alternatives so I use VMs merely to test the installation of my projects against different operating systems.
Visual Studio has gotten so bloated as a result of the attempt to be everything to everyone it is now causing a lot of its own issues. They should have left Visual Studio as a base product with WinForms, WPF, and ASP.NET WebForms. Everything else should have simply been an additional option for the developer to select when he or she was ready to install it.
If I remember correctly, the install of Visual Studio 2015 has about 6gigs to go through with little filtering of development types.
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
That's not that terrible of an error message. It's trying to tell you what you need to do to fix the issue. Although if I remember correctly they changed what level of logging was required to get the assembly load information.
I got this exception the other day "Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints" from calling "EndLoadData" on a DataTable. Which constraint caused an issue? Which column? Which row? Who knows.
The exception was coming from DataSet.EnableConstraints() which gets called by DataTable.EndLoadData(). I tried to use .NET source stepping but it wouldn't load DataSet.cs for some reason. Looking up the function in the .NET reference source I saw that the function loops through all constraints on a table and tries to enable them. Instead of throwing an exception when it found a constraint it couldn't enable it just kept a flag saying that one of the constraints had an error and then at the end it checks that flag and throws an exception if its true. At that point it no longer knows what constraint caused an issue.
I ended up copying code out of the reference source to recreate the function and using reflection to call internal methods so I could find out which constraint and which column had the error.
After that it was easy to fix.
|
|
|
|
|
Wearwolf wrote: f I remember correctly they changed what level of logging was required to get the assembly load information
Even at "diagnostic" level there's no information I can find.
The point is you shouldn't have to do anything: they have the info, it's a potentially serious issue, so just spit it out and tell us, please.
Wearwolf wrote: just kept a flag saying that one of the constraints had an error
Wow. That's insanely lazy.
cheers
Chris Maunder
|
|
|
|
|
Is a livelihood a criminal on cocaine?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
What sort of crack was that? Thought you'd steal the show?
I don't know if you know him, but alkaloid and ask him what he thinks.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: crack How did you come up with that at such speed?
... such stuff as dreams are made on
|
|
|
|
|
You dope! He's always that fast.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Well, not from that ugly gal in the pub who hogged all the pretzels and chips, as I was telling her "Barbiturate your share - leave some for the rest of us"
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
And... will he find his gaol in life?
... such stuff as dreams are made on
|
|
|
|
|
If that were so is a neighbourhood a criminal next door?
Sin tack
the any key okay
|
|
|
|
|
You don't want criminals next door, you want the people they deal with: receivers of stolen merchandise.
After all "Good fences make good neighbours"!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
If he is a bad fence you may have to learn fencing!
... such stuff as dreams are made on
|
|
|
|
|
|
Are 2 white powder-ski poles cocaine?
|
|
|
|
|
|
Here's my inverse APOD of Monday's Eclipse...
_________
.
_________
|
|
|
|
|
|
|
1,400 meatpackers walk off the job at a Geo A Hormel & Co plant
And I got married.
Me, I'm still happily married and packin in the meat
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
modified 17-Aug-17 11:18am.
|
|
|
|
|
I think I'll mark this as Spam!
=========================================================
I'm an optoholic - my glass is always half full of vodka.
=========================================================
|
|
|
|
|