Skip to content

Commit

Permalink
Revert .NET Framework to 4.6.2 for more backward compatibility. (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
soroshsabz committed May 1, 2023
1 parent 924a59d commit aaf126e
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 36 deletions.
9 changes: 6 additions & 3 deletions Build/BSN.Commons.Orm.EntityFramework.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
<package >
<metadata>
<id>BSN.Commons.Orm.EntityFramework</id>
<version>1.9.0</version>
<version>1.9.1</version>
<authors>Seyyed Soroosh Hosseinalipour</authors>
<owners>sorosh_sabz, BSN</owners>
<license type="expression">MIT</license>
<projectUrl>https://github.com/BSVN/Commons</projectUrl>
<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>ORM Helpers for using entity framework in enterprise application</description>
<releaseNotes>Seperate dependencies</releaseNotes>
<releaseNotes>
* Revert .Net Framework to 4.6.2 for backward compatiblity
* Seperate dependencies
</releaseNotes>
<copyright>BSN Co 2020</copyright>
<tags>Commons ORM Enterprise</tags>
<dependencies>
<dependency id="BSN.Commons" version="1.9.0" />
<dependency id="BSN.Commons" version="1.9.1" />
<dependency id="EntityFramework" version="6.2.0" />
<dependency id="Microsoft.AspNet.Identity.EntityFramework" version="2.2.3" />
</dependencies>
Expand Down
9 changes: 6 additions & 3 deletions Build/BSN.Commons.Users.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
<package >
<metadata>
<id>BSN.Commons.Users</id>
<version>1.9.0</version>
<version>1.9.1</version>
<authors>Seyyed Soroosh Hosseinalipour</authors>
<owners>sorosh_sabz, BSN</owners>
<license type="expression">MIT</license>
<projectUrl>https://github.com/BSVN/Commons</projectUrl>
<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Some identity and user management facilities in enterprise application</description>
<releaseNotes>Seperate dependencies</releaseNotes>
<releaseNotes>
* Revert .Net Framework to 4.6.2 for backward compatiblity
* Seperate dependencies
</releaseNotes>
<copyright>BSN Co 2020</copyright>
<tags>Commons Users Enterprise</tags>
<dependencies>
<dependency id="BSN.Commons" version="1.9.0" />
<dependency id="BSN.Commons" version="1.9.1" />
<dependency id="EntityFramework" version="6.2.0" />
<dependency id="Microsoft.AspNet.Identity.EntityFramework" version="2.2.3" />
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion Build/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var artifactsDir = "./artifacts/";
var solutionPath = "../BSN.Commons.sln";
var projectName = "BSN.Commons";
var projectFolder = "../Source/";
var solutionVersion = "1.9.0";
var solutionVersion = "1.9.1";
var projects = new List<(string path, string name, string version)>
{
("BSN.Commons/", "BSN.Commons.csproj", solutionVersion),
Expand Down
10 changes: 5 additions & 5 deletions Source/BSN.Commons.Orm.EntityFramework/App.config
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="mssqllocaldb" />
<parameter value="mssqllocaldb"/>
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
</providers>
</entityFramework>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BSN.Commons.Orm.EntityFramework</RootNamespace>
<AssemblyName>BSN.Commons.Orm.EntityFramework</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
[assembly: AssemblyDescription("ORM Helpers for using entity framework in enterprise application")]
[assembly: AssemblyCompany("BSN Company")]
[assembly: AssemblyProduct("BSN.Commons.Orm.EntityFramework")]
[assembly: AssemblyVersion("1.9.0")]
[assembly: AssemblyFileVersion("1.9.0")]
[assembly: AssemblyInformationalVersion("1.9.0")]
[assembly: AssemblyVersion("1.9.1")]
[assembly: AssemblyFileVersion("1.9.1")]
[assembly: AssemblyInformationalVersion("1.9.1")]
[assembly: AssemblyCopyright("Copyright © 2020-2022 BSN Co.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyConfiguration("")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>1.9.0</AssemblyVersion>
<FileVersion>1.9.0</FileVersion>
<AssemblyVersion>1.9.1</AssemblyVersion>
<FileVersion>1.9.1</FileVersion>
<Authors>BSN Developers</Authors>
<Company>BSN Company</Company>
<Description>ORM Helpers for using entity framework core in enterprise application</Description>
Expand All @@ -13,7 +13,7 @@
<RepositoryUrl>https://github.com/BSVN/Commons.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>Initial of project</PackageReleaseNotes>
<Version>1.9.0</Version>
<Version>1.9.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Description>Presentation infrastructure layer of BSN.Commons library for enterprise application.</Description>
<AssemblyVersion>1.9.0</AssemblyVersion>
<FileVersion>1.9.0</FileVersion>
<Version>1.9.0</Version>
<AssemblyVersion>1.9.1</AssemblyVersion>
<FileVersion>1.9.1</FileVersion>
<Version>1.9.1</Version>
<Authors>BSN Developers</Authors>
<Company>BSN Company</Company>
<Copyright>BSN Co 2019</Copyright>
Expand Down
10 changes: 5 additions & 5 deletions Source/BSN.Commons.Users/App.config
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</configSections>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v15.0" />
<parameter value="v15.0"/>
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
</providers>
</entityFramework>
</configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
2 changes: 1 addition & 1 deletion Source/BSN.Commons.Users/BSN.Commons.Users.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BSN.Commons.Users</RootNamespace>
<AssemblyName>BSN.Commons.Users</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
Expand Down
6 changes: 3 additions & 3 deletions Source/BSN.Commons.Users/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
[assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BSN.Commons.Users")]
[assembly: AssemblyVersion("1.9.0")]
[assembly: AssemblyFileVersion("1.9.0")]
[assembly: AssemblyInformationalVersion("1.9.0")]
[assembly: AssemblyVersion("1.9.1")]
[assembly: AssemblyFileVersion("1.9.1")]
[assembly: AssemblyInformationalVersion("1.9.1")]
[assembly: AssemblyCopyright("Copyright © 2022 BSN Co.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyConfiguration("")]
Expand Down
6 changes: 3 additions & 3 deletions Source/BSN.Commons/BSN.Commons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>1.9.0</AssemblyVersion>
<FileVersion>1.9.0</FileVersion>
<AssemblyVersion>1.9.1</AssemblyVersion>
<FileVersion>1.9.1</FileVersion>
<Company>BSN Company</Company>
<Authors>BSN Developers</Authors>
<Copyright>BSN Co 2019-2022</Copyright>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.9.0</Version>
<Version>1.9.1</Version>
<PackageProjectUrl>https://github.com/BSVN/Commons</PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<Description>Commons library for enterprise application</Description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<TargetFramework>net462</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion Test/BSN.Commons.Tests/BSN.Commons.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<TargetFramework>net462</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down

0 comments on commit aaf126e

Please sign in to comment.