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
[jcouv update:] FWIW, here are the translated diagnostics:
warning CS8021: Value for RuntimeMetadataVersion not found. The assembly containing System.Object could not be found, or the value for RuntimeMetadataVersion was not specified via the option.
error CS0009: Unable to open metadata file '<内存中的程序集>'-- PE image does not contain any managed metadata.
(1,1): error CS0518: Predefined type 'System.Object' is not defined or imported
error CS0518: Predefined type "System.Void"' is not defined or imported
error CS0518: Predefined type &System.String"Undefined or imported
(1,1): error CS0518: Predefined type &System.Int32" not defined or imported
(1,9): error CS0518: Predefined type 'System.Int32' is not defined or imported
(1,1): error CS1729: 'object' does not contain constructor with 0 arguments
error CS0518: Predefined type "System.Attribute"' is not defined or imported
error CS0518: Predefined type "System.Attribute"' is not defined or imported
error CS0518: Predefined type "System.Int32" is not defined or imported
error CS0656: Member "System.AttributeUsageAttribute.. is missing compiler requirement ctor”
error CS0656: Member "System.AttributeUsageAttribute.AllowMultiple" is missing compiler requirement
error CS0656: Member "System.AttributeUsageAttribute.Inherited' is missing compiler requirement
The text was updated successfully, but these errors were encountered:
Version Used: Roslyn 4.12.0-3.final; .NET 8.0; Visual Studio 2022
Steps to Reproduce:
MetadataReference
from WebCIL fileCompilation
Expected Behavior:
Compiled succeed.
Actual Behavior:
Compiled failed.
Similar issue: #74555
[jcouv update:] FWIW, here are the translated diagnostics:
The text was updated successfully, but these errors were encountered: