Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Upgrade package from VS2010 to VS2013

$
0
0

I have upgraded an existing VS2010 package to VS2013, removed the included project Microsoft.Visualstudio.Project and used the nuget package instead. It all seems to work, except for one thing. In our custom code we have:

protected override void Initialize()
{
       DTE dte = (DTE)GetService(typeof(DTE));
       if (dte != null)
       {
           // Subscribe to the solution events
           this.SolutionListeners.Add(new SolutionListenerForProjectOpen(this));
           this.SolutionListeners.Add(new SolutionListenerForProjectEvents(this));                

           foreach (SolutionListener solutionListener in SolutionListeners)
           {
               solutionListener.Init();
           }

           this.RegisterProjectFactory(new InterfaceDescriptionProjectFactory(this));
       }
}

However, after the upgrade it seems that the class SolutionListenerForProjectEvents is not available anymore, so it doesn't build because of that.

Any idea why this is or what class I have to use instead?

Thanks,

Ludwig



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>