Build Error: GenerateFileTask Instantiation Failure #18980
Replies: 3 comments 1 reply
-
Might not be Windows update, not sure what is causing this |
Beta Was this translation helpful? Give feedback.
-
PS C:\Users\wenhong.lau.DATGEL.nuget\packages\uno.dsp.tasks\1.4.0\tools> ls Mode LastWriteTime Length Name -a---- 15/6/2024 2:53 am 28384 Microsoft.Bcl.AsyncInterfaces.dll PS C:\Users\wenhong.lau.DATGEL.nuget\packages\uno.dsp.tasks\1.4.0\tools> sn -T .\Microsoft.Extensions.DependencyInjection.Abstractions.dll Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.0 Public key token is adb9793829ddae60 |
Beta Was this translation helpful? Give feedback.
-
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
`
Beta Was this translation helpful? Give feedback.
All reactions