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

SDK Package: How to implement a custom project type that does not have a project file but is rather bound to a directory?

$
0
0

Hi!

I'd need to implement a custom project type that does not rely on a project file at all to persist its data, but, rather, is "bound" to a directory pretty much in the same way as the standard "Website" project works.

I've noticed that the "Website" project persists the path to the directory, as well as the website URL, in the .sln file. Is it possible for a custom project type to do the same, and, if so - how?

Now, since there won't be a project file as such, it looks like I won't be able to use the standard approach to crafting project templates. Moreover, I am required to launch external code to generate the default project contents. I was thinking about implementing a custom wizard, but I am not at all sure if it is possible to craft a template that would just invoke a wizard to create the project and would not include any file-based contents?

Finally, how do I provide an ability to open projects based on a directory and not a file?

I realize I am probably asking for too much, still I was digging both the SDK docs and the Web for answers and failed to find any - all the samples assume the standard MSBuild-based approach to project file persistence which, unfortunately, is not going to work for me :(


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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