You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, this looks more like a bug in Roslyn. Regardless of whether I am using a submission-based compilation or not, AbstractMetadataAsSourceService should not throw an exception. I will open an issue in Roslyn repo.
This is caused due to this check https://github.com/dotnet/roslyn/blob/9502c50d4a09457fae78f2f621484c59501993e3/src/Compilers/CSharp/Portable/Compilation/CSharpCompilation.cs#L1193 in our reflection call into
AbstractMetadataAsSourceService
. In order to use metadata we need to add a document with a namespace and things break down there.The solution could be to not flag our CSX projects as submissions however it would break the scripting implementation in many places.
The text was updated successfully, but these errors were encountered: