Skip to content

[wasm] Wasm.Build.Tests failing with Generator 'JSExportGenerator' failed to initialize.. FileNotFoundException.. Microsoft.Interop.SourceGeneration #74944

@radical

Description

@radical

Wasm.Build.Tests.WasmTemplateTests failing on multiple PRs. On #74704 it failed with:

/datadisks/disk1/work/ABD10942/w/B5030994/e/dotnet-workload/sdk/7.0.100-rc.2.22426.5/MSBuild.dll /nologo -maxcpucount -property:_IsPublishing=true --property:WasmBuildOnlyAfterPublish=true --property:AppRefDir=/datadisks/disk1/work/ABD10942/p/microsoft.netcore.app.ref --property:Configuration=Debug -restore -target:Publish -verbosity:m /v:minimal /bl:/datadisks/disk1/work/ABD10942/w/B5030994/uploads/xharness-output/logs/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.binlog ./Debug_rgbarhvz.zdp.csproj
  Determining projects to restore...
  Restored /datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.csproj (in 4 ms).

CSC : warning CS8784: Generator 'JSExportGenerator' failed to initialize. It will not contribute to the output and compilation errors may occur as a result.
	Exception was of type 'FileNotFoundException' with message 'Could not load file or assembly
		'Microsoft.Interop.SourceGeneration, Version=42.42.42.42, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [/datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.csproj]
CSC : warning CS8784: Generator 'JSImportGenerator' failed to initialize. It will not contribute to the output and compilation errors may occur as a result.
	Exception was of type 'FileNotFoundException' with message 'Could not load file or assembly
		'Microsoft.Interop.SourceGeneration, Version=42.42.42.42, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [/datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.csproj]
CSC : warning CS8784: Generator 'LibraryImportGenerator' failed to initialize. It will not contribute to the output and compilation errors may occur as a result.
	Exception was of type 'FileNotFoundException' with message 'Could not load file or assembly
		'Microsoft.Interop.SourceGeneration, Version=42.42.42.42, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. [/datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.csproj]

/datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Program.cs(21,36):
	error CS8795: Partial method 'MyClass.GetNodeVersion()' must have an implementation part because it has accessibility modifiers. [/datadisks/disk1/work/ABD10942/w/B5030994/e/Debug_rgbarhvz.zdp/Debug_rgbarhvz.zdp.csproj]

Also seen on #74705 .

cc @maraf @pavelsavara

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions