Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@Garados007 Garados007 released this 08 Aug 21:33
· 22 commits to master since this release
4a9ab13

sRPCgen

  • add optional output of generation report. This contains the dependencies of the proto files and the list of generated files. The resulting report looks like this:
    {
      "proto": [
        {
          "file": "...\\srpc\\sRPC.Test\\Proto\\build_test_service.proto",
          "last-change": "2020-08-08T20:56:32.4799677Z",
          "deps": [
            ".../protoc/include/google/protobuf/empty.proto",
            ".../protoc/include/google/protobuf/timestamp.proto",
            ".../srpc/sRPC.Test/Proto/build_test_service.proto"
          ]
        }
      ],
      "generated": [
        {
          "file": "...\\srpc\\sRPC.Test\\/Proto/BuildTestService.service.cs",
          "source": "...\\srpc\\sRPC.Test\\Proto\\build_test_service.proto",
          "last-build": "2020-08-08T20:56:32.5539672Z",
          "srpc": true
        },
        {
          "file": "...\\srpc\\sRPC.Test\\/Proto/BuildTestService.g.cs",
          "source": "...\\srpc\\sRPC.Test\\Proto\\build_test_service.proto",
          "last-build": "2020-08-08T20:56:32.4729667Z",
          "srpc": false
        }
      ]
    }
  • a command line parameter --report=REPORT_FILE is added to define the target of the report file
  • an option is added to remove generated widow files. These are files that was generated in a previous build, but couldn't in this because their original source was deleted. To activate this the flag --remove-widow-files has to be add to command line. This is only avaible if --report is set.

sRPC.Tools

  • add support for the changes in sRPCgen
  • project variable Srpc_Report will now define the --report=REPORT_FILE of the generator
  • project variable Srpc_RemoveWidowFiles will now set the --remove-widow-files flag of the generator

All

  • update the dependencies:
    • Google.Protobuf to 3.12.4
    • Microsoft.NET.Test.Sdk to 16.7.0