kant2002 / WinFormsComInterop

ComWrappers required to run NativeAOT and WinForms
MIT License
213 stars 30 forks source link

win form aot fail atal error CVT1105: #79

Open lozn00 opened 2 months ago

lozn00 commented 2 months ago
ty when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ArrayOperations.cs(52): AOT analysis warning IL3050: System.Linq.Expressions.Interpret
er.NewArrayInstruction.Run(InterpretedFrame): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality w
hen AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/ArrayOperations.cs(87): AOT analysis warning IL3050: System.Linq.Expressions.Interpret
er.NewArrayBoundsInstruction.Run(InterpretedFrame): Using member 'System.Array.CreateInstance(Type,Int32[])' which has 'RequiresDynamicCodeAttribute' can break functio
nality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(169): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILModule.DefineMethod(String,Typ
e,Type[],String[],XmlILMethodAttributes): Using member 'System.Reflection.Emit.DynamicMethod.DynamicMethod(String,Type,Type[],Module)' which has 'RequiresDynamicCodeAt
tribute' can break functionality when AOT compiling. Creating a DynamicMethod requires dynamic code. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(92): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILModule.XmlILModule(Boolean,Bool
ean): Using member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can brea
k functionality when AOT compiling. Defining a dynamic assembly requires dynamic code. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/ContentValidator.cs(1509): AOT analysis warning IL3050: System.Xml.Schema.ParticleContentValidator.BuildTrans
itionTable(BitSet,BitSet[],Int32): Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT
compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1346): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.EnsureArrayIndex(Array,Int32,Type): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality whe
n AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1348): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.EnsureArrayIndex(Array,Int32,Type): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality whe
n AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1358): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.ShrinkArray(Array,Int32,Type,Boolean): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality
when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1361): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.ShrinkArray(Array,Int32,Type,Boolean): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality
when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1644): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.ReadArray(String,String): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The c
ode for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReader.cs(1650): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializatio
nReader.ReadArray(String,String): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT comp
iling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriter.cs(91): AOT analysis warning IL3050: System.Xml.Serialization.XmlSerializationW
riter.Namespaces.set: Using member 'System.Collections.ArrayList.ToArray(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Th
e code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/NameTable.cs(99): AOT analysis warning IL3050: System.Xml.Serialization.NameTable.ToArray(Type): Using
 member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the spe
cified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(576): AOT analysis warning IL3050: System.Xml.Serialization.Reflec
tionXmlSerializationReader.SetCollectionObjectWithCollectionMember(Object&,CollectionMember,Type): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'Re
quiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\A
ppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(384): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(402): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(441): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(493): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(500): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(529): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(529): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(581): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Runtime/CompilerServices/CallSite.cs(594): AOT analysis warning IL3050: System.Runtime.CompilerServices.CallSite`1.
CreateCustomUpdateDelegate(MethodInfo): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/XmlILModule.cs(39): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILModule.CreateLREModule(): Using
 member 'System.Reflection.Emit.AssemblyBuilder.DefineDynamicAssembly(AssemblyName,AssemblyBuilderAccess)' which has 'RequiresDynamicCodeAttribute' can break functiona
lity when AOT compiling. Defining a dynamic assembly requires dynamic code. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(110): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorage
Methods(Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code
for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(123): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorage
Methods(Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code
for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/GenerateHelper.cs(126): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.XmlILStorageMethods.XmlILStorage
Methods(Type): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code
for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Schema/XmlValueConverter.cs(275): AOT analysis warning IL3050: System.Xml.Schema.XmlBaseConverter.XmlBaseConverter(X
mlBaseConverter): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code
for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(1974): AOT analysis warning IL3050: System.Xml.Serialization.Refle
ctionXmlSerializationReader.WriteAttribute(Member,Object): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeAttribute' can break fu
nctionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlReflectionImporter.cs(1948): AOT analysis warning IL3050: System.Xml.Serialization.XmlReflectionImp
orter.ImportAccessorMapping(MemberMapping,FieldModel,XmlAttributes,String,Type,Boolean,Boolean,RecursionLimiter): Using member 'System.Collections.ArrayList.ToArray(Ty
pe)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\m
yproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReaderILGen.cs(2687): AOT analysis warning IL3050: System.Xml.Serialization.XmlSeriali
zationReaderILGen.WriteMemberEnd(Member[],Boolean): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AO
T compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationReaderILGen.cs(2688): AOT analysis warning IL3050: System.Xml.Serialization.XmlSeriali
zationReaderILGen.WriteMemberEnd(Member[],Boolean): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AO
T compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/CodeGenerator.cs(438): AOT analysis warning IL3050: System.Xml.Serialization.CodeGenerator.StackallocS
pan(Type,Int32): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native cod
e for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2577): AOT analysis warning IL3050: System.Xml.Serialization.Reflection
AwareILGen.WriteArrayLocalDecl(String,String,SourceInfo,TypeDesc): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functi
onality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(1514): AOT analysis warning IL3050: System.Xml.Serialization.XmlSeriali
zationWriterILGen.WriteArrayItems(ElementAccessor[],TextAccessor,ChoiceIdentifierAccessor,TypeDesc,String,String): Using member 'System.Type.MakeGenericType(Type[])' w
hich has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\m
yproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Linq.Expressions/src/System/Linq/Expressions/MethodCallExpression.cs(1379): AOT analysis warning IL3050: System.Linq.Expressions.Expression.App
lyTypeArgs(MethodInfo,Type[]): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality w
hen AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(654): AOT analysis warning IL3050: System.Xml.Serialization.Reflec
tionXmlSerializationReader.GetSetMemberValueDelegate(Object,String): Using member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' which has 'RequiresDynamicCo
deAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.cs
proj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2456): AOT analysis warning IL3050: System.Xml.Serialization.Reflection
AwareILGen.ILGenForCreateInstance(CodeGenerator,Type,Type,Boolean): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can bre
ak functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/XmlSerializationWriterILGen.cs(2458): AOT analysis warning IL3050: System.Xml.Serialization.Reflection
AwareILGen.ILGenForCreateInstance(CodeGenerator,Type,Type,Boolean): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can bre
ak functionality when AOT compiling. The native code for this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Xsl/IlGen/IteratorDescriptor.cs(592): AOT analysis warning IL3050: System.Xml.Xsl.IlGen.IteratorDescriptor.EnsureLoc
al(String): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for
 this instantiation might not be available at runtime. [D:\dev\myproject\AppSign\AppSign.csproj]
/_/src/libraries/System.Private.Xml/src/System/Xml/Serialization/ReflectionXmlSerializationReader.cs(2031): AOT analysis warning IL3050: System.Xml.Serialization.Refle
ctionXmlSerializationReader.AddItemInArrayMember(Object,MemberInfo,Type,Object): Using member 'System.Array.CreateInstance(Type,Int32)' which has 'RequiresDynamicCodeA
ttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationCore]MS.Internal.AppModel.CustomCredentialPolicy+InternetSecurityManager..ctor()' will always throw because: Invalid IL or CLR metadata in
  'Void InternetSecurityManager..ctor()'
  ILC: Method '[PresentationFramework]MS.Internal.AppModel.AppSecurityManager+InternetSecurityManager..ctor()' will always throw because: Invalid IL or CLR metadata in
   'Void InternetSecurityManager..ctor()'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.CAccPropServicesClass(): COM interop is not supported with full ahead of time compilation. [D:\d
ev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass..ctor()' will always throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropService
  sClass..ctor()'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetPropValue(Byte&,UInt32,Guid,Object): COM interop is not supported with full ahead of time com
pilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetPropValue(uint8&,uint32,Guid,object)' will always throw because: Invalid IL or CLR metadata in 'Vo
  id Accessibility.CAccPropServicesClass.SetPropValue(Byte ByRef, UInt32, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetPropServer(Byte&,UInt32,Guid&,Int32,IAccPropServer,AnnoScope): COM interop is not supported w
ith full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetPropServer(uint8&,uint32,Guid&,int32,IAccPropServer,AnnoScope)' will always throw because: Invalid
   IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetPropServer(Byte ByRef, UInt32, System.Guid ByRef, Int32, Accessibility.IAccPropServer, Accessibil
  ity.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearProps(Byte&,UInt32,Guid&,Int32): COM interop is not supported with full ahead of time compi
lation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearProps(uint8&,uint32,Guid&,int32)' will always throw because: Invalid IL or CLR metadata in 'Void
   Accessibility.CAccPropServicesClass.ClearProps(Byte ByRef, UInt32, System.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndProp(_RemotableHandle&,UInt32,UInt32,Guid,Object): COM interop is not supported with full
 ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndProp(_RemotableHandle&,uint32,uint32,Guid,object)' will always throw because: Invalid IL or CL
  R metadata in 'Void Accessibility.CAccPropServicesClass.SetHwndProp(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndPropStr(_RemotableHandle&,UInt32,UInt32,Guid,String): COM interop is not supported with f
ull ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndPropStr(_RemotableHandle&,uint32,uint32,Guid,string)' will always throw because: Invalid IL or
   CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHwndPropStr(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid, System.String)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHwndPropServer(_RemotableHandle&,UInt32,UInt32,Guid&,Int32,IAccPropServer,AnnoScope): COM int
erop is not supported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHwndPropServer(_RemotableHandle&,uint32,uint32,Guid&,int32,IAccPropServer,AnnoScope)' will always
  throw because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHwndPropServer(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System
  .Guid ByRef, Int32, Accessibility.IAccPropServer, Accessibility.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearHwndProps(_RemotableHandle&,UInt32,UInt32,Guid&,Int32): COM interop is not supported with f
ull ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearHwndProps(_RemotableHandle&,uint32,uint32,Guid&,int32)' will always throw because: Invalid IL or
   CLR metadata in 'Void Accessibility.CAccPropServicesClass.ClearHwndProps(Accessibility._RemotableHandle ByRef, UInt32, UInt32, System.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ComposeHwndIdentityString(_RemotableHandle&,UInt32,UInt32,IntPtr,UInt32&): COM interop is not su
pported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ComposeHwndIdentityString(_RemotableHandle&,uint32,uint32,native int,uint32&)' will always throw beca
  use: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.ComposeHwndIdentityString(Accessibility._RemotableHandle ByRef, UInt32, UInt32, IntPtr,
  UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.DecomposeHwndIdentityString(Byte&,UInt32,IntPtr,UInt32&,UInt32&): COM interop is not supported w
ith full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.DecomposeHwndIdentityString(uint8&,uint32,native int,uint32&,uint32&)' will always throw because: Inv
  alid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.DecomposeHwndIdentityString(Byte ByRef, UInt32, IntPtr, UInt32 ByRef, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuProp(_RemotableHandle&,UInt32,Guid,Object): COM interop is not supported with full ahead
 of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuProp(_RemotableHandle&,uint32,Guid,object)' will always throw because: Invalid IL or CLR meta
  data in 'Void Accessibility.CAccPropServicesClass.SetHmenuProp(Accessibility._RemotableHandle ByRef, UInt32, System.Guid, System.Object)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuPropStr(_RemotableHandle&,UInt32,Guid,String): COM interop is not supported with full ah
ead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuPropStr(_RemotableHandle&,uint32,Guid,string)' will always throw because: Invalid IL or CLR m
  etadata in 'Void Accessibility.CAccPropServicesClass.SetHmenuPropStr(Accessibility._RemotableHandle ByRef, UInt32, System.Guid, System.String)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle&,UInt32,Guid&,Int32,IAccPropServer,AnnoScope): COM interop i
s not supported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.SetHmenuPropServer(_RemotableHandle&,uint32,Guid&,int32,IAccPropServer,AnnoScope)' will always throw
  because: Invalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.SetHmenuPropServer(Accessibility._RemotableHandle ByRef, UInt32, System.Guid ByRef,
  Int32, Accessibility.IAccPropServer, Accessibility.AnnoScope)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ClearHmenuProps(_RemotableHandle&,UInt32,Guid&,Int32): COM interop is not supported with full ah
ead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ClearHmenuProps(_RemotableHandle&,uint32,Guid&,int32)' will always throw because: Invalid IL or CLR m
  etadata in 'Void Accessibility.CAccPropServicesClass.ClearHmenuProps(Accessibility._RemotableHandle ByRef, UInt32, System.Guid ByRef, Int32)'
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.ComposeHmenuIdentityString(_RemotableHandle&,UInt32,IntPtr,UInt32&): COM interop is not supporte
d with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.ComposeHmenuIdentityString(_RemotableHandle&,uint32,native int,uint32&)' will always throw because: I
  nvalid IL or CLR metadata in 'Void Accessibility.CAccPropServicesClass.ComposeHmenuIdentityString(Accessibility._RemotableHandle ByRef, UInt32, IntPtr, UInt32 ByRef)
  '
ILC : AOT analysis warning IL3052: Accessibility.CAccPropServicesClass.DecomposeHmenuIdentityString(Byte&,UInt32,IntPtr,UInt32&): COM interop is not supported with ful
l ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[Accessibility]Accessibility.CAccPropServicesClass.DecomposeHmenuIdentityString(uint8&,uint32,native int,uint32&)' will always throw because: Invalid IL
   or CLR metadata in 'Void Accessibility.CAccPropServicesClass.DecomposeHmenuIdentityString(Byte ByRef, UInt32, IntPtr, UInt32 ByRef)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.CreateSpellChecker(String): COM interop is not supported wit
h full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.CreateSpellChecker(string)' will always throw because: In
  valid IL or CLR metadata in 'ISpellChecker SpellCheckerFactoryCoClass.CreateSpellChecker(System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.IsSupported(String): COM interop is not supported with full
ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.IsSupported(string)' will always throw because: Invalid I
  L or CLR metadata in 'Int32 SpellCheckerFactoryCoClass.IsSupported(System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.RegisterUserDictionary(String,String): COM interop is not su
pported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.RegisterUserDictionary(string,string)' will always throw
  because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass.RegisterUserDictionary(System.String, System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.UnregisterUserDictionary(String,String): COM interop is not
supported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.UnregisterUserDictionary(string,string)' will always thro
  w because: Invalid IL or CLR metadata in 'Void SpellCheckerFactoryCoClass.UnregisterUserDictionary(System.String, System.String)'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.SupportedLanguages.get: COM interop is not supported with fu
ll ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass.get_SupportedLanguages()' will always throw because: Inva
  lid IL or CLR metadata in 'IEnumString SpellCheckerFactoryCoClass.get_SupportedLanguages()'
ILC : AOT analysis warning IL3052: System.Windows.Documents.MsSpellCheckLib.RCW.SpellCheckerFactoryCoClass.SpellCheckerFactoryCoClass(): COM interop is not supported w
ith full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[PresentationFramework]System.Windows.Documents.MsSpellCheckLib.RCW+SpellCheckerFactoryCoClass..ctor()' will always throw because: Invalid IL or CLR met
  adata in 'Void SpellCheckerFactoryCoClass..ctor()'
  ILC: Method '[WindowsBase]MS.Internal.Security.AttachmentService+AttachmentServices..ctor()' will always throw because: Invalid IL or CLR metadata in 'Void Attachmen
  tServices..ctor()'
ILC : AOT analysis warning IL3052: System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(IXpsOMPage,XPS_IMAGE_TYPE,XPS_THUMBNAIL_SIZE,IOp
cPartUri): COM interop is not supported with full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.GenerateThumbnail(IXpsOMPage,XPS_IMAGE_TYPE,XPS_THUMBNAIL_SIZE,IOpcPar
  tUri)' will always throw because: Invalid IL or CLR metadata in 'System.Windows.Xps.Serialization.RCW.IXpsOMImageResource System.Windows.Xps.Serialization.RCW.XpsOMT
  humbnailGeneratorClass.GenerateThumbnail(System.Windows.Xps.Serialization.RCW.IXpsOMPage, System.Windows.Xps.Serialization.RCW.XPS_IMAGE_TYPE, System.Windows.Xps.Ser
  ialization.RCW.XPS_THUMBNAIL_SIZE, System.Windows.Xps.Serialization.RCW.IOpcPartUri)'
ILC : AOT analysis warning IL3052: System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass.XpsOMThumbnailGeneratorClass(): COM interop is not supported with
full ahead of time compilation. [D:\dev\myproject\AppSign\AppSign.csproj]
  ILC: Method '[ReachFramework]System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..ctor()' will always throw because: Invalid IL or CLR metadata in 'Voi
  d System.Windows.Xps.Serialization.RCW.XpsOMThumbnailGeneratorClass..ctor()'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.WebView2ComWrapper.ComputeVtables(object,CreateComInterfaceFlags,int32&)' will always throw because: Fai
  led to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.WebView2ComWrapper.CreateObject(native int,CreateObjectFlags)' will always throw because: Failed to load
   assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.MarshalSupport.GetIUnknownForObject(object)' will always throw because: Failed to load assembly 'Microso
  ft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_AdditionalBrowserArguments(native int,native int*)' wil
  l always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_AdditionalBrowserArguments(native int,native int)' will
   always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_Language(native int,native int*)' will always throw bec
  ause: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_Language(native int,native int)' will always throw beca
  use: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_TargetCompatibleBrowserVersion(native int,native int*)'
   will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_TargetCompatibleBrowserVersion(native int,native int)'
  will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.get_AllowSingleSignOnUsingOSPrimaryAccount(native int,int32
  *)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptionsProxy.set_AllowSingleSignOnUsingOSPrimaryAccount(native int,int32
  )' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptions2Proxy.get_ExclusiveUserDataFolderAccess(native int,int32*)' will
   always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2EnvironmentOptions2Proxy.set_ExclusiveUserDataFolderAccess(native int,int32)' will
  always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandlerProxy.Invoke(native int,int32,native i
  nt)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2CreateCoreWebView2ControllerCompletedHandlerProxy.Invoke(native int,int32,native in
  t)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelperProxy.IsMethodMember(native int,Variant*,native int,int32*)'
   will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelper2Proxy.IsAsyncMethod(native int,Variant*,native int,int32,in
  t32*)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2PrivateHostObjectHelper2Proxy.SetAsyncMethodContinuation(native int,Variant*,native
   int,int32,Variant*,native int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2MoveFocusRequestedEventHandlerProxy.Invoke(native int,native int,native int)' will
  always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2AcceleratorKeyPressedEventHandlerProxy.Invoke(native int,native int,native int)' wi
  ll always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ZoomFactorChangedEventHandlerProxy.Invoke(native int,native int,Variant*)' will alw
  ays throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NavigationCompletedEventHandlerProxy.Invoke(native int,native int,native int)' will
   always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NavigationStartingEventHandlerProxy.Invoke(native int,native int,native int)' will
  always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2SourceChangedEventHandlerProxy.Invoke(native int,native int,native int)' will alway
  s throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2WebMessageReceivedEventHandlerProxy.Invoke(native int,native int,native int)' will
  always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ContentLoadingEventHandlerProxy.Invoke(native int,native int,native int)' will alwa
  ys throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2ProcessFailedEventHandlerProxy.Invoke(native int,native int,native int)' will alway
  s throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2WebResourceRequestedEventHandlerProxy.Invoke(native int,native int,native int)' wil
  l always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2NewWindowRequestedEventHandlerProxy.Invoke(native int,native int,native int)' will
  always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[WinFormsComInterop]WinFormsComInterop.WebView2.Webview2ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandlerProxy.Invoke(native int,int32,na
  tive int)' will always throw because: Failed to load assembly 'Microsoft.Web.WebView2.Core'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyEntry..ctor()' will always throw because: Invalid IL or CLR metadata in '
  Void PropertyEntry..ctor()'
  ILC: Method '[System.DirectoryServices]System.DirectoryServices.UnsafeNativeMethods+PropertyValue..ctor()' will always throw because: Invalid IL or CLR metadata in '
  Void PropertyValue..ctor()'
    正在创建库 bin\Release\net7.0-windows\win-x64\native\AppSign.lib 和对象 bin\Release\net7.0-windows\win-x64\native\AppSign.exp
CVTRES : fatal error CVT1105: 无法在文件中查找 [D:\dev\myproject\AppSign\AppSign.csproj]
LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 [D:\dev\myproject\AppSign\AppSign.csproj]
C:\Program Files\dotnet\sdk\7.0.202\Sdks\Microsoft.DotNet.ILCompiler\build\Microsoft.NETCore.Native.targets(350,5): error MSB3073: 命令“"D:\Program Files\Microsoft Visua
l Studio\2022\Community\VC\Tools\MSVC\14.34.31933\bin\Hostx64\x64\link.exe" @"obj\Release\net7.0-windows\win-x64\native\link.rsp"”已退出,代码为 1123。 [D:\dev\myproject\AppSi
gn\AppSign.csproj]

image

image

lozn00 commented 2 months ago
D:\dev\myproject\AppSign>dotnet --info
.NET SDK:
 Version:   7.0.202
 Commit:    6c74320bc3

运行时环境:
 OS Name:     Windows
 OS Version:  10.0.22631
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\7.0.202\

Host:
  Version:      8.0.0
  Architecture: x64
  Commit:       5535e31a71

.NET SDKs installed:
  6.0.306 [C:\Program Files\dotnet\sdk]
  7.0.100-rc.2.22477.23 [C:\Program Files\dotnet\sdk]
  7.0.102 [C:\Program Files\dotnet\sdk]
  7.0.202 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0-rc.2.22476.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0-rc.2.22472.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 6.0.16 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.0-rc.2.22472.13 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 7.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
  x86   [C:\Program Files (x86)\dotnet]
    registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download