Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command window...
Message
De
03/04/2006 17:27:04
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
03/04/2006 12:09:45
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01109971
Message ID:
01110090
Vues:
21
>Hi All:
>
>Is it possible to use the .NET command window interactively the same way as VFP and if so, what's the syntax and where do the results display?
>
>Luke

Luke,

The .NET command window is really a DOS command prompt with the PATHs preset to make it easy to use the .NET external tools. VB.NET, C#, J#, etc. are all compiled languages, so there really is no way to run ad-hoc commands without compiling them first.

A work-around to this limitation is to add a console project to whatever solution you are working in. Console projects are lightweight enough that you can quickly write and execute top-down code for things like pre-loading a database or isolating and testing sections of code.

Unfortunately, there is no way to interrupt program execution and execute ad-hoc commands within the context of the interrupted program.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform