System.Diagnostics.DiagnosticSource error

@alexbritofa,

This could be due to the project is developed in higher version of the studio and now being edited on the lower version.

Try creating a new sample project and add this activity. Check if the issue persists.