Hi!
Does anyone know how to adjust (if it's possible) VS to copy a file from one
directory to another before debugging program?
Thanks. 5 1244
Dmitry,
I don't think that there are pre-debug steps in the debugger. You would
have to have a batch file or something of the sort which would do it, and
then would run the debug version of your program. You can modify the
project so that instead of running your app, it will run your batch file,
which would then run the program (the debug build, of course).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message
news:OL******** ******@TK2MSFTN GP09.phx.gbl... Hi! Does anyone know how to adjust (if it's possible) VS to copy a file from
one directory to another before debugging program?
Thanks.
Hi Nicolas!
Thanks for advice.
Is there a way to retrieve a script which VS currently using for
compliling/debugging my solution?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om>
ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:eV******** ******@TK2MSFTN GP09.phx.gbl... Dmitry,
I don't think that there are pre-debug steps in the debugger. You
would have to have a batch file or something of the sort which would do it, and then would run the debug version of your program. You can modify the project so that instead of running your app, it will run your batch file, which would then run the program (the debug build, of course).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message news:OL******** ******@TK2MSFTN GP09.phx.gbl... Hi! Does anyone know how to adjust (if it's possible) VS to copy a file from one directory to another before debugging program?
Thanks.
Dmitry,
What do you mean by retrieve a script?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message
news:el******** ******@TK2MSFTN GP10.phx.gbl... Hi Nicolas! Thanks for advice. Is there a way to retrieve a script which VS currently using for compliling/debugging my solution?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:eV******** ******@TK2MSFTN GP09.phx.gbl... Dmitry,
I don't think that there are pre-debug steps in the debugger. You would have to have a batch file or something of the sort which would do it,
and then would run the debug version of your program. You can modify the project so that instead of running your app, it will run your batch
file, which would then run the program (the debug build, of course).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message news:OL******** ******@TK2MSFTN GP09.phx.gbl... Hi! Does anyone know how to adjust (if it's possible) VS to copy a file
from one directory to another before debugging program?
Thanks.
By script I mean commands and parameters VS use to complile my solution.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om>
ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:OI******** ******@TK2MSFTN GP10.phx.gbl... Dmitry,
What do you mean by retrieve a script?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message news:el******** ******@TK2MSFTN GP10.phx.gbl... Hi Nicolas! Thanks for advice. Is there a way to retrieve a script which VS currently using for compliling/debugging my solution?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:eV******** ******@TK2MSFTN GP09.phx.gbl... Dmitry,
I don't think that there are pre-debug steps in the debugger. You would have to have a batch file or something of the sort which would do it, and then would run the debug version of your program. You can modify the project so that instead of running your app, it will run your batch file, which would then run the program (the debug build, of course).
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message news:OL******** ******@TK2MSFTN GP09.phx.gbl... > Hi! > Does anyone know how to adjust (if it's possible) VS to copy a file from one > directory to another before debugging program? > > Thanks. > >
Dmitry,
I don't think that you can get that from inside your program. The
reason is because you are not always going to be running your program from
within the context of a debugger.
What are you trying to do?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message
news:e2******** ******@TK2MSFTN GP12.phx.gbl... By script I mean commands and parameters VS use to complile my solution.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:OI******** ******@TK2MSFTN GP10.phx.gbl... Dmitry,
What do you mean by retrieve a script?
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Dmitry Karneyev" <ka******@msn.c om> wrote in message news:el******** ******@TK2MSFTN GP10.phx.gbl... Hi Nicolas! Thanks for advice. Is there a way to retrieve a script which VS currently using for compliling/debugging my solution?
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:eV******** ******@TK2MSFTN GP09.phx.gbl... > Dmitry, > > I don't think that there are pre-debug steps in the debugger.
You would > have to have a batch file or something of the sort which would do
it, and > then would run the debug version of your program. You can modify
the > project so that instead of running your app, it will run your batch file, > which would then run the program (the debug build, of course). > > Hope this helps. > > > -- > - Nicholas Paldino [.NET/C# MVP] > - mv*@spam.guard. caspershouse.co m > > "Dmitry Karneyev" <ka******@msn.c om> wrote in message > news:OL******** ******@TK2MSFTN GP09.phx.gbl... > > Hi! > > Does anyone know how to adjust (if it's possible) VS to copy a
file from > one > > directory to another before debugging program? > > > > Thanks. > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: arachno |
last post by:
Hello ppl,
Is anyone can help me to figure out how to add data to TextML server
document base?
I have attached snipped, which taking XML source from file and adding it to
documentbase, but my problem is, that i need to add it on "fly", without
touching file system.
Cheers,
arachno
|
by: Stephen Miller |
last post by:
Hi,
I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net
application running locally, using a full URL (ie www.mysite.com).
When I hit F5, I get the following error message:
<debugger_error_message>
Error while trying to run project: Unable to start debugging on the
web server.
The project is not configured to be debugged.
|
by: theintrepidfox |
last post by:
Dear Group
I came accross a very annoying behaviour of Visual Studio, giving me
six hours of headache till I found the solution.
This post is mainly for fellow developers for reference as it took me
ages reading through tons of posts till I found an answer. However, I'm
also interested why Visual Studio behaves that way. If anyone has a
theorie on it please let me know.
|
by: Pierre Barbier de Reuille |
last post by:
Please, note that I am entirely open for every points on this proposal
(which I do not dare yet to call PEP).
Abstract
========
This proposal suggests to add symbols into Python.
Symbols are objects whose representation within the code is more
important than their actual value. Two symbols needs only to be
|
by: Saurabh Aggrawal |
last post by:
Hi,
I have made a dll and it is working fine in the debug build (as
expected) but when I run it in the release build it is working
strangely.
For example, the dll saves the 10 properties on the exit to a .txt file
and when it get loaded again these properties are read from the text
file and shown on the user interface.
Dll can save the values to the text file correctly for both debug and
| |
by: pauldepstein |
last post by:
I am debugging a program to price options which involves a recursive
function:
double node::get_equity(Parameter * const params_ptr, int x, int y,
const int rights)
This recursive function is behaving oddly. I made it print statements
into a debug file to try and capture the anomalous behaviour, and I did
capture something that to me (as a newbie) is very puzzling.
|
by: _DS |
last post by:
The two obvious methods for ref'ing assemblies are:
Add a reference and 'Browse' for the actual DLL
OR
Add existing project to the solution, then add a ref to 'Project'.
1: I'd like to find out what the latter method is doing.
I'm assuming that it makes sure that debug exe gets matched to
|
by: Sam Kong |
last post by:
Hello!
My question would not be very practical but just out of curiosity.
In JavaScript, Array is a subclass of Object.
Well maybe not exactly... but sort of...
For normal objects, you can access members by writing either of the
two.
obj.memberName
|
by: dadizhu |
last post by:
Hi, everyone. I ran into an UI freeze issue with threading and
simplied the problem down to the following sample code. The logic is
as follows:
1. The main UI thread creates a non-UI STA thread(m_MainThread).
2. Then the non-UI thread runs and creates derived winform and holds
a reference to the winform. NOTE: I don't call Application.Run()
because I don't need a message pump on this "hidden form" in my
application. I rely on the...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |