If I try to compile to device with optimized selected I get error message "Cannot locate .Net Framework 2.0 files". But, if I try to install Net 2.0 or Net 2.0 SP the computer says they are already installed. If I try to compile without optimizaton to device the error says cannot find ilasm.exe . I can compile to windows exe with optimization and it compiles and runs fine. If I try to compile to windows exe without optimization the ilasm.exe error occurs. What do I need to do?