mono / CppSharp

Tools and libraries to glue C/C++ APIs to high-level languages
MIT License
3.14k stars 518 forks source link

Broken build #584

Closed vonzepp closed 9 years ago

vonzepp commented 9 years ago
7>------ Rebuild All started: Project: CppSharp.Generator, Configuration: Release x64 ------
7>C:\src\3d\CppSharp\src\Generator\Generators\CSharp\CSharpTextTemplate.cs(313,47,313,62): error CS1061: 'FullComment' does not contain a definition for 'CommentToString' and no extension method 'CommentToString' accepting a first argument of type 'FullComment' could be found (are you missing a using directive or an assembly reference?)

It seems that some changes were not commited: https://github.com/mono/CppSharp/commit/287ad2394d6a4588ae2bd34b16a21a3330816a8c

        public void GenerateComment(RawComment comment)
        {
            if (comment.FullComment != null)
            {
                PushBlock(BlockKind.BlockComment);
                WriteLine(comment.FullComment.CommentToString());
                PopBlock();
            }
tritao commented 9 years ago

This is most likely due to you not re-generating the VS project files with Premake. Which means your CppSharp.Generator project is missing the CSharpCommentPrinter.cs file added in that commit.

vonzepp commented 9 years ago

aha. Yes, I didn't.