Ravi Patel

Ravi Patel

  • 2k
  • 9
  • 2.8k

C# Console application executable file not running

Dec 23 2019 12:14 PM
Hi,
I have developed one C# Console application project which export the date from SQL database into csv file.
Project is working as expected from the PC where I created this project in visula studio.
But I want to run the application executable file from different PC using task scheduler and this PC does not have visual studio installed and I don't want to install.
I have researhced some article that as long as I have same version of .Net installed on both PC then I can run the application executable file from different PC even if I don't have visual studion on that PC.
I have .Net 4.5.2 running in my visual studio and on other PC I have .Net 4.5.2 or higher installed because I got error message while installing .Net 4.5.2 on that PC that .Net 4.5.2 or higher version is alreday installed on this PC.
I am still not able to run applicatiion executable file from other PC.
Can any one tell me what is the issue or is there any other way to run Application executable file using task scheduler?
Any help would be much appreciated.
Thank you 

Answers (5)