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
Pulled the latest code for the ComWrappersGeneration solution from main, it doesn't build out-the-box:
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\bin\Generated\dnne-analyzers\DNNE.AttributesGenerator\DnneAttributes.g.cs(40,27,40,47): error CS0101: The namespace 'DNNE' already contains a definition for 'C99DeclCodeAttribute'
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\bin\Generated\dnne-analyzers\DNNE.AttributesGenerator\DnneAttributes.g.cs(59,27,59,43): error CS0101: The namespace 'DNNE' already contains a definition for 'C99TypeAttribute'
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\Exports.cs(19,42,19,63): error CS0121: The call is ambiguous between the following methods or properties: 'C99TypeAttribute.C99TypeAttribute(string)' and 'C99TypeAttribute.C99TypeAttribute(string)'
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\Exports.cs(19,81,19,102): error CS0121: The call is ambiguous between the following methods or properties: 'C99TypeAttribute.C99TypeAttribute(string)' and 'C99TypeAttribute.C99TypeAttribute(string)'
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\bin\Generated\dnne-analyzers\DNNE.AttributesGenerator\DnneAttributes.g.cs(65,16,65,32): error CS0111: Type 'C99TypeAttribute' already defines a member called 'C99TypeAttribute' with the same parameter types
dotnet\samples\core\interop\source-generation\ComWrappersGeneration\Server\bin\Generated\dnne-analyzers\DNNE.AttributesGenerator\DnneAttributes.g.cs(46,16,46,36): error CS0111: Type 'C99DeclCodeAttribute' already defines a member called 'C99DeclCodeAttribute' with the same parameter types`
FYI, if I fudge the namespace (just to get something built) then I also get the following warnings:
Server.g.obj : warning LNK4104: export of symbol 'DllGetClassObject' should be PRIVATE
Server.g.obj : warning LNK4104: export of symbol 'DllRegisterServer' should be PRIVATE
Server.g.obj : warning LNK4104: export of symbol 'DllUnregisterServer' should be PRIVATE
They are marked as private in server.def so this warning seems erroneous? Also, surely you wouldn't want them as private as regsvr32 would then fail to find the entry points? (as it stands regsvr32 fails anyway because it can't find them!)
Has anyone actually tried building/running this sample?!
The text was updated successfully, but these errors were encountered:
Pulled the latest code for the ComWrappersGeneration solution from main, it doesn't build out-the-box:
FYI, if I fudge the namespace (just to get something built) then I also get the following warnings:
They are marked as private in server.def so this warning seems erroneous? Also, surely you wouldn't want them as private as regsvr32 would then fail to find the entry points? (as it stands regsvr32 fails anyway because it can't find them!)
Has anyone actually tried building/running this sample?!
The text was updated successfully, but these errors were encountered: