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

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

                Author: ASF GitHub Bot
            Created on: 10/Jan/22 13:54
            Start Date: 10/Jan/22 13:54
    Worklog Time Spent: 10m 
      Work Description: martin-g commented on pull request #1376:
URL: https://github.com/apache/avro/pull/1376#issuecomment-1008894737


   Thank you, @zcsizmadia !


-- 
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: issues-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 706152)
    Time Spent: 1h 10m  (was: 1h)

> Unify TargetFrameworks for C# projects
> --------------------------------------
>
>                 Key: AVRO-3238
>                 URL: https://issues.apache.org/jira/browse/AVRO-3238
>             Project: Apache Avro
>          Issue Type: Improvement
>            Reporter: Zoltan Csizmadia
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> h3. Issues:
>  # If netstandard2.0 is a target, no need to add net462, sonce .NET FW 4.6.1+ 
> supports using .NET STandard libraries
>  # I dont think there is a need for .NET FW 4.0 support ay more
>  # The csproj builds for different targets based on running on Windows or 
> Linux
>  # Many of the projects support different (maybe legacy) frameworks, e.g. 
> ipc, ipc.test
> h3. Proposal:
>  
> Add the following to {{common.props}} (root of all csharp projects):
> <PropertyGroup Label="Target Frameworks">
>      <!-- Exe -->
>      
> <DefaultExeTargetFrameworks>netcoreapp3.1;net5.0</DefaultExeTargetFrameworks>
>      <!-- Library -->
>      
> <DefaultLibraryTargetFrameworks>netstandard2.0;netstandard2.1</DefaultLibraryTargetFrameworks>
>      <!-- Unit Tests -->
>      
> <DefaultUnitTestsTargetFrameworks>$(DefaultExeTargetFrameworks)</DefaultUnitTestsTargetFrameworks>
>  </PropertyGroup>
>  
> Use the following for Exe projects:
> {{<TargetFrameworks>$(DefaultExeTargetFrameworks)</TargetFrameworks>}}
>  
> Use the following for Library projects:
> {{<TargetFrameworks>$(DefaultLibraryTargetFrameworks)</TargetFrameworks>}}
>  
> Use the following for Unit Tests projects:
> {{<TargetFrameworks>$(DefaultLibraryTargetFrameworks)</TargetFrameworks>}}
> h3. Pros
>  # The projects builds are very uniform across Linux and Windows
>  # New Target framework (e.g. the upcoming net6.0) is easy to add, just 
> simple editing common.props
> h3. Cons
> .NET Framework 4.6+ will be supported (via .NET Standard 2.0), which in my 
> opinion is acceptable in 2021



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to