1.1.4
This commit is contained in:
Родитель
3c2f2b2372
Коммит
01c72fc851
|
@ -10,7 +10,7 @@ Directory with PHP project - its source files and static files - needs to be com
|
|||
|
||||
*/website/website.msbuildproj:*
|
||||
```xml
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.4">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
|
@ -57,7 +57,7 @@ dotnet add package Peachpie.AspNetCore.Web
|
|||
```xml
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../website/website.msbuildproj" />
|
||||
<PackageReference Include="Peachpie.AspNetCore.Web" Version="1.1.2" />
|
||||
<PackageReference Include="Peachpie.AspNetCore.Web" Version="1.1.4" />
|
||||
</ItemGroup>
|
||||
```
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ MSBuild is the build system for .NET and Visual Studio. The MSBuild project file
|
|||
## Sample Project File
|
||||
|
||||
```xml
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.4">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
|
|
|
@ -24,7 +24,7 @@ First create a project file. It is an XML file with extension `.msbuildproj`, de
|
|||
> *`library.msbuildproj`:*
|
||||
|
||||
```xml
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.4">
|
||||
<PropertyGroup>
|
||||
<OutputType>library</OutputType>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
|
|
|
@ -27,7 +27,7 @@ class User
|
|||
Add a reference to your php-library project file, which implements the helper function above:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.2" />
|
||||
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.4" />
|
||||
```
|
||||
|
||||
## Rendering a PHP script in Razor
|
||||
|
@ -40,7 +40,7 @@ Start by compiling your PHP project into a `DLL` file.
|
|||
Next, add a reference to the MVC project:
|
||||
|
||||
```xml
|
||||
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.2" />
|
||||
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.4" />
|
||||
<ProjectReference Include="../myPhpApp/myPhpApp.msbuildproj" />
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ echo "Hello world!";
|
|||
and a corresponding project file indicating that the output should be exe:
|
||||
|
||||
```xml
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
|
||||
<Project Sdk="Peachpie.NET.Sdk/1.1.4">
|
||||
<PropertyGroup>
|
||||
<OutputType>exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"msbuild-sdks": {
|
||||
"Peachpie.NET.Sdk": "1.1.2"
|
||||
"Peachpie.NET.Sdk": "1.1.4"
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче