Visual Studio manages the .NET Framework assembly references well on a project basis. It is automatic but also brings about confusions in some situations.
It is easy to understand that when the Target
Framework of a Visual Studio project is upgraded to a newer version, e.g. from
3.0 to 4.5, all old references will be replaced automatically with new versions
if available, and when downgrading similar happens. We always added or removed references through
the Visual Studio Reference Manager in the past and things behaved well for
.NET Framework assemblies. However, inconsistencies
happened to us occasionally for custom (library) assemblies. Some projects had been upgraded to reference
to new library DLLs, but many others did not. The inconsistency caused serious problems
(loading or running) especially for those strong named assemblies. It was time-consuming and error-prone to
inspect references one by one and projects one by one manually using the Properties
and Reference Manager UIs. That was the
initial idea of developing the Reference Tweaker to help.
Some readers may have already tried the Reference
Tweaker of the Visual Smarter. The full
name of the widget should be Multiple-Project Reference Tweaker actually, as it
works with multiple projects instead of a single one. Currently, it supports removing and adding
references from and to multiple projects of the current solution. In terms of replacing references, we
recommend removing first and adding next.
Through using the Reference Tweaker, we corrected
many reference inconsistencies in many projects and solutions. However, we wondered what would happen if
some .NET Framework assemblies with versions different from the Target .NET
Framework of some projects of concern (or simply they did not target to the
same .NET Framework) were brought in, so did an experiment.
As can be seen, the .NET Framework of the project was target at 4.5. The assemblies automatically referenced in by
the Visual Studio wizard resided at the v4.5 location in the Program Files root
directory. The .NET assemblies were
going to be added by the Reference Tweaker came from the Framework 4.0 in the
Windows directory. People might wonder
why we did not use the same versions of .NET assemblies as specified by the
Target Framework (4.5 here) of the project of concern. The fact was there were no higher versions
(e.g. 4.5 or 4.5.1) at the same location in the Windows root.
Luckily enough, Visual Studio automatically
adjusted the versions of the .NET Assembly references to the same as specified
by the Target Framework.
Things went well so far. In terms of why still some looking
inconsistencies among the assembly Folder Name, assembly Version, and Runtime
Version, we found it was as designed through some research. That will be discussed next. Please stay tuned.
This comment has been removed by the author.
ReplyDeleteThank you for allowing me to read it, welcome to the next in a recent article. And thanks for sharing the nice article, keep posting or updating news article.
ReplyDeleteapple service center in chennai
apple mobile service centre in chennai
apple service center near me
Flying Shift - Packers & Movers in Bhopal
ReplyDeleteSuch great information for blogger iam a professional blogger thanks…
ReplyDeleteUpgrade your career Learn Oracle Training from industry experts gets complete hands on Training, Interview preparation, and Job Assistance at My Training Bangalore.
I like that your blog. these information is provided the article really nice.
ReplyDeletePython Training in Chennai | Certification | Online Training Course | Python Training in Bangalore | Certification | Online Training Course | Python Training in Hyderabad | Certification | Online Training Course | Python Training in Coimbatore | Certification | Online Training Course | Python Training in Online | Python Certification Training Course
Such great information for blogger iam a professional blogger thanks…salesforce training in chennai
ReplyDeletesoftware testing training in chennai
robotic process automation rpa training in chennai
blockchain training in chennai
devops training in chennai
üsküdar alarko carrier klima servisi
ReplyDeletependik mitsubishi klima servisi
maltepe vestel klima servisi
kadıköy vestel klima servisi
üsküdar vestel klima servisi
pendik daikin klima servisi
çekmeköy lg klima servisi
beykoz toshiba klima servisi
pendik lg klima servisi
First class data, modify everybody mind basically reference designate assistance to it. I could be placed in a larger invincible state. XXClone Pro Full
ReplyDeleteHaving a brother like you is a blessing from the heavens. Happy birthday, dearest. Wishing you the sweetest things in life. Birthday Wishes For Brother
ReplyDeleteWhether he's your older big brother or younger than you, these 125 funny and sweet birthday wishes for your brother will help make his day even better .Happy Birthday Wishes For Brother
ReplyDelete
ReplyDeleteNice Job!! Astonishing information was given. I like how hard a writer works.
Windscribe VPN Premium
Good content. You write beautiful things.
ReplyDeletehacklink
mrbahis
korsan taksi
mrbahis
sportsbet
hacklink
sportsbet
vbet
vbet
sms onay
ReplyDeletePMBYFF
erzurum
ReplyDeletekuşadası
ümraniye
beşiktaş
ataşehir
İYVR8D
beşiktaş
ReplyDeleteeyüpsultan
gebze
kaş
tekirdağ
08A0
kağıthane
ReplyDeletemuğla
tuzla
etiler
maltepe
FRQD
artvin
ReplyDeletekastamonu
urfa
balıkesir
bitlis
HNCİE
adapazarı
ReplyDeleteadıyaman
afyon
alsancak
antakya
67L3C
çorlu
ReplyDeletebolu
ısparta
afyon
amasya
7Eİ5AT
https://izmitone.com
ReplyDeletekuşadası
sex hattı
V0YBH
glassagram
ReplyDeleteallsmo
instagram gizli hesap görme
revelio
bestwhozi
8102G