CsWinRT icon indicating copy to clipboard operation
CsWinRT copied to clipboard

Build Errors when assemblyname starts with a number

Open sbloomztf opened this issue 1 year ago • 2 comments

for example...

<AssemblyName>012Numbers And Spaces</AssemblyName>

Results in....

'global::WinRT' is a namespace but is used like a type 'WinRTExposedTypeAttribute' does not contain a constructor that takes 3 arguments The name 'umbers_And_SpacesVtableClasses' does not exist in the current context

sbloomztf avatar Dec 02 '24 23:12 sbloomztf

Looks like we will need to escape with a _ prefix when it starts with a number.

manodasanW avatar Dec 03 '24 07:12 manodasanW

Is there any progress regarding this one? I just stumbled over it when I googled the errors... 🙂

Sella-GH avatar Jan 30 '25 18:01 Sella-GH