Singulink / RuntimeNullables

Automatic null check injection for runtime C# 8+ Nullable Reference Type (NRT) contract validation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeNullables breaks source link

Trojaner opened this issue · comments

Stepping into source code of libraries that use source link and RuntimeNullables does not work.

image

Can you please elaborate with a complete description of the configuration and relationship between the various projects and packages?

Is it something like this:

  • LibraryProject: references RuntimeNullables and Source Link nuget packages, creates a library nuget package
  • AppProject: references LibraryProject nuget package and stepping into LibraryProject source no longer works here?

Is it something like this:

  • LibraryProject: references RuntimeNullables and Source Link nuget packages, creates a library nuget package
  • AppProject: references LibraryProject nuget package and stepping into LibraryProject source no longer works here?

yes

I'll have a look shortly and let you know. Thanks for the report!

What are the target frameworks for the library and app projects?

net461 and netstandard2.0 for the library
net461 and netcoreapp3.1 for the app project

Is that page coming up anytime you try to step into any source code at all or only when it attempts to break at an exception thrown by RuntimeNullables?

Is the repo with the app where this is happening public so I can clone it and debug?

The repo is openmod/openmod. You can reference OpenMod.Core from an app project via NuGet (sources are in the framework folder). Keep in mind that you need to use the 3.0.0+ version.

This was a tricky one. Closed via 7c91f33

Posting v0.9.8 to nuget now, give it a try and let me know if you have any more issues but it should be fixed.