Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am asking a silly question here. But this is the First time I am working on Sync Framework.I have refered this http://msdn.microsoft.com/en-us/library/ee617386.aspx[^] and created a Console Application . But I dont know how to compile to check whether these codes are working. In the document they have mentioned to give this command line : MyExeName.exe \path\to\directoryA \path\to\directoryB. But I don't get what should I give instead to check if this is working.

thanks in advance!
Posted

1 solution

\path\to\directoryA is just an example path.

Your default start point for your program will be its execution location.

You need to either provide paths relative to this or absolute paths.

You gain access to this via the args collection passed into the main method for your command line application.

So to debug your project. Right click your project in the solution explorer and click properties.

In the properties there will be an option to provide command line arguments for debugging.

Enter the arguments, save and run you application from visual studio.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900