Click here to Skip to main content
15,886,799 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 5:40
mvahoney the codewitch7-Jul-20 5:40 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
OriginalGriff7-Jul-20 5:53
mveOriginalGriff7-Jul-20 5:53 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 6:40
mvahoney the codewitch7-Jul-20 6:40 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
kalberts7-Jul-20 7:24
kalberts7-Jul-20 7:24 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 7:41
mvahoney the codewitch7-Jul-20 7:41 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Member 133016797-Jul-20 22:59
Member 133016797-Jul-20 22:59 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Ravi Bhavnani7-Jul-20 6:19
professionalRavi Bhavnani7-Jul-20 6:19 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 6:35
mvahoney the codewitch7-Jul-20 6:35 
For this particular project, and for good reason, they can't really share code. The way they work despite doing the same thing, is entirely different under the covers.

The reason why is that the VSIX project has access to the EnvDTE project model. The CLI code has to read the solution and project XML files manually. That works (for now) but it's not as reliable. The format could change, and I'm not even sure I know all of the tags that can be present.

This means that the preference, from a technical standpoint, is to use the project model EnvDTE exposes that's only available inside a VSIX extension.

Sharing code would mean having to use the less preferred method, less reliable method even from inside a visual extension where a better option is available. I hope that makes sense.
Real programmers use butterflies

GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
kalberts7-Jul-20 7:18
kalberts7-Jul-20 7:18 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Sander Rossel7-Jul-20 21:46
professionalSander Rossel7-Jul-20 21:46 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Ron Nicholson7-Jul-20 6:19
professionalRon Nicholson7-Jul-20 6:19 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 6:31
mvahoney the codewitch7-Jul-20 6:31 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
pkfox7-Jul-20 7:42
professionalpkfox7-Jul-20 7:42 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 8:11
mvahoney the codewitch7-Jul-20 8:11 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
F-ES Sitecore7-Jul-20 8:46
professionalF-ES Sitecore7-Jul-20 8:46 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 9:03
mvahoney the codewitch7-Jul-20 9:03 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Eddy Vluggen7-Jul-20 10:27
professionalEddy Vluggen7-Jul-20 10:27 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
harold aptroot7-Jul-20 20:20
harold aptroot7-Jul-20 20:20 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch7-Jul-20 20:33
mvahoney the codewitch7-Jul-20 20:33 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Davyd McColl7-Jul-20 23:56
Davyd McColl7-Jul-20 23:56 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Davyd McColl7-Jul-20 23:57
Davyd McColl7-Jul-20 23:57 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch8-Jul-20 3:35
mvahoney the codewitch8-Jul-20 3:35 
GeneralRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
honey the codewitch8-Jul-20 3:34
mvahoney the codewitch8-Jul-20 3:34 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
MSBassSinger8-Jul-20 9:23
professionalMSBassSinger8-Jul-20 9:23 
AnswerRe: Extending Visual Studio, do you prefer VSIX extensions or scriptable/batchable CIL tools? Pin
Peter Shaw8-Jul-20 10:53
professionalPeter Shaw8-Jul-20 10:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.