Reputation: 10390
When I publish my console application, the target folder only contains these files
ADVWKSPConsole.application
Application Files
autorun.inf
setup.exe
And the Application Files
folder doesn't contain my .exe
I can see that the .exe
is generated in the bin folder, but its not sent to the publish location ... Why?
I need to run the application from a scheduled task, and this is not working when telling the task to run the ADVWKSPConsole.application
manifest (even from a .bat
)
I can see in my publish properties in VS:
What gives? Why is this so annoying? All I want is an executable file published as my console application why isn't that the default!?
Upvotes: 0
Views: 1401
Reputation: 10390
Thanks to Rufus' suggestions in the comments, I realised that the scheduled task works when pointing it at Steup.exe
, which is pretty unintuitive in my opinion, as that looks like an installer not the application itself..
What I ended up doing is
Upvotes: 2