We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This happens because of the prefix code in BuildWebsite https://github.com/fsharp/FAKE/blob/master/src/app/FakeLib/MSBuildHelper.fs#L435.
prefix
My outputPaths are local file paths like c:\deploys\artifacts so the existing ../ prefix turns my output paths into ../../c:\deploys\artifacts
outputPath
c:\deploys\artifacts
../../c:\deploys\artifacts
If I switch the prefix code to check if the path is rooted the build works.
let prefix = if Path.IsPathRooted outputPath then "" else (String.replicate diff "../")
I may be missing something with the initial intent of the prefix code that would break with this suggested change though.
@forki since you had the initial commit on this line can you help determine whether my suggestion helps or hurts?
The text was updated successfully, but these errors were encountered:
Seems to be fixed.
Sorry, something went wrong.
No branches or pull requests
This happens because of the
prefix
code in BuildWebsite https://github.com/fsharp/FAKE/blob/master/src/app/FakeLib/MSBuildHelper.fs#L435.My
outputPath
s are local file paths likec:\deploys\artifacts
so the existing ../ prefix turns my output paths into../../c:\deploys\artifacts
If I switch the
prefix
code to check if the path is rooted the build works.I may be missing something with the initial intent of the prefix code that would break with this suggested change though.
@forki since you had the initial commit on this line can you help determine whether my suggestion helps or hurts?
The text was updated successfully, but these errors were encountered: