-
Notifications
You must be signed in to change notification settings - Fork 246
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
Nuget dependency version is too high #394
Comments
Sorry, I do not follow. And of course, if you believe it makes sense for you you can always set the version you need from your project settings. But be careful. |
Hi, In our opinion it would be good to stick with the lowest still supported net version. In the current case net80 until the support ends (next year?). |
That's not a problem. I just recently released CS-Script CLI (.NET tool) that targets both .NET 8 and .NET 9 |
Hm... I just realized that the target platform for CSScriptLib is Remember " .json 9.0" does not mean that the package targets .NET9 it can run on all runtimes it supports. In this case it's for in total: What am I missing? |
test .NET6 project. |
Wait... you asked about the lowest supported .NET version and it is NET8, not NET6.
|
This looks fine too me. But think about the following:
I am not that familiar with packages, but what could be done is something like different json versions for net80 and net90 net80 -> Json => 8.0.X that usually what we do in cases of multi target frameworks of our project in a transition phase while upgrading .net @oleg-shilo: The net60 comment was coming from @kimdiego2098. But it really does not matter at the moment. |
I think there is some confusion here caused by the tricky-looking numbers. system.text.json v9.0 does not mean that this package can run on .NET9. I even tested it for you and shared the screenshot that the dotnet package resolution correctly picks the system.text.json.dll from the .NET8.0 package folder |
The only issue is that
|
Yeah, but this is something that is implemented by system.text.json.dll and has nothing to do with CS-Script. Thus I cannot possibly fix it. BTW if indeed the message is caused by your hosting app being net6, then I cannot really blame |
If possible, I hope to add net6.0 compilation output items |
I am not sure what you are asking. Can you elaborate? You can assess the risk and just ignore the warning. Fair enough. But this will be between the warning source (.NET team) and the warning receiver (you). Again, I do not see the role here for cs-script |
cssript requires a minimum version 9.0 of
|
OK, I have downgraded another package and it seems to build the package. Can you check if this new package works for you: |
For example,
System Text.Encodings.Web
v9.0.0 will have a warning prompt,This seems to be contagious, causing me to add SuppressTfmSupportBuildWarnings to every library. Perhaps it can be modified from the source?The text was updated successfully, but these errors were encountered: