You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the precompilation process, the OctoPack.Precompile.targets file has a NormalizedFiles step which takes all of the collected files and makes the paths relative to the project.
This works great until one of your included files is a linked file.
as the length of the path containing directory is different to ProjectDir.Length.
An example compiler error:
C:\[Redacted Path]\packages\OctoPack.Precompile.2.0.1\build\OctoPack.Precompile.targets(51,5): error MSB3030: Could not copy the file "nt\bootstrap-custom\css\bootstrap-theme.min.css" because it was not found. [[Redacted Path]]
Please could you advise if you're aware for a workaround to this? I'd love to use your library.
The text was updated successfully, but these errors were encountered:
As part of the precompilation process, the
OctoPack.Precompile.targets
file has aNormalizedFiles
step which takes all of the collected files and makes the paths relative to the project.This works great until one of your included files is a linked file.
The script to perform the conversion is:
"@(CollectedFiles->'%(FullPath)'->Substring($(ProjectDir.Length)))
This assumes that the collected file resides in the project directory, and would work for the following include:
<Content Include="Locale\Web.config" />
but would not work for:
as the length of the path containing directory is different to ProjectDir.Length.
An example compiler error:
Please could you advise if you're aware for a workaround to this? I'd love to use your library.
The text was updated successfully, but these errors were encountered: