Results 1 to 2 of 2

Thread: Console app will not run in DOS Mode

  1. #1
    .NET Framework
    .NET 2.0
    Join Date
    Nov 2005
    Posts
    55
    Reputation
    158

    Console app will not run in DOS Mode

    I am new to making console applications so please forgive me if this is an easy one. I have a need for an application that runs off a bootable USB flash drive. All the application has to do is present some menu options and then start another application based on those options. I was able to write a console app that did all this and when I launch it from my windows desktop it works fine. However, when I boot to my USB flash drive and then try to run the app I get the error: This program cannot be run in DOS mode. What am I doing wrong? Thanks in advance

  2. #2
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,967
    Reputation
    1725
    .NET applications require the .NET Framework in order run. If the .NET Framework is not installed on your boot disk then no .NET apps can run.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •