PandaWood / ExceptionReporter.NET

ExceptionReporter is a .NET component that gathers detailed information on an Exception and the application/system running it. It allows the user to copy, save or send a custom-formatted report to the developer
MIT License
51 stars 32 forks source link

Feature Request - add 'net5.0-windows' support #60

Open makeProjectGreatAgain opened 2 years ago

makeProjectGreatAgain commented 2 years ago

I have added 'net5.0-windows' support for ExceptionReporter.WinForms in #59 PR. I am going to update other projects in the solution ( Demo, WPF etc ) if it is ok

Also, I want to mention that there are some disadvantages of supporting both NetFramework and .NET Core. You will need to use different versions of Handlebars, AutoMoq ExceptionReporter.WinForms.csproj

  <ItemGroup Condition=" '$(TargetFramework)' == 'net40' ">
        <PackageReference Include="Handlebars.Net" Version="1.9.0" />
                ...
  </ItemGroup>
  <ItemGroup Condition="'$(TargetFramework)' == 'net5.0-windows' ">     
                ...
        <PackageReference Include="Handlebars.Net" Version="2.0.2" />
        <PackageReference Include="System.Management" Version="6.0.0" />
                <PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
  </ItemGroup>