Skip to content

Commit

Permalink
PT-14740: .net 8 (#85)
Browse files Browse the repository at this point in the history
feat: Update to .NET 8
  • Loading branch information
basilkot authored Jan 12, 2024
1 parent 0d689aa commit db3fa0e
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 221 deletions.
7 changes: 4 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?><Project>
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- These properties will be shared for all projects -->
<PropertyGroup>
<VersionPrefix>3.401.0</VersionPrefix>
<VersionPrefix>3.800.0</VersionPrefix>
<VersionSuffix></VersionSuffix>
<VersionSuffix Condition=" '$(VersionSuffix)' != '' AND '$(BuildNumber)' != '' ">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="27.1.1" />
<PackageReference Include="VirtoCommerce.Platform.Core" Version="3.400.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Core" Version="3.400.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Data" Version="3.400.0" />
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="VirtoCommerce.Platform.Core" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Core" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Data" Version="3.800.0" />
</ItemGroup>

<ItemGroup>
<Folder Include="Events\" />
<Folder Include="Notifications\" />
</ItemGroup>

</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\VirtoCommerce.PriceExportImportModule.Core\VirtoCommerce.PriceExportImportModule.Core.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Caching\" />
<Folder Include="ExportImport\" />
<Folder Include="Handlers\" />
<Folder Include="Repositories\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="CsvHelper" Version="27.1.1" />
<PackageReference Include="FluentValidation" Version="10.3.4" />
<PackageReference Include="VirtoCommerce.AssetsModule.Core" Version="3.200.0" />
<PackageReference Include="VirtoCommerce.CatalogModule.Core" Version="3.401.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Core" Version="3.400.0" />
<PackageReference Include="VirtoCommerce.Platform.Data" Version="3.400.0" />
<PackageReference Include="VirtoCommerce.Platform.Hangfire" Version="3.400.0" />
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="FluentValidation" Version="11.8.1" />
<PackageReference Include="VirtoCommerce.AssetsModule.Core" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.CatalogModule.Core" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.PricingModule.Core" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.Platform.Data" Version="3.800.0" />
<PackageReference Include="VirtoCommerce.Platform.Hangfire" Version="3.800.0" />
</ItemGroup>

</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Library</OutputType>
</PropertyGroup>

<PropertyGroup>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\VirtoCommerce.PriceExportImportModule.Data\VirtoCommerce.PriceExportImportModule.Data.csproj" />
</ItemGroup>
Expand All @@ -23,5 +20,4 @@
<Folder Include="Scripts\blades\" />
<Folder Include="Scripts\resources\" />
</ItemGroup>

</Project>
</Project>
24 changes: 13 additions & 11 deletions src/VirtoCommerce.PriceExportImportModule.Web/module.manifest
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<module xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<id>VirtoCommerce.PriceExportImport</id>
<version>3.401.0</version>
<version>3.800.0</version>
<version-tag />
<platformVersion>3.400.0</platformVersion>

<platformVersion>3.800.0</platformVersion>
<dependencies>
<dependency id="VirtoCommerce.Pricing" version="3.800.0" />
<dependency id="VirtoCommerce.Catalog" version="3.800.0" />
<dependency id="VirtoCommerce.Export" version="3.800.0" />
<dependency id="VirtoCommerce.Assets" version="3.800.0" />
</dependencies>

<title>Price Export Import</title>
<description>This module adds prices export and import functionality using it for price management.</description>
<authors>
Expand All @@ -16,16 +24,10 @@
<iconUrl>Modules/$(VirtoCommerce.PriceExportImport)/Content/logo.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>First version.</releaseNotes>
<copyright>Copyright © 2011-2023 Virto Commerce. All rights reserved</copyright>
<copyright>Copyright © 2011-2024 Virto Commerce. All rights reserved</copyright>
<tags>price import export</tags>
<assemblyFile>VirtoCommerce.PriceExportImportModule.Web.dll</assemblyFile>
<moduleType>VirtoCommerce.PriceExportImportModule.Web.Module, VirtoCommerce.PriceExportImportModule.Web</moduleType>
<dependencies>
<dependency id="VirtoCommerce.Pricing" version="3.400.0" />
<dependency id="VirtoCommerce.Catalog" version="3.400.0" />
<dependency id="VirtoCommerce.Export" version="3.200.0" />
<dependency id="VirtoCommerce.Assets" version="3.200.0" />
</dependencies>
<incompatibilities />
<useFullTypeNameInSwagger>false</useFullTypeNameInSwagger>
</module>
</module>
Loading

0 comments on commit db3fa0e

Please sign in to comment.