Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
437 views
in Technique[技术] by (71.8m points)

c# - How to get current EF version

Since new Entity Framework version I got from nuget broke some of my tests, in one of my projects I want to make sure the Entity Framework version installed as reference for the entire solution is the version 4.1.10331.0

What's the best way to find out I'm referencing entity framework 4.1.10331.0 since nuget installs it per solution? Reading packages.config? Going through all the assemblies in current domain?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I ended up getting the assembly version since I didn't find another way.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...