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

Unable to open System.Private.CoreLib.sln in Mac with "not support framework" error message #11205

Closed
tinytinymelon opened this issue Oct 8, 2018 · 3 comments
Labels
area-Infrastructure-coreclr backlog-cleanup-candidate An inactive issue that has been marked for automated closure. enhancement Product code improvement that does NOT require public API changes/additions help wanted [up-for-grabs] Good issue for external contributors no-recent-activity

Comments

@tinytinymelon
Copy link

Environment Information:

OS : Mac OS 10.13.6
Visual Studio : Visual Studio for Mac Community version 7.6.8 (build 38)
.Net SDK : dotnet-sdk-2.1.402-osx-x64
Coreclr code : Master branch with latest commit as: 6f66b1e

Actions

  1. browser into folder : coreclr/src/System.Private.CoreLib
  2. click "System.Private.CoreLib.sln" to launch the Visual Studio
  3. Visual Studio complains and shows error message

Error Message

Error while trying to load the project '/Users/leoninez/projects/coreclr/src/System.Private.CoreLib/System.Private.CoreLib.csproj': Project does not support framework '.NETPortable,Version=v4.5'

Need help

  1. I wonder if I installed the wrong sdk or anything I missed? Please help me.
  2. The VS in Mac seems only use mono as .net runtime. Could use CoreCLR built from source code as the .net runtime?

Thank you very much

@kaby76
Copy link

kaby76 commented Feb 2, 2019

I don't know if you solved this problem, but I had a similar problem just on Windows. I could not find any instructions on how to open the .sln file in VS 2017 IDE from a straight clone from the Git repository. Reading the build scripts, a solution that works requires two steps: (a) do a "./build" of the code in Coreclr. This is required to generate files. (b) set PYTHON to the full path of the Python executable, which you can check with "command -v python from within Bash". This is because the .csproj uses $(PYTHON). With that, I can open the .sln file, do critical navigation, evaluation, and changes of the code for my port of System.Private.CoreLib. Building within the IDE doesn't work, but ./build does so NBD.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
Copy link
Contributor

Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.

This process is part of our issue cleanup automation.

@dotnet-policy-service dotnet-policy-service bot added backlog-cleanup-candidate An inactive issue that has been marked for automated closure. no-recent-activity labels May 12, 2024
Copy link
Contributor

This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.

@dotnet-policy-service dotnet-policy-service bot removed this from the Future milestone May 26, 2024
Infrastructure Backlog automation moved this from Future to Closed May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure-coreclr backlog-cleanup-candidate An inactive issue that has been marked for automated closure. enhancement Product code improvement that does NOT require public API changes/additions help wanted [up-for-grabs] Good issue for external contributors no-recent-activity
Projects
Status: Done
Development

No branches or pull requests

3 participants