c# - FileNotFoundException was unhandled - But the file is there -
i'm struggling this. wpf app, in debug/release works fine. after publish it, via installshield express, runtime exception , program crashes. when program crashes, can choose debug program in visual studio, breaks in relaycommand looks like public class relaycommand : icommand { public action<object> _execute; public relaycommand(action<object> execute) { this._execute = execute; } public bool canexecute(object parameter) { return true; } public event eventhandler canexecutechanged; public void execute(object parameter) { this._execute(parameter); // breakpoint } } the error message is filenotfoundexception unhandled not load file or assembly 'taskscheduler, version=1.0.0.0, culture=neutral, publickeytoken=null' or 1 of dependencies. system cannot find file specified i'm lost why is. have other commands on page, , set in following manner public icommand savesched...