rblock wrote:
Hi Frans,
is there any possiblity to e.g. add a filter in File Open of VS for LLBL projects or add a menu item in the LLBL menu for opening such a project file? Because this was the first I was looking for if there is such thing. But I didn'd find it therefore I wasn't sure if it is possible to load a project file.
Searching...
Ah, here it is: http://msdn.microsoft.com/en-us/library/bb166537.aspx
How to register a new project type.
Suggesting greetings
Reiner
No that's not the way to go. What the link you posted refers at is a vs.net project, inside a solution. That's so complex to manage in your add-in, I don't even want think about it for now (consider the code you need is com-wrapping .net code with barely any documentation or useful examples)
LLBLGen Pro's project file is just a file with an associated editor (our designer). That we call it a 'project' doesn't mean VS.NET looks at it like that.
So the route to go is to 'add new item' to your vs.net project or add existing llblgenproj file to the vs.net project, then open it. You can file -> open and then load the llblgenproj file but it's then not added to your solution and it's then the same as if you'd run our own designer.
An llblgenproj file added to your vs.net project doesn't affect your vs.net project, though it keeps things together and easier to work with (just double click the llblgen project in vs.net's solution explorer)
BUT! I see what you mean if you do: File -> Open -> File... and the vs.net open dialog shows a long list of filters, but not for our project files. Frankly I have no idea to get into that list. I'll check whether it's possible to get in there. Not through registering a project though
(as .edmx is also listed in that filter, but isn't a project file either)