Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RepoToolset fails on macOS #172

Closed
natemcmaster opened this issue Feb 28, 2018 · 2 comments
Closed

RepoToolset fails on macOS #172

natemcmaster opened this issue Feb 28, 2018 · 2 comments

Comments

@natemcmaster
Copy link
Contributor

I'm trying to use repotoolset to compile the dotnet/arcade repo on macOS, and I get the following error

/Users/namc/.nuget/packages/roslyntools.repotoolset/1.0.0-beta-62614-02/tools/RepoLayout.props(37,5): error MSB4185: The function "GetFolderPath" on type "System.Environment" is not available for execution as an MSBuild property function.

It looks like the problem is here:

<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == '' AND '$(OS)' != 'Windows_NT'">$([System.Environment]::GetFolderPath(SpecialFolder.Personal))\.nuget\packages\</NuGetPackageRoot>

Using: dotnet 2.1.300-preview2-008251, macOS 10.13

cc @tmat

@tmat
Copy link
Member

tmat commented Feb 28, 2018

@tannergooding Have you seen anything similar in CLI repos?

@Anipik
Copy link

Anipik commented Jun 28, 2018

I am also facing the similar issue when i am trying to add a new *csproj to a *sln file in arcade repo on mac Os

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants