I have a solution which I want to build. However, on build there is this error that occurs: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process
I have tried to repair visual studio, added some Visual Studio Build Tools, tried to config some files but still nothing, and it is hard to find an answer to it on the web(at least for me)
This is the whole error that appears:
Severity Code Description Project File Line Suppression State
Error The "GetVersionTask" task failed unexpectedly.
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at InlineCode.GetVersionTask.Execute() in d:\Users\user\AppData\Local\Temp\1\fuwo4yzi.0.cs:line 51
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() Project.Web D:\locationOfProject 1882
All I want is to Build the project but this Project.Web fails due to this error above.
User contributions licensed under CC BY-SA 3.0