Also, use IEntryPointFinderService MEF component in ICSharpProjectSite.GetValidStartupClassesIVbCompilerProject.GetEntryPointsList and move the MEF component to Features.
Update the interface to take a ProjectId instead of a symbol. So that GetValidStartupClasses and GetEntryPointsList do not access symbols directly.
Use
Compilation.GetEntryPoint
instead.Also, use
IEntryPointFinderService
MEF component inICSharpProjectSite.GetValidStartupClasses
IVbCompilerProject.GetEntryPointsList
and move the MEF component to Features.Update the interface to take a ProjectId instead of a symbol. So that
GetValidStartupClasses
andGetEntryPointsList
do not access symbols directly.