Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build error of NetSparkle.Samples.NetFramework.WinForms #566

Conversation

kenjiuno
Copy link
Contributor

  1. Moving to .NET Framework 4.6.2 due to:

    error : Project '..\NetSparkle\NetSparkle.csproj' targets 'net8.0;net7.0;net6.0;netstandard2.0;net462'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.2'.

  2. Enable Auto-generate binding redirects due to:

    Consider app.config remapping of assembly "System.Runtime.CompilerServices.Unsafe, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.0.4.1" [] to Version "6.0.0.0" [src\bin\Debug\NetSparkle\net462\System.Runtime.CompilerServices.Unsafe.dll] to solve conflict and get rid of warning.

1. moving to .NET Framework 4.6.2 due to:

```
error : Project '..\NetSparkle\NetSparkle.csproj' targets 'net8.0;net7.0;net6.0;netstandard2.0;net462'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.2'.
```

2. enable `Auto-generate binding redirects` due to:

```
Consider app.config remapping of assembly "System.Runtime.CompilerServices.Unsafe, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "4.0.4.1" [] to Version "6.0.0.0" [src\bin\Debug\NetSparkle\net462\System.Runtime.CompilerServices.Unsafe.dll] to solve conflict and get rid of warning.
```
@Deadpikle Deadpikle merged commit 869930b into NetSparkleUpdater:develop Feb 27, 2024
4 checks passed
@Deadpikle
Copy link
Collaborator

Thank you!!

@kenjiuno kenjiuno deleted the fix-winforms-build-issue branch February 27, 2024 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants