Giter Club home page Giter Club logo

Comments (2)

GioCirque avatar GioCirque commented on June 21, 2024

Perhaps this extension just needs recompile on a supported version of dotnet? Version 5 is no longer supported.

When I attempt to use the command palette, I get the following half-error:

PeachPie extension was activated.
Creating PeachPie project in '~/Code/OneOffs' ...

Creating 'console' ...
Project file created successfully.
Configuring build and debugging in 'tasks.json' and 'launch.json' ...
Build tasks successfully configured.

Running dotnet restore to install PeachPie Sdk ...
For building and executing, PeachPie needs .NET Core CLI tools to be available on the path. Make sure they are installed properly.

And the language server crashes repeatedly with this message:

[Info  - 7:16:12 AM] Connection to server got closed. Server will restart.
You must install or update .NET to run this application.

App: ~/.vscode/extensions/iolevel.peachpie-vscode-1.0.8/out/server/Peachpie.LanguageServer.dll
Architecture: arm64
Framework: 'Microsoft.NETCore.App', version '5.0.0' (arm64)
.NET location: /usr/local/share/dotnet/

The following frameworks were found:
  6.0.13 at [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=arm64&rid=osx.13-arm64
[Error - 7:16:12 AM] Connection to server got closed. Server will not be restarted.

from peachpie.

GioCirque avatar GioCirque commented on June 21, 2024

I can work around some of this by using the DOTNET_ROLL_FORWARD=Major setting, but that still leaves me with this error about the .NET Core CLI tools on the path. Since there's no URL, I tried searching around and only found reference to the SDK (already installed).

Roll Forward get's me running the language server:

PeachPie Language Server
  PID: 23081
  Path: ~/.vscode/extensions/iolevel.peachpie-vscode-1.0.8/out/server/Peachpie.LanguageServer.dll

Trying to create a new project with the extension:

PeachPie extension was activated.
Creating PeachPie project in '~/Code/OneOffs' ...

Creating 'library' ...
Project file created successfully.
Configuring build and debugging in 'tasks.json' and 'launch.json' ...
Build tasks successfully configured.

Running dotnet restore to install PeachPie Sdk ...
For building and executing, PeachPie needs .NET Core CLI tools to be available on the path. Make sure they are installed properly.

from peachpie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.