-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate consistent metadata view assembly names #333
Conversation
Codecov Report
@@ Coverage Diff @@
## main #333 +/- ##
==========================================
+ Coverage 76.14% 76.17% +0.02%
==========================================
Files 110 110
Lines 7185 7194 +9
==========================================
+ Hits 5471 5480 +9
Misses 1714 1714
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
d7046ed
to
4500138
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The overall change looks good. I've left a couple ideas for improvement.
src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs
Outdated
Show resolved
Hide resolved
Investigating diffs in assembly loads and JIT time is difficult between builds of VS because the proxy assembly that contains the metadata views gets a new name every launch. Consistently generate the names - so that the as long as the same assemblies are involved, the same name is generated.
4500138
to
6986215
Compare
@AArnott Can I have another review on this? |
@AArnott thanks! |
This should show up in VS on Thursday (since it missed the cut-off for tonight's build and insertion). |
Investigating diffs in assembly loads and JIT time is difficult between builds of VS because the proxy assembly that contains the metadata views gets a new name every launch.
Consistently generate the names - so that the as long as the same assemblies are involved, the same name is generated.
This is an identical change I've made to ServiceBroker RPC proxies.
(I've not actually tested this - as I cannot get MEF building at the moment on my box)