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 2010/06/17 14:49:24 UTC

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

     [ https://issues.apache.org/jira/browse/THRIFT-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James E. King, III updated THRIFT-740:
--------------------------------------

    Attachment: Apache-Thrift-740-Jira-Codegen-VS.patch

This is a patch file to apply to the csharp lib and test directories.  It is not integrated with the "makefile" - it is a change to the Visual Studio project.  The pre-build test project command has been removed in favor of using this new single file code generator which allows you to add .thrift files to the IDE and it will automatically compile and roll the results into a single .cs file which lives under the .thrift file in the IDE.  There are some setup steps you have to go through and they are documented in the readme and tutorial files.

> 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: Compiler (C#)
>         Environment: Windows, Visual Studio 2008 (and possibly 2005, 2010)
>            Reporter: James E. King, III
>         Attachments: Apache-Thrift-740-Jira-Codegen-VS.patch
>
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.