Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when deploying a package it doesn't take the drive in archive.xml path into account #3

Open
twistedtwig opened this issue Sep 25, 2012 · 1 comment
Labels

Comments

@twistedtwig
Copy link
Owner

if you have specified it to install on D it will still install on C

@twistedtwig
Copy link
Owner Author

look at path.getpathroot

[System.Security.SecuritySafeCritical] // auto-generated
[ResourceExposure(ResourceScope.Machine)]
[ResourceConsumption(ResourceScope.Machine)]
public static String GetPathRoot(String path) {
if (path == null) return null;
path = NormalizePath(path, false);
return path.Substring(0, GetRootLength(path));
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant