Skip to content

Un-excluding Microsoft.Diagnostics.Tracing.TraceEvent.dll - #853

Merged
Sai Bulusu (saibulusu) merged 3 commits into
mainfrom
users/saibulusu/trace-event-missing
Nov 12, 2026
Merged

Sai Bulusu (saibulusu) merged 3 commits into
mainfrom
users/saibulusu/trace-event-missing

Conversation

@saibulusu

@saibulusu Sai Bulusu (saibulusu) commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Noticing the following error using locally-built VC on win-x64 and linux-x64 VMs:

[11/12/2026 1:08:32 AM] Unable to load one or more of the requested types.
Could not load file or assembly 'Microsoft.Diagnostics.Tracing.TraceEvent, Version=3.1.5.0, Culture=neutral, PublicKeyToken=... The system cannot find the file specified.

   at System.Reflection.RuntimeModule.GetDefinedTypes()
   at System.Reflection.RuntimeModule.GetTypes()
   at VirtualClient.Contracts.ComponentTypeCache.CacheProviderTypes(Assembly componentAssembly)
   at VirtualClient.Contracts.ComponentTypeCache.LoadComponentTypes(String assemblyDirectory)
   at VirtualClient.CommandBase.ExecuteAsync(String[] args, CancellationTokenSource cancellationTokenSource)

It seems this occurs due to this commit.
The proposed solution is to un-exclude the TraceEvent dll which now seems to be required with WindowsETWMonitor. Tested on win-x64 and linux-x64.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@saibulusu
Sai Bulusu (saibulusu) merged commit 26f9696 into main Nov 12, 2026
5 checks passed
@saibulusu
Sai Bulusu (saibulusu) deleted the users/saibulusu/trace-event-missing branch November 12, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants