Reputation: 1153
In standard .NET there's System.Diagnostics.Debug.WriteLine, in UWP C# there's also System.Diagnostics.Debug - but when I write a C++/CX Windows Runtime Component there's apparently no assembly reference to System.Diagnostics.Debug...
Am I missing a reference or am I supposed to not be able to use this in VC++ Windows Runtime Components?
Do I need to wrap access to this as a separate C# Windows Runtime Component and then reference that runtime component in my C++ runtime component?
I must be missing something simple, but I'm generally new to VC++ with UWP and UWP in general.
Sorry, as of yet, documentation and resources on UWP are scarce.
Upvotes: 1
Views: 722
Reputation: 12019
You can use OutputDebugString
to write debugging statements in C++.
Upvotes: 1