microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.67k stars 517 forks source link

install.tar.gz location is wrongly documented #75

Open lukka opened 4 years ago

lukka commented 4 years ago

repro: clone the repro, open the solution, build the x64 configuration

expected: build succeeds

observed: build fails with: 2>\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4651,5): error MSB3030: Could not copy the file "D:\repos\WSL-DistroLauncher\x64\install.tar.gz" because it was not found.

Notes: The file install.tar.gz is requested to be under the WSL-DistroLauncher\x64\ The readme.md tells to put it into the root of the project, i.e. /WSL-DistroLauncher/

greg-hellings commented 3 years ago

You can add, as a pre-build event, copy $(SolutionDir)\install.tar.gz $(SolutionDir)$(Platform), and the solution will do the needful during build.