Intent.Modules icon indicating copy to clipboard operation
Intent.Modules copied to clipboard

Software Factory Execution: Unable to find CSPROJ file during run

Open JadedEric opened this issue 6 years ago • 3 comments

The first change run in SFE works without issues.

Making a subsequent change and trying to execute the SFE, results in an exception thrown, that one of the CSPROJ files cannot be found.

This only happens during the pre-flight, which results in the SFE unable to apply the necessary changes.

JadedEric avatar Oct 02 '18 11:10 JadedEric

This happens due to case-sensitivity being applied to folders, if created through Bash in WSL (Windows Subsystem for Linux).

To check the case sensitivity if you have WSL installed, run the following command:

fsutil file queryCaseSensitiveInfo {path_to_folder}

This will output something similar to:

C:\MyPath>fsutil file queryCaseSensitiveInfo FolderWithCaseSensitivity
Case sensitive attribute on directory C:\MyPath\FolderWithCaseSensitivity is enabled.

To set the case sensitivity on or off, run:

fsutil file setCaseSensitiveInfo FolderWithCaseSensitivity disable

This will output something similar to:

C:\MyPath>fsutil file setCaseSensitiveInfo FolderWithCaseSensitivity disable
Case sensitive attribute on directory C:\MyPath\FolderWithCaseSensitivity is disabled.

Re-run the SFE and all should be fine.

JadedEric avatar Oct 02 '18 11:10 JadedEric

Hi @JadedEric, Thank you for posting this issue. It appears you were able to resolve it?

garethbaars avatar Oct 02 '18 13:10 garethbaars

He was able to resolve, a good summary of the problem is here: https://stackoverflow.com/questions/50593241/my-app-quits-serving-static-files-after-the-windows-april-update

It's definitely something we will have to think about more as we go cross platform.

JonathanLydall avatar Oct 02 '18 14:10 JonathanLydall