Error NETSDK1005 on build via Run/Debug Configurations after Rider update
Since updating Rider to version 2025.3.2 (#RD-253.30387.148), I have been getting the error 'NETSDK1005' whenever I try to start my application using a Run/Debug configuration that worked fine before the update. The strange thing is that when I build the project with the error via the 'Build Selected Projects' option in the right-click menu, the project can be built without any errors. There is also no error when I change the Run/Debug configuration to 'Build solution' instead of 'Build project', but this workaround is inconvenient because I cannot start the application when there is a compile error in a test project. I have already checked that the target framework (net48) tag <TargetFramework>net48</TargetFramework> is present in every project file. I also tried removing and readding my NuGet sources, but that didn't help either.
Does anyone know what I can do to fix this?
Please sign in to leave a comment.
Michael, based on your description, it sounds like another case of the underlying issue that will be fixed in Rider 2025.3.3 in the scope of RIDER-135258 NETSDK1005 error when building projects with netstandard2.0 dependency project references.
Please consider trying one of the workarounds mentioned in the issue. You can find more information about how you can downgrade Rider in SUPPORT-A-2375 How to downgrade Rider?