On 19 January 2016 at 10:54, Greg Keogh <gfke...@gmail.com> wrote:
>> example. It will check out whole files. As whole files, your snippets
>> will need to be complete C# source files, which means classes (whole
>> or partial, but classes nonetheless), not isolated methods.
>
> Nah, I want text "snippets" not classes
>
>> can forget about reliable IntelliSense. Personally, I would not go
>> down this splicing route unless both Visual Studio and csc.exe had
>> first-class support for it. For now, snippet files with static partial
>
> If I could write a VS extension then it would all be first-class, but that's
> too hard for now. I think I'll drop this idea until a future long weekend.

Unfortunately, a VS extension will not help you if you build from the
command line. (Neither will T4 for that matter, unless you specially
craft your templates and your csproj files for this.)

--
Thomas

Reply via email to