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
{{ message }}
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
When using docker for windows and mounting a windows volume to share he source between a linux docker container and my windows machine I get the following error when running init-tools.
Installing dotnet cli...
Initializing BuildTools...
mv: '/d/git/corefx/Tools/Microsoft.CSharp.targets' and '/d/git/corefx/Tools/Microsoft.CSharp.Targets' are the same file
ERROR: An error occured when trying to initialize the tools. Please check '/d/git/corefx/init-tools.log' for more details.
Seems like so, we get that targets file from the Microsoft.Build.Targets package, and it seems that in the one we are using they still have a lower case t on Microsoft.CSharp.targets. The package we are using though is very old, so it might be that they have fixed this some time ago but we just haven't upraded the version of the package.
At least on my ubuntu docker image running on windows commenting out the mv command allows the build to continue and succeed. However that is likely an artifact of the windows volume that I've mounted.
When using docker for windows and mounting a windows volume to share he source between a linux docker container and my windows machine I get the following error when running init-tools.
cc @chcosta @joperezr
@joperezr it looks like you added this https://github.com/dotnet/buildtools/blob/master/src/Microsoft.DotNet.Build.Tasks/PackageFiles/init-tools.sh#L105 but we never got this hack cleaned up. Do you know if it is still necessary?
The text was updated successfully, but these errors were encountered: