acarrazzoni-qontigo
acarrazzoni-qontigo
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
I think I found the issue. The global.json file had latestMajor. Changing it to latestPatch worked
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
i only get the issue in a GitHub action though
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
here's a minimal example that causes the issue (assuming nuget.org is disabled)
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
Let me double check
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
I'm afraid I can't anonymize my repo since the csproj files contain dependencies on internal nuget packages. All of the errors that appear are Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.35) Unable to find package Microsoft.WindowsDesktop.App.Ref with version (= 6.0.35) Unable to find package Microsoft.AspNetCore.App.Ref with version (= 6.0.35)
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
nothing is referencing those projects, they just seem to be pulled by the SDK for some reason
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
nuget restore fails for some projects because something wants version 6.0.35 of the Microsoft.NETCore.App.Ref and Microsoft.WindowsDesktop.App.Ref packages. this is despite using the 8.0.204 SDK
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
Is it possible that this is caused by projects targeting netstandard2.0?
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
And there are solutions that contain both net 6 and net 8 projects
42 replies
CC#
Created by acarrazzoni-qontigo on 10/14/2024 in #help
✅ How do I pin both NET 8 and NET 6 sdk versions in global.json?
I have several solutions that target both net 6 and net 8. I can't share the csproj files, sorry. What I need is to pin Microsoft.NETCore.App.Ref to a certain 6.0.x version for NET 6 projects, and a 8.0.x version for NET 8 projects
42 replies
CC#
Created by acarrazzoni-qontigo on 7/16/2024 in #help
How to pin Microsoft.NETCore.App.Ref version
I'm already referencing that package like that in the first place. When I build the class library I get this error. I have nuget.org disabled and version 6.0.32 in my nuget repositories. How can I pin that package to version 6.0.31? Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.32)
8 replies