DotNet Run for F# on OS X giving access error
See original GitHub issueIf I create a new F# project using the DotNet CLI I get an access error on compile see blow console output
Gavins-MacBook-Air:fsharperror gavindraper$ dotnet new -l f#
Created new F# project in /Users/gavindraper/fsharperror.
Gavins-MacBook-Air:fsharperror gavindraper$ botnet restore
log : Restoring packages for /Users/gavindraper/fsharperror/project.json...
info : CACHE https://dotnet.myget.org/F/dotnet-core/api/v3/flatcontainer/microsoft.netcore.platforms/index.json
info : CACHE https://api.nuget.org/v3-flatcontainer/microsoft.netcore.platforms/index.json
info : GET https://www.myget.org/F/fsharp-daily/api/v3/flatcontainer/microsoft.netcore.platforms/index.json.
info : NotFound https://www.myget.org/F/fsharp-daily/api/v3/flatcontainer/microsoft.netcore.platforms/index.json 488ms
log : Committing restore...
log : Restore completed in 3382ms.
NuGet Config files used:
/Users/gavindraper/fsharperror/NuGet.Config
/Users/gavindraper/.nuget/NuGet/NuGet.Config
Feeds used:
https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
https://api.nuget.org/v3/index.json
https://www.myget.org/F/fsharp-daily/api/v3/index.json
Gavins-MacBook-Air:fsharperror gavindraper$ dot net run
Compiling fsharperror for DNXCore,Version=v5.0
/usr/local/share/dotnet/bin/dotnet compile-fsc @/Users/gavindraper/fsharperror/obj/Debug/dnxcore50/dotnet-compile.rsp returned Exit Code 1
/Users/gavindraper/fsharperror/error FS0193: Access to the path '/usr/local/share/dotnet/bin' is denied.
Compilation failed.
0 Warning(s)
1 Error(s)
Time elapsed 00:00:06.1663319
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:29 (10 by maintainers)
Top Results From Across the Web
DotNet Run for F# on OS X giving access error · Issue #5108
If I create a new F# project using the DotNet CLI I get an access error on compile see blow console output Gavins-MacBook-Air:fsharperror ......
Read more >dotnet run command - .NET CLI
The dotnet run command provides a convenient option to run your application from the source code.
Read more >Command dotnet ef not found
This was my problem, when I installed on MacOS via "dotnet tool install --global dotnet-ef" I got a prompt to close and reopen...
Read more >Cannot debug net6.0-macos Apps - Developer Community
When I hit debug, the following error is shown in the Terminal: Possible reasons for this include: * You misspelled a built-in dotnet...
Read more >Installing .NET 6 on your M1 Mac (manually) - Maarten Merken
In this short article, I'll show you how to uninstall any previous dotnet versions on your M1 Mac and install the latest .NET...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ctaggart there is pr dotnet/cli#1898 ready to be merged with this and other fixes
Sorry, I succeeded! It was because left the old environment. % rm -rf /usr/local/share/dotnet then reinstall latest version, so I succeeded. Thank you.