Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18133

.NET: Thin 3.0: Build may fail due to Maven artifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0.0-beta2
    • None

    Description

      ApiException.java is autogenerated, and occurs in multiple places (cli/target and cli/build). We should ignore those in the source generator.

      C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet>dotnet build
      MSBuild version 17.3.2+561848881 for .NET
        Определение проектов для восстановления...
        Все проекты обновлены для восстановления.
        Apache.Ignite.Internal.Generators -> C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite.Internal.Generators\bin\Debug\netstandard2.0\Apache.Ignite.Internal.Generators.dll
        Apache.Ignite.Internal.Generators -> C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite.Internal.Generators\bin\Debug\netstandard2.0\Apache.Ignite.Internal.Generators.dll
      CSC : error CS8785: Генератору "ExceptionsGenerator" не удалось создать источник. Это не повлияет на выходные данные и ошибки компиляции, которые могут возникнуть в результате. Тип возникшего исключения: "ArgumentException", сообщен
      ие: "An item with the same key has already been added. Key: ApiException" [C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite\Apache.Ignite.csproj]
      C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs(311,20): error CS0103: Имя "ExceptionMapper" не существует в текущем контексте. [C:\Users\mapoc\IdeaProjects\ignite-3\modules\platf 
      orms\dotnet\Apache.Ignite\Apache.Ignite.csproj]
      
      Ошибка сборки.
      
      CSC : error CS8785: Генератору "ExceptionsGenerator" не удалось создать источник. Это не повлияет на выходные данные и ошибки компиляции, которые могут возникнуть в результате. Тип возникшего исключения: "ArgumentException", сообщен 
      ие: "An item with the same key has already been added. Key: ApiException" [C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite\Apache.Ignite.csproj]
      C:\Users\mapoc\IdeaProjects\ignite-3\modules\platforms\dotnet\Apache.Ignite\Internal\ClientSocket.cs(311,20): error CS0103: Имя "ExceptionMapper" не существует в текущем контексте. [C:\Users\mapoc\IdeaProjects\ignite-3\modules\platf 
      orms\dotnet\Apache.Ignite\Apache.Ignite.csproj]
          Предупреждений: 0
          Ошибок: 2
      
      Прошло времени 00:00:02.78
      

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m