Closed Skrypt closed 1 year ago
@DAud-IcI please confirm that this is addressed by https://github.com/OrchardCMS/OrchardCore.Commerce/pull/119
Nope, SampleWebApp
still uses the generic host builder style. #119 didn't do functional changes unless it seemed necessary.
Maybe there is a way to use it even if we are multi-targeting frameworks on the CI.
What other frameworks do you have in mind, @Skrypt ? I think we only need to target .Net 6, becuase that's what OC 1.3 requires.
Even though we currently only target net6.0; when net7.0 will be eventually out, we will surely multi-target to keep an LTS version in the build pipeline. So, you need to keep in mind that we are going to eventually multi-target.
Yes, that makes sense. I just got confused, becuase the new style application boostrapping should be forward-compatible so .Net 7 wouldn't have any effect on the issue topic.
We could take a look at multi-targeting with the 7.0.0-preview.3 SDK (in a container, becuase installing preview SDKs on bare metal is never a good time). But that should be a separate issue, I think.
I believe this is why we dropped net3.1 and net5.0.
Looks like this was done during https://github.com/OrchardCMS/OrchardCore.Commerce/issues/212#issuecomment-1285748447 (see the diff here)
As suggested by @jhgbrt
It would be a good thing to use the new way of bootstrapping the application in .NET 6.0 Maybe there is a way to use it even if we are multi-targeting frameworks on the CI.
Jira issue