Code Monkey home page Code Monkey logo

Comments (14)

BladeMF avatar BladeMF commented on September 25, 2024

I am very much looking forward to this! Do you have an ETA?

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

I am currently working on it. But it looks like Microsoft made it complicated for me to update my plugin to VS2017. Custom startpages do not get the same data (context) as the default start page. I have to find a mechanism of creating the necessary data sources.

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

What data are you missing? Maybe I can help.
My extension ran as it is on VS 2017, I just added prerequisites.

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

Start pages are a very special kind of extension and very badly documented in my opinion. It's easy to make any kind of start page, but if you want to have access to the original components like the MRU list you run into troubles. That's why I lately refactored the code to load the original start page, and simply replace some components in the final UI. It's easier than rebuild the original start page.

Sadly VS2017 does an explicit check if the start page component is their own control and then they assign some special ViewModels to the individual subcontrols like the MRU list. Those classes are all internal and not accessible. I managed to create some code based on reflection that creates all necessary types. I just commited the required changes some minutes ago. You can check the commit if above if you are interested into details.

Another problem is now the deployment. am still using the old vsix manifest schema because there is nowhere documented what the replacement of <CustomExtension Type="StartPage">StartPage.xaml</CustomExtension> is in the new format. Sadly for deploying the extension to the Marketplace, it seems the new format is required, otherwise you get an error while uploading:

image

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

You have it way worse than me, it seems. I presume the original start page is not in .NET so you can use reflector and see the source?

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

As for the "update your references", I'm guessing they mean this: https://docs.microsoft.com/en-us/visualstudio/extensibility/how-to-migrate-extensibility-projects-to-visual-studio-2017

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

I published a new version, hopefully it works for everybody. I migrated to the new VSIX schema but had to drop VS2010 support for this. With this VS2017 support is complete.

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

Perfect!

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

It seems to be working. Is there anyway I can migrate my 2015 settings? The registry seems different.

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

I likely have to add a feature to export/import configurations. I am using the VS default mechanism for storing/loading settings which ends up in the registry by default.

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

I added an export/import feature to the context menu. This way you can migrate your settings faster.

from betterstartpage.

BladeMF avatar BladeMF commented on September 25, 2024

Thanks. By the way, just for the record - it does have a registry, its in a separate file in the AppData/Local/.. directory. You must load it to view it.

from betterstartpage.

Danielku15 avatar Danielku15 commented on September 25, 2024

Thanks for the info. I am anyhow considering to write a custom settings file. It is quite annoying how and if VS even saves settings of the settings store I am using. If you have multiple VS open and edit the startpage only in one, the other VS might overwrite the configured start page with the an empty one.

from betterstartpage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.