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

Update .NET Framework to 4.8, migrate to sdk format #404

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented May 21, 2024

With .NET Core being in the air, this is something to bridge the gap in the meantime to allow modern Visual Studio instances to properly test and debug sharpshell as-is. Preliminary testing makes it seem like .NET Standard 2.0 could be another stopgap solution for the SharpShell logic specifically (the GUI stuff is another story), but that wouldn't be as smooth of a transition without first making sure everything functions as-is.

@osexpert
Copy link

Visual Studio 2017 is most likely too old. Should probably change appveyor.yml from
image: Visual Studio 2017
to
image: Visual Studio 2022

• Make `Any CPU` the only build target, as `SharpShellNativeBridge` is no longer part of the main Solution
@Repiteo Repiteo force-pushed the modernize-frameworks branch 6 times, most recently from 5382898 to 731bde6 Compare June 12, 2024 15:36
@osexpert
Copy link

osexpert commented Jun 12, 2024

I think you need to switch to use dotnet build instead of msbuild in build.ps1 (or maybe not required, but IIRC msbuild and sdk style csproj are not best friends and will fight from time to time)

@Repiteo Repiteo force-pushed the modernize-frameworks branch from 731bde6 to 0ae3a59 Compare June 12, 2024 15:41
appveyor.yml Show resolved Hide resolved
@Repiteo Repiteo force-pushed the modernize-frameworks branch 11 times, most recently from 1851010 to 8abf591 Compare June 12, 2024 17:13
@Repiteo Repiteo force-pushed the modernize-frameworks branch 2 times, most recently from 46051a1 to 5c92782 Compare June 12, 2024 17:35
• Remove all AssemblyInfo, migrate information to project when relevant
• Remove legacy files that no longer link via new systems
@Repiteo Repiteo force-pushed the modernize-frameworks branch from 5c92782 to 8c12288 Compare June 13, 2024 16:59
@Repiteo Repiteo force-pushed the modernize-frameworks branch 7 times, most recently from 120dd01 to 80c07b6 Compare June 13, 2024 18:16
@Repiteo Repiteo force-pushed the modernize-frameworks branch from 80c07b6 to cbbddd5 Compare June 13, 2024 18:18
Copy link

@osexpert osexpert Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this file smaller? Or is it removed completely?

Copy link

@osexpert osexpert Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems related to
https://github.com/dwmkerr/apex
https://www.nuget.org/packages/Apex
But file version is 1.6.0, so may be a private build that was never published to nuget, because last nuget is 1.5.0...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But is it possible that Apex.WinForms.dll loads Apex.dll dynamically? Or is it truly unused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything certainly seems to function, but the file version is a good point. No clue why Apex.WinForms was never put on nuget

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