I started using Thrift about a week ago. I got the latest source from SVN and built the C # library (Thrift.dll). I used the library for a prototype TCP client / server with the data types that my team will use. This worked without problems, I just followed the code example in the SVN repository.
Yesterday I wanted to run the same test, but instead of HTTP. I searched the Internet for some and found out that since I received the code last week, until yesterday the patch "THRIFT-322" https://issues.apache.org/jira/browse/THRIFT-322
Applies to the trunk. So I updated my source from SVN and saw a new THttpHandler class. I rebuilt Thrift.dll to use the THttpHandler class, but now when I refer to the new dll, Visual Studio 2010 gives me an error at compile time: "The type or namespace" Thrift "could not be found (you are missing a directive or link to assembly?) ". When I replace the link with the old Thrift.dll, I do not get this error.
I canβt understand what I'm doing wrong, I just recompiled Thrift.dll from an SVN source and I can no longer link to Thrift.dll. When I first add the link, it looks like it will work fine. Visual Studio gives me the correct intellisense etc. As soon as I try to build it, as if there is no longer a link to Thrift.dll. Any ideas?
I also posted this to the Thrift Users mailing list, I just thought maybe this was more general and someone here could help.
Thanks, -Sean
source share