From 1dbf92a3bcb5a9f40d5e845e64813d0f4e2d066c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Sun, 11 Dec 2016 17:07:48 +0300 Subject: [PATCH] Created Volo.Abp.ApplicationContracts package. --- Volo.Abp.sln | 7 +++++++ .../project.json | 2 +- .../Properties/AssemblyInfo.cs | 19 ++++++++++++++++++ .../Volo.Abp.ApplicationContracts.xproj | 20 +++++++++++++++++++ .../Application/Services/Dtos/EntityDto.cs | 0 .../Services/Dtos/ListResultDto.cs | 0 .../Services/IApplicationService.cs | 0 .../project.json | 14 +++++++++++++ 8 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 src/Volo.Abp.ApplicationContracts/Properties/AssemblyInfo.cs create mode 100644 src/Volo.Abp.ApplicationContracts/Volo.Abp.ApplicationContracts.xproj rename src/{Volo.Abp => Volo.Abp.ApplicationContracts}/Volo/Abp/Application/Services/Dtos/EntityDto.cs (100%) rename src/{Volo.Abp => Volo.Abp.ApplicationContracts}/Volo/Abp/Application/Services/Dtos/ListResultDto.cs (100%) rename src/{Volo.Abp => Volo.Abp.ApplicationContracts}/Volo/Abp/Application/Services/IApplicationService.cs (100%) create mode 100644 src/Volo.Abp.ApplicationContracts/project.json diff --git a/Volo.Abp.sln b/Volo.Abp.sln index 88b39bbf19..74d61636b3 100644 --- a/Volo.Abp.sln +++ b/Volo.Abp.sln @@ -66,6 +66,8 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "AbpDesk.ConsoleDemo", "src\ EndProject Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.AspNetCore.Mvc", "src\Volo.Abp.AspNetCore.Mvc\Volo.Abp.AspNetCore.Mvc.xproj", "{3FB342CA-23B6-4795-91EF-C664527C07B7}" EndProject +Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Volo.Abp.ApplicationContracts", "src\Volo.Abp.ApplicationContracts\Volo.Abp.ApplicationContracts.xproj", "{69C72C98-B864-43F7-88B8-19536C7C9B43}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -160,6 +162,10 @@ Global {3FB342CA-23B6-4795-91EF-C664527C07B7}.Debug|Any CPU.Build.0 = Debug|Any CPU {3FB342CA-23B6-4795-91EF-C664527C07B7}.Release|Any CPU.ActiveCfg = Release|Any CPU {3FB342CA-23B6-4795-91EF-C664527C07B7}.Release|Any CPU.Build.0 = Release|Any CPU + {69C72C98-B864-43F7-88B8-19536C7C9B43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {69C72C98-B864-43F7-88B8-19536C7C9B43}.Debug|Any CPU.Build.0 = Debug|Any CPU + {69C72C98-B864-43F7-88B8-19536C7C9B43}.Release|Any CPU.ActiveCfg = Release|Any CPU + {69C72C98-B864-43F7-88B8-19536C7C9B43}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -192,5 +198,6 @@ Global {35624E7C-6501-4B42-9AA7-70555666A8B3} = {1187F469-0063-4065-9419-A1D956C80145} {1A1575D7-E57E-4A40-8113-FD01BB1753D5} = {1187F469-0063-4065-9419-A1D956C80145} {3FB342CA-23B6-4795-91EF-C664527C07B7} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} + {69C72C98-B864-43F7-88B8-19536C7C9B43} = {4C753F64-0C93-4D65-96C2-A40893AFC1E8} EndGlobalSection EndGlobal diff --git a/src/AbpDesk/AbpDesk.Application.Contracts/project.json b/src/AbpDesk/AbpDesk.Application.Contracts/project.json index 863659ace7..f8ff58d0f6 100644 --- a/src/AbpDesk/AbpDesk.Application.Contracts/project.json +++ b/src/AbpDesk/AbpDesk.Application.Contracts/project.json @@ -3,7 +3,7 @@ "dependencies": { "NETStandard.Library": "1.6.1", - "Volo.Abp": "1.0.0-*" + "Volo.Abp.ApplicationContracts": "1.0.0-*" }, "frameworks": { diff --git a/src/Volo.Abp.ApplicationContracts/Properties/AssemblyInfo.cs b/src/Volo.Abp.ApplicationContracts/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..821c30c9b8 --- /dev/null +++ b/src/Volo.Abp.ApplicationContracts/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.ApplicationContracts")] +[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("69c72c98-b864-43f7-88b8-19536c7c9b43")] diff --git a/src/Volo.Abp.ApplicationContracts/Volo.Abp.ApplicationContracts.xproj b/src/Volo.Abp.ApplicationContracts/Volo.Abp.ApplicationContracts.xproj new file mode 100644 index 0000000000..6c9dc31cd7 --- /dev/null +++ b/src/Volo.Abp.ApplicationContracts/Volo.Abp.ApplicationContracts.xproj @@ -0,0 +1,20 @@ + + + + 14.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + 69c72c98-b864-43f7-88b8-19536c7c9b43 + + + .\obj + .\bin\ + v4.6.1 + + + 2.0 + + + \ No newline at end of file diff --git a/src/Volo.Abp/Volo/Abp/Application/Services/Dtos/EntityDto.cs b/src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/Dtos/EntityDto.cs similarity index 100% rename from src/Volo.Abp/Volo/Abp/Application/Services/Dtos/EntityDto.cs rename to src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/Dtos/EntityDto.cs diff --git a/src/Volo.Abp/Volo/Abp/Application/Services/Dtos/ListResultDto.cs b/src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/Dtos/ListResultDto.cs similarity index 100% rename from src/Volo.Abp/Volo/Abp/Application/Services/Dtos/ListResultDto.cs rename to src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/Dtos/ListResultDto.cs diff --git a/src/Volo.Abp/Volo/Abp/Application/Services/IApplicationService.cs b/src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/IApplicationService.cs similarity index 100% rename from src/Volo.Abp/Volo/Abp/Application/Services/IApplicationService.cs rename to src/Volo.Abp.ApplicationContracts/Volo/Abp/Application/Services/IApplicationService.cs diff --git a/src/Volo.Abp.ApplicationContracts/project.json b/src/Volo.Abp.ApplicationContracts/project.json new file mode 100644 index 0000000000..ab4c096616 --- /dev/null +++ b/src/Volo.Abp.ApplicationContracts/project.json @@ -0,0 +1,14 @@ +{ + "version": "1.0.0-*", + + "dependencies": { + "NETStandard.Library": "1.6.1", + "Volo.DependencyInjection": "1.0.0-*" + }, + + "frameworks": { + "netstandard1.6": { + "imports": "dnxcore50" + } + } +}