Conversation
|
@sebastienros did I miss something here? |
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-dotnet@v4 | ||
| with: | ||
| global-json-file: global.json |
There was a problem hiding this comment.
didn't know of this switch, cool
| @@ -1,39 +1,43 @@ | |||
| <Project Sdk="Microsoft.NET.Sdk"> | |||
|
|
|||
| <PropertyGroup> | |||
There was a problem hiding this comment.
Changing spaces to tabs doesn't feel right
| @@ -1,53 +1,68 @@ | |||
| <Project Sdk="Microsoft.NET.Sdk"> | |||
|
|
|||
| <PropertyGroup> | |||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFrameworks>net6.0;net8.0</TargetFrameworks> |
There was a problem hiding this comment.
should probably drop net6.0 all around
There was a problem hiding this comment.
When I format the file in VS it uses tabs over spaces, regular tab is 4 spaces
|
My thoughts about this PR. I wouldn't add the net9.0 tfm if there were not specific framework references to ASP.NET (for the view engines) (i.e. this is fine in this project), since there are net9.0 specific code paths otherwise. I added the I removed net7.0 because it's out of support for 6 months, and there is no reason to keep it otherwise (not an LTS even). I'd keep net6.0 for now since it just got unsupported a few days ago. I am still trying to come up with a rationale about when to use a dotnet library version 9.0 if not required (example: extensions, abstractions, ...). MS is also working on this internally for the different types of libraries it ships. |
|
@hishamco all these space changes should be reverted. Is there a way to enforce tooling follows some rules with the .editorsettings? This way VS (if this is what did the changes in this case) would follow it. |
|
I think NET 9 SDK is a good addition, but I also believe that NET 9 target is unnecessary. SDKs ship with new clever ways to transform your code to more performant structures (when you use collection expression and friends for example). |
Have you seen the framework references in the csproj files? But for |
Yes for the consuming projects |
|
MvcViewEngines is publishing, and has a reference to the aspnet runtime. I am afraid it would pull net8.0 aspnetcore if you used a net9.0 app. I can test it. |
|
I am still applying some changes, don't merge |
|
I finally introduced a variable version for FileProvider.Abstractions as I am not clear yet if it pull ups some other dependencies, and also is referencing 9.0 only triggers warning for net6.0 builds AND it could trigger downgrade warnings for other projects pointing to a different version than they use. |
|
The latest release seems to cause some trouble.. https://www.nuget.org/packages/Fluid.Core lists Which might the cause for some problems with NJsonSchema upgrade:
|
|
This was an intentional change which I thought would be fine ... going to rever this. The issue is with MEFA, right ? |
That's the issue with bumping to 9.0.0, it's compatible with netstandard2.0, and there is no reason we shouldn't upgrade, but then other libraries might pull a different version directly and that could be an issue. Is NJsonSchema referencing System.Text.Encodings.Web, Version=8.0.0.0 directly? |
|
|
And it's only for net462, netstandard2.0, net472 since they have to reference STJ. |
|
FYI I used |
|
I think with general netstandard it would be best to require lowest possible. A weird problem to see when latest SDK is being used and it should automatically resolve dependencies and version forwards. |

No description provided.