SteveSandersonMS / dotnet-wasi-sdk

Packages for building .NET projects as standalone WASI-compliant modules
519 stars 36 forks source link

.nuget Wasi.Sdk.targets issues in windows resolving paths when "UserProfile" has spaces #14

Closed juanfranblanco closed 2 years ago

juanfranblanco commented 2 years ago

If user name has spaces in her name, the files needed for compilation cannot be resolved in the nuget folder. This is a quick workaround: https://gist.github.com/juanfranblanco/caf8c0bec81f0aa1895cae01911aa742

https://gist.github.com/juanfranblanco/15a0f67bcc29a9d8bae7b04cd225fa37

SteveSandersonMS commented 2 years ago

Thanks @juanfranblanco. I've applied some fixes. It's a smaller set of changes than in your proposal but I think it should work. If you still have trouble please let me know!