This commit is contained in:
Jakub Míšek 2023-01-21 17:14:50 +01:00
Родитель 3c2f2b2372
Коммит 01c72fc851
6 изменённых файлов: 8 добавлений и 8 удалений

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

@ -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"
}
}