You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/02/02 00:41:00 UTC

[jira] [Commented] (THRIFT-740) Visual Studio 2008 .thrift file complete integration

    [ https://issues.apache.org/jira/browse/THRIFT-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758784#comment-16758784 ] 

James E. King III commented on THRIFT-740:
------------------------------------------

This worked when I left it... you could place a .thrift file into Visual Studio and it would regenerate the contents, amalgamate the output into a single C# file which would show up as a child of the thrift file in the IDE.

> Visual Studio 2008 .thrift file complete integration
> ----------------------------------------------------
>
>                 Key: THRIFT-740
>                 URL: https://issues.apache.org/jira/browse/THRIFT-740
>             Project: Thrift
>          Issue Type: Improvement
>          Components: C# - Compiler
>         Environment: Windows, Visual Studio 2008 (and possibly 2005, 2010)
>            Reporter: James E. King, III
>            Priority: Major
>         Attachments: Apache-Thrift-740-Jira-Codegen-VS.patch, ThriftCodeGen.reg, ThriftCodeGen.snk
>
>
> I have developed a single file code generator for Thrift in Visual Studio 2008 which allows .thrift files to be treated as first-class citizens in the IDE.  When you add a .thrift file to the IDE, it is compiled and then all the compiled code output is condensed into a single .cs file which shows up as a subordinate file to the .thrift file in the IDE.  As you edit or save the file it regenerates the .cs code for full build dependency support.  This is built directly into the existing C# project provided with the distribution, and the test project no longer needs a pre-build step in order to work properly.  I also added an extensive readme on installation and provided a tutorial walkthrough on how to use it.
> I am waiting for Dell legal to approve release of the code as open source.  Once that happens I will make a patch available.  Until then consider this is a placeholder.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)