From f6c9caf87333f51ee9b2fbe64b01831ce212abc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 20 Dec 2016 00:09:32 +0300 Subject: [PATCH] Create empty Abp.Identity package and reference MS Identity. Resolved #14. --- Volo.Abp.sln | 10 +++++++++ .../EntityFrameworkCore/AbpDeskDbContext.cs | 2 +- .../Properties/AssemblyInfo.cs | 19 +++++++++++++++++ src/Volo.Abp.Identity/Volo.Abp.Identity.xproj | 21 +++++++++++++++++++ src/Volo.Abp.Identity/project.json | 14 +++++++++++++ 5 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 src/Volo.Abp.Identity/Properties/AssemblyInfo.cs create mode 100644 src/Volo.Abp.Identity/Volo.Abp.Identity.xproj create mode 100644 src/Volo.Abp.Identity/project.json diff --git a/Volo.Abp.sln b/Volo.Abp.sln index 3724db61e3..d7c92705ca 100644 --- a/Volo.Abp.sln +++ b/Volo.Abp.sln @@ -74,6 +74,10 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.TestBase", "src\Vo EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AbpDesk.Web.Mvc", "src\AbpDesk\AbpDesk.Web.Mvc\AbpDesk.Web.Mvc.xproj", "{12E14D95-4ABA-4290-AB1D-CCF5EB158411}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Identity", "Identity", "{1895A5C9-50D4-4568-9A3A-14657E615A5E}" +EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.Identity", "src\Volo.Abp.Identity\Volo.Abp.Identity.xproj", "{17DBB40A-243E-41F7-A672-FA316ECB1E33}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -180,6 +184,10 @@ Global {12E14D95-4ABA-4290-AB1D-CCF5EB158411}.Debug|Any CPU.Build.0 = Debug|Any CPU {12E14D95-4ABA-4290-AB1D-CCF5EB158411}.Release|Any CPU.ActiveCfg = Release|Any CPU {12E14D95-4ABA-4290-AB1D-CCF5EB158411}.Release|Any CPU.Build.0 = Release|Any CPU + {17DBB40A-243E-41F7-A672-FA316ECB1E33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17DBB40A-243E-41F7-A672-FA316ECB1E33}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17DBB40A-243E-41F7-A672-FA316ECB1E33}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17DBB40A-243E-41F7-A672-FA316ECB1E33}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -216,5 +224,7 @@ Global {E6E2467C-184A-4A0A-929F-932D5097953E} = {61708AC8-CE70-4351-9B31-13EA8213D208} {8CECCEAF-F0D8-4257-96BA-EACF4763AF42} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} {12E14D95-4ABA-4290-AB1D-CCF5EB158411} = {1187F469-0063-4065-9419-A1D956C80145} + {1895A5C9-50D4-4568-9A3A-14657E615A5E} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6} + {17DBB40A-243E-41F7-A672-FA316ECB1E33} = {1895A5C9-50D4-4568-9A3A-14657E615A5E} EndGlobalSection EndGlobal diff --git a/src/AbpDesk/AbpDesk.EntityFrameworkCore/AbpDesk/EntityFrameworkCore/AbpDeskDbContext.cs b/src/AbpDesk/AbpDesk.EntityFrameworkCore/AbpDesk/EntityFrameworkCore/AbpDeskDbContext.cs index db2b048cea..2cca0c2af8 100644 --- a/src/AbpDesk/AbpDesk.EntityFrameworkCore/AbpDesk/EntityFrameworkCore/AbpDeskDbContext.cs +++ b/src/AbpDesk/AbpDesk.EntityFrameworkCore/AbpDesk/EntityFrameworkCore/AbpDeskDbContext.cs @@ -5,7 +5,7 @@ using Volo.Abp.EntityFrameworkCore; namespace AbpDesk.EntityFrameworkCore { - [DatabaseName(ConnectionStrings.DefaultConnectionStringName)] + [DatabaseName(ConnectionStrings.DefaultConnectionStringName)] //Explicitly declares this module always uses the default connection string public class AbpDeskDbContext : AbpDbContext { public DbSet Tickets { get; set; } diff --git a/src/Volo.Abp.Identity/Properties/AssemblyInfo.cs b/src/Volo.Abp.Identity/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..010fe79190 --- /dev/null +++ b/src/Volo.Abp.Identity/Properties/AssemblyInfo.cs @@ -0,0 +1,19 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Volo.Abp.Identity")] +[assembly: AssemblyTrademark("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("17dbb40a-243e-41f7-a672-fa316ecb1e33")] diff --git a/src/Volo.Abp.Identity/Volo.Abp.Identity.xproj b/src/Volo.Abp.Identity/Volo.Abp.Identity.xproj new file mode 100644 index 0000000000..8b01b0a7a5 --- /dev/null +++ b/src/Volo.Abp.Identity/Volo.Abp.Identity.xproj @@ -0,0 +1,21 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + 17dbb40a-243e-41f7-a672-fa316ecb1e33 + Volo.Abp.Identity + .\obj + .\bin\ + v4.6.1 + + + + 2.0 + + + diff --git a/src/Volo.Abp.Identity/project.json b/src/Volo.Abp.Identity/project.json new file mode 100644 index 0000000000..0ae87711b5 --- /dev/null +++ b/src/Volo.Abp.Identity/project.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.1", + "Microsoft.AspNetCore.Identity": "1.1.0" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +}