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
Describe the bug
When the Windows.System.RemoteSystems namespace, or a type within it, is added to an embedded project it starts outputting the compiler error; Nullable.cs(17,36,17,41): error CS0426: The type name 'Vftbl' does not exist in the type 'T?'
To Reproduce
Open the sample 'TestEmbedded.sln' solution in VS2019 or CS2022
Add namespace reference Windows.System.RemoteSystems; to the CsWinRTIncludes section of TestEmbeddedLibrary.csproj
Build the project and see the error is introduced (along with other errors about missing types referenced by RemoteSystems.cs; fixing these errors by importing additional namespaces does not fix the error in Nullable).
The error appears consistently across all target frameworks in the multi-targeted sample (net6.0-windows target fails to build in VS2019 as expected).
Expected behavior
The precise repro case described above will still fail to compile with CS0234 errors in RemoteSystems.cs but the CS0426 error in Nullable.cs should not be present as it does not appear to be end user fixable.
Version Info
CSWinRT NuGet : 1.4.1
Windows SDK : Reproduced on 18362 and 19041
Visual Studio: 16.11.8, 17.0.4
The text was updated successfully, but these errors were encountered:
Describe the bug
When the Windows.System.RemoteSystems namespace, or a type within it, is added to an embedded project it starts outputting the compiler error;
Nullable.cs(17,36,17,41): error CS0426: The type name 'Vftbl' does not exist in the type 'T?'
To Reproduce
The error appears consistently across all target frameworks in the multi-targeted sample (net6.0-windows target fails to build in VS2019 as expected).
Expected behavior
The precise repro case described above will still fail to compile with CS0234 errors in RemoteSystems.cs but the CS0426 error in Nullable.cs should not be present as it does not appear to be end user fixable.
Version Info
CSWinRT NuGet : 1.4.1
Windows SDK : Reproduced on 18362 and 19041
Visual Studio: 16.11.8, 17.0.4
The text was updated successfully, but these errors were encountered: