Home > Net >  The specified task executable file "CMD. Exe" failed to run.
The specified task executable file "CMD. Exe" failed to run.

Time:02-21

Is originally vs2010, development of 32-bit small software
The original is W7 32-bit operating system, vs 2010

Take out recently, want to change into 64
Operating system W10. Development tools vs2019

 
Severity code shows the project file line prohibits display status
Error the specified task executable file "CMD. Exe" fails to run, System. IO, IOException: Incorrect function.

In the System. IO. __Error. WinIOError (Int32 errorCode, String maybeFullPath)
In the System. IO. FileStream. WriteCore (Byte [] buffer, Int32 offset, Int32 count)
In the System. IO. FileStream. FlushWrite (Boolean calledFromFinalizer)
In the System. IO. FileStream. The Dispose (Boolean disposing)
In the System. IO. Stream. The Close ()
In the System. IO. StreamWriter. The Dispose (Boolean disposing)
In the System. IO. TextWriter. The Dispose ()
In Microsoft. Build. The Tasks. The Exec. CreateTemporaryBatchFile ()
In Microsoft. Build. The Tasks. The Exec. AddCommandLineCommands (CommandLineBuilderExtension commandLine)
In Microsoft. Build. The Tasks. ToolTaskExtension. GenerateCommandLineCommands ()
In Microsoft. Build. Utilities. ToolTask. The Execute () ComCtrlsNet




Don't start, the pop-up dialog


An RSI. ADK. UI. Services. CStateServiceProvider. SubscribeState (StateChangeHandler subscribedHandler, String stateId, Boolean initialNotification) in H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ State \ StateServiceProvider cs: line 348
An RSI. ADK. UI. Services. CStateServiceProvider. SubscribeState [T] (StateChangeHandler subscribedHandler) in H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ State \ StateServiceProvider cs: line 363
An RSI. ADK. UI. ToolBarButtonEx.. Ctor (CStateServiceProvider StateService, MenuResourceHelper menuResHelper) in H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ Menu, Toolbars, ToolbarButtonEx cs: line 66
An RSI. ADK. UI. ToolBarButtonEx. FromMenuRegNode (CRegistryNode RegMnuNode, String MenuItemRef, Int32 ButtonOrder, String ButtonType, String [] triggers, CStateServiceProvider StateService, GraphicsServiceProvider GraphicsService, MenuResourceHelper ResHelp) in H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ Menu, Toolbars, ToolBarButtonEx cs: line 71
An RSI. ADK. UI. The ToolBarControl. Reload (CRegistryNode ToolBarRegNode, String, PackageID MenuResourceHelper ResHelp) in H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ Menu, Toolbars, ToolBarControl cs: line 135




Noticed that is the problem that the execution path, H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ Menu, Toolbars, ToolbarButtonEx cs: the line

I will start the external program, modified to, the actual path of the current project


New execution, or an error path for H: \ Unity3D \ Navigo \ trunk \ ColiseumMain \ ADK \ ApplicationCore \ Menu, Toolbars, ToolbarButtonEx cs: the line


I want to ask is, path has been changed to the actual path, H: \ Unity3D \ Navigo/trunk/ColiseumMain \ ADK \ ApplicationCore \ this is the Menu

CodePudding user response:

Newly generated DLL file path is right, but the corresponding PDB file path is wrong, where I set, made a mistake
  •  Tags:  
  • C#
  • Related