Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DSP] Failure building in visual studio #18986

Open
jeromelaban opened this issue Dec 2, 2024 · 0 comments
Open

[DSP] Failure building in visual studio #18986

jeromelaban opened this issue Dec 2, 2024 · 0 comments
Assignees

Comments

@jeromelaban
Copy link
Member

jeromelaban commented Dec 2, 2024

I'm encountering a build error in my project that appears to be related to Windows updates. The issue has been reproduced on two separate machines, both occurring after Windows updates were installed.

The "GenerateFileTask" task could not be instantiated from "C:\Users\wenhong.lau.DATGEL\.nuget\packages\uno.dsp.tasks\1.4.0\build\../tools/Uno.Dsp.Tasks.dll". 
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(IServiceCollection services, Action`1 configure)
   at Microsoft.Extensions.Hosting.HostBuilder.PopulateServiceCollection(IServiceCollection services, HostBuilderContext hostBuilderContext, HostingEnvironment hostingEnvironment, PhysicalFileProvider defaultFileProvider, IConfiguration appConfiguration, Func`1 serviceProviderGetter)
   at Microsoft.Extensions.Hosting.HostBuilder.InitializeServiceProvider()
   at Microsoft.Extensions.Hosting.HostBuilder.Build()
   at Uno.Dsp.Tasks.TaskBase..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
	Datgel.Acquisition (net8.0)	C:\Users\wenhong.lau.DATGEL\.nuget\packages\uno.dsp.tasks\1.4.0\build\Uno.Dsp.Tasks.targets	20	

Logs: https://github.com/user-attachments/files/17974926/logs.zip

Originally posted by @WenHong-Lau in #18980

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

No branches or pull requests

2 participants