
This PR introduces Centralized Package Version Management for the solution by utilizing the Directory.Packages.props file. This change ensures consistency in package versions across all projects in the solution, streamlining the package update process and reducing the risk of version conflicts.
54 lines
2.3 KiB
XML
54 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Version>6.0.1</Version>
|
|
<Product>Oqtane</Product>
|
|
<Authors>Shaun Walker</Authors>
|
|
<Company>.NET Foundation</Company>
|
|
<Description>Modular Application Framework for Blazor and MAUI</Description>
|
|
<Copyright>.NET Foundation</Copyright>
|
|
<PackageProjectUrl>https://www.oqtane.org</PackageProjectUrl>
|
|
<PackageLicenseUrl>https://github.com/oqtane/oqtane.framework/blob/dev/LICENSE</PackageLicenseUrl>
|
|
<PackageReleaseNotes>https://github.com/oqtane/oqtane.framework/releases/tag/v6.0.1</PackageReleaseNotes>
|
|
<RepositoryUrl>https://github.com/oqtane/oqtane.framework</RepositoryUrl>
|
|
<RepositoryType>Git</RepositoryType>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<OutputPath>bin</OutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<OutputPath>bin</OutputPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<NoWarn>1701;1702;EF1001;AD0001;NU1608</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<NoWarn>1701;1702;EF1001;AD0001</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="EFCore.NamingConventions" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
|
|
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Oqtane.Server\Oqtane.Server.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PostgreSQLFiles Include="$(OutputPath)Oqtane.Database.PostgreSQL.dll;$(OutputPath)Oqtane.Database.PostgreSQL.pdb;$(OutputPath)EFCore.NamingConventions.dll;$(OutputPath)Npgsql.EntityFrameworkCore.PostgreSQL.dll;$(OutputPath)Npgsql.dll" DestinationPath="..\Oqtane.Server\bin\$(Configuration)\net9.0\%(Filename)%(Extension)" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PublishProvider" AfterTargets="PostBuildEvent" Inputs="@(PostgreSQLFiles)" Outputs="@(PostgreSQLFiles->'%(DestinationPath)')">
|
|
<Copy SourceFiles="@(PostgreSQLFiles)" DestinationFiles="@(PostgreSQLFiles->'%(DestinationPath)')" />
|
|
</Target>
|
|
|
|
</Project>
|