[ 
https://issues.apache.org/jira/browse/AVRO-3231?focusedWorklogId=665337&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-665337
 ]

ASF GitHub Bot logged work on AVRO-3231:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Oct/21 19:58
            Start Date: 13/Oct/21 19:58
    Worklog Time Spent: 10m 
      Work Description: martin-g commented on pull request #1366:
URL: https://github.com/apache/avro/pull/1366#issuecomment-942671416


   I've just re-tested and it seems I was confused before:
   
   ```
   Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET
   Copyright (C) Microsoft Corporation. All rights reserved.
   
     Determining projects to restore...
     Restored 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/codegen/Avro.codegen.csproj 
(in 379 ms).
     Restored 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/msbuild/Avro.msbuild.csproj 
(in 376 ms).
     Restored 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/perf/Avro.perf.csproj (in 
405 ms).
     Restored 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/main/Avro.main.csproj (in 
520 ms).
     Restored 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/Avro.test.csproj (in 
717 ms).
     Avro.main -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/main/bin/Release/netstandard2.0/Avro.dll
     Avro.main -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/main/bin/Release/netcoreapp2.1/Avro.dll
     Avro.main -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/main/bin/Release/netstandard2.1/Avro.dll
     Avro.codegen -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/codegen/bin/Release/netcoreapp2.1/avrogen.dll
     Avro.test -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/net5.0/Avro.test.dll
     Avro.test -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/netcoreapp2.1/Avro.test.dll
     Avro.test -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/netcoreapp3.1/Avro.test.dll
     Avro.perf -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/perf/bin/Release/net5.0/Avro.perf.dll
     Avro.codegen -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/codegen/bin/Release/net5.0/avrogen.dll
     Avro.codegen -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/codegen/bin/Release/netcoreapp3.1/avrogen.dll
     Avro.msbuild -> 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/msbuild/bin/Release/netstandard2.0/Avro.msbuild.dll
   
   Build succeeded.
       0 Warning(s)
       0 Error(s)
   
   Time Elapsed 00:00:10.81
   + LANG=en_US.UTF-8
   + dotnet test --configuration Release --no-build --filter 
'TestCategory!=Interop' Avro.sln
   Test run for 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/netcoreapp2.1/Avro.test.dll
 (.NETCoreApp,Version=v2.1)
   Microsoft (R) Test Execution Command Line Tool Version 16.8.1
   Copyright (c) Microsoft Corporation.  All rights reserved.
   
   Starting test execution, please wait...
   A total of 1 test files matched the specified pattern.
   Testhost process exited with error: It was not possible to find any 
compatible framework version
   The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
     - The following frameworks were found:
         5.0.1 at [/home/ubuntu/devel/dotnet/shared/Microsoft.NETCore.App]
   You can resolve the problem by installing the specified framework and/or SDK.
   The specified framework can be found at:
     - 
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=arm64&rid=ubuntu.20.04-arm64
   . Please check the diagnostic logs for more information.
   
   Test Run Aborted.
   Test run for 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/netcoreapp3.1/Avro.test.dll
 (.NETCoreApp,Version=v3.1)
   Microsoft (R) Test Execution Command Line Tool Version 16.8.1
   Copyright (c) Microsoft Corporation.  All rights reserved.
   
   Starting test execution, please wait...
   A total of 1 test files matched the specified pattern.
   Testhost process exited with error: It was not possible to find any 
compatible framework version
   The framework 'Microsoft.NETCore.App', version '3.1.0' was not found.
     - The following frameworks were found:
         5.0.1 at [/home/ubuntu/devel/dotnet/shared/Microsoft.NETCore.App]
   You can resolve the problem by installing the specified framework and/or SDK.
   The specified framework can be found at:
     - 
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1.0&arch=arm64&rid=ubuntu.20.04-arm64
   . Please check the diagnostic logs for more information.
   
   Test Run Aborted.
   Test run for 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/net5.0/Avro.test.dll
 (.NETCoreApp,Version=v5.0)
   Microsoft (R) Test Execution Command Line Tool Version 16.8.1
   Copyright (c) Microsoft Corporation.  All rights reserved.
   
   Starting test execution, please wait...
   A total of 1 test files matched the specified pattern.
   
   Passed!  - Failed:     0, Passed:   617, Skipped:     0, Total:   617, 
Duration: 1 s - 
/home/ubuntu/git/apache/avro/lang/csharp/src/apache/test/bin/Release/net5.0/Avro.test.dll
 (net5.0)
   ```
   
   I.e. it prints two problems for 2.1.0 and 3.1.0 but at the end runs the 
tests for 5.0.1 and 617 tests pass.
   
   Feel free to close this PR if `net5.0/Avro.dll` is not useful. This seems to 
be the only additional artefact generated by the change in this PR. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 665337)
    Time Spent: 40m  (was: 0.5h)

> C#: Enable build of Avro.dll for .NET 5
> ---------------------------------------
>
>                 Key: AVRO-3231
>                 URL: https://issues.apache.org/jira/browse/AVRO-3231
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.11.0
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> lang/csharp/src/apache/main/Avro.main.csproj does not list net5.0 as a target.
>  
> 5.0 is the current stable version: 
> https://dotnet.microsoft.com/platform/support/policy/dotnet-core



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to