Export (0) Print
Expand All
1 out of 3 rated this helpful - Rate this topic

How to: Specify the Remote Path for Primary Project Output 

You can set the Remote Directory for the deployment of your project using the property pages of the device project. The Remote Directory specifies the device directory where the application's output is deployed.

The Remote Directory is set to %CSIDL_PROGRAM_FILES%\<projectname>, by default. The first part is a CSIDL value and the second is your project name. CSIDL values provide a system-independent way to identify Remote Directory folders. These values supersede the use of environment variables for this purpose. The following table lists valid CSIDL values for the Remote Directory parameter. Use % signs to encapsulate the value.

CSIDL

Value

Description

CSIDL_DESKTOP

0x0000

Not supported on Smartphone.

CSIDL_FAVORITES

0x0006

The file system directory that serves as a common repository for the user's favorite items.

CSIDL_FONTS

0x0014

The virtual folder that contains fonts.

CSIDL_PERSONAL

0x0005

The file system directory that serves as a common repository for documents.

CSIDL_PROGRAM_FILES

0x0026

The program files folder.

CSIDL_PROGRAMS

0x0002

The file system directory that contains the user's program groups, which are also file system directories.

CSIDL_STARTUP

0x0007

The file system directory that corresponds to the user's Startup program group. The system starts these programs when a device is powered on.

CSIDL_WINDOWS

0x0024

The Windows folder.

To specify the remote path for primary project output

  1. In Solution Explorer, right-click <Projectname>, and then on the shortcut menu, click Properties.

  2. Expand the Configuration Properties node, and click Deployment.

  3. In the rightmost pane, set the Remote Directory property of the project.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.