This commit is contained in:
Jakub Míšek 2022-10-08 19:08:56 +02:00
Родитель 1ce8c42e85
Коммит d1921a96ff
5 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -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.1">
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
<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.1" />
<PackageReference Include="Peachpie.AspNetCore.Web" Version="1.1.2" />
</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.1">
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
<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.1">
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
<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.1" />
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.2" />
```
## 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.1" />
<PackageReference Include="Peachpie.AspNetCore.Mvc" Version="1.1.2" />
<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.1">
<Project Sdk="Peachpie.NET.Sdk/1.1.2">
<PropertyGroup>
<OutputType>exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>