moved error and todo list initialization to VS workspace.
we used to initialize those when packages are loaded. but with CPS, those packages are no longer automatically loaded with solution open (perf win) so now, it is moved to VSWorkspace ctor and it gets initialized when the workspace is created. considered making it on demand but due to reversed dependency (error reproting happening in lower layer), required some plumbing so looked into how expensive the initialization is. and it turns out due to previous work done in these area, initialization was quite cheap. any expensive one was already lazy or consumed by CPSProjectFactory already. so, just moved initialization into VSWorkspace ctor and fixed MEF dependencies.
Showing
想要评论请 注册 或 登录