Comments (4)
match
syntax error fixed; new release will be prepared soon!
from peachpie.
Hi,
The version would be specified in your project file, and you'd see it as the first thing on the commandline when the build starts.
The unexpected ",
" looks like a bug though
from peachpie.
Just to confirm this is a valid bug. A follow up on the version question. I'm seeing a few old version numbers and I just installed PP fresh on this machine this week.
This is the output of dotnet new -i Peachpie.Templates::*
>dotnet new -i Peachpie.Templates::*
Welcome to .NET 7.0!
---------------------
SDK Version: 7.0.102
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Warning: use of 'dotnet new --install' is deprecated. Use 'dotnet new install' instead.
For more information, run:
dotnet new install -h
The following template packages will be installed:
Peachpie.Templates::*
Success: Peachpie.Templates::1.0.17 installed the following templates:
Template Name Short Name Language Tags
-------------------------- ---------- -------- ----------------------
ASP.NET Core Empty web PHP Web/Empty
Class library classlib PHP Common/Library
Console Application console PHP Common/Console
PHP Blazor WebAssembly App blazorwasm PHP Web/Blazor/WebAssembly
PHP WebAssembly App phpwasm PHP Web/Blazor/WebAssembly
>
The generated .msbuildproj
has <Project Sdk="Peachpie.NET.Sdk/1.0.6">
as its first line.
dotnet run
isn't informative:
C:\dev\projects\science\pp>dotnet run
C:\exec\ScoopApps\apps\dotnet-sdk\current\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framewor
k 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support p
olicy. [C:\dev\projects\science\pp\pp.msbuildproj]
C:\exec\ScoopApps\apps\dotnet-sdk\current\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framewor
k 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support p
olicy. [C:\dev\projects\science\pp\pp.msbuildproj]
C:\exec\ScoopApps\apps\dotnet-sdk\current\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framewor
k 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support p
olicy. [C:\dev\projects\science\pp\pp.msbuildproj]
C:\dev\projects\science\pp\matchtest.php(23,8): error PHP2014: Syntax error: unexpected token ',' [C:\dev\projects\science\pp\pp.
msbuildproj]
The build failed. Fix the build errors and run again.
1.0.6 and 1.0.17 are both well behind 1.1.3. Whats the best way to check the version of the PeachPie compiler?
from peachpie.
the version is 1.0.6
, not sure why it installed an older version - I'll try that ..
Anyways, there is output with your version upon running dotnet build
from peachpie.
Related Issues (20)
- can not access the session variable if the session is not auto start. HOT 2
- How to call c# extension methods in php? HOT 1
- Addition of variable not giving perfect value () [Floating point error] HOT 1
- [WordPress] sort() with SORT_STRING | SORT_FLAG_CASE is not implemented HOT 1
- ReflectionObject::getProperties() has optional arg
- Template Install Fails - no matches found HOT 2
- Compiler Crash: MoveToImmutable can only be performed when Count equals Capacity HOT 1
- Peachpie.Library.PDO.MySQL convert MySQL `tinyint` value to `int` error. HOT 1
- Moving to the new .NET Foundation CLA service HOT 1
- Help with solving the problem with the magic __get and __set HOT 2
- ioncube loader HOT 1
- Magic methods not working as expected HOT 4
- PeachPie 1.0.* Status HOT 1
- Peachpie crypt behavior HOT 1
- some syntax error HOT 4
- strange compiler behavior when modifier is "protected" HOT 1
- program execution time HOT 3
- virtual and override HOT 1
- property, variable and PhpValue HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peachpie.