Browse Source

Created Volo.Abp.Identity.SourceCode

pull/10363/head
Yunus Emre Kalkan 5 years ago
parent
commit
031e221c42
  1. 7
      modules/identity/Volo.Abp.Identity.sln
  2. 3
      modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xml
  3. 30
      modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xsd
  4. 17
      modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.csproj
  5. BIN
      modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.zip
  6. 10
      studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/SourceCodeDownloadStep.cs

7
modules/identity/Volo.Abp.Identity.sln

@ -47,6 +47,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Identity.Blazor.Se
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Identity.Blazor.WebAssembly", "src\Volo.Abp.Identity.Blazor.WebAssembly\Volo.Abp.Identity.Blazor.WebAssembly.csproj", "{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Identity.Blazor.WebAssembly", "src\Volo.Abp.Identity.Blazor.WebAssembly\Volo.Abp.Identity.Blazor.WebAssembly.csproj", "{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Identity.SourceCode", "src\Volo.Abp.Identity.SourceCode\Volo.Abp.Identity.SourceCode.csproj", "{9D056A62-D79A-4751-BC5B-E1F7CB5D4492}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -133,6 +135,10 @@ Global
{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Debug|Any CPU.Build.0 = Debug|Any CPU {4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Release|Any CPU.ActiveCfg = Release|Any CPU {4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Release|Any CPU.Build.0 = Release|Any CPU {4DB89179-EEDC-4C01-9F9E-04A7C106FA7F}.Release|Any CPU.Build.0 = Release|Any CPU
{9D056A62-D79A-4751-BC5B-E1F7CB5D4492}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D056A62-D79A-4751-BC5B-E1F7CB5D4492}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D056A62-D79A-4751-BC5B-E1F7CB5D4492}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D056A62-D79A-4751-BC5B-E1F7CB5D4492}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
@ -158,6 +164,7 @@ Global
{3F7BB653-3F3A-4889-B73C-E463F239099A} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B} {3F7BB653-3F3A-4889-B73C-E463F239099A} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B}
{A5BAC86D-1231-4B95-918E-2011477A81E7} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B} {A5BAC86D-1231-4B95-918E-2011477A81E7} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B}
{4DB89179-EEDC-4C01-9F9E-04A7C106FA7F} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B} {4DB89179-EEDC-4C01-9F9E-04A7C106FA7F} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B}
{9D056A62-D79A-4751-BC5B-E1F7CB5D4492} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B}
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {05740D37-83CF-4041-9C2A-D89F1B3DB5A4} SolutionGuid = {05740D37-83CF-4041-9C2A-D89F1B3DB5A4}

3
modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xml

@ -0,0 +1,3 @@
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<ConfigureAwait />
</Weavers>

30
modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xsd

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This file was generated by Fody. Manual changes to this file will be lost when your project is rebuilt. -->
<xs:element name="Weavers">
<xs:complexType>
<xs:all>
<xs:element name="ConfigureAwait" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="ContinueOnCapturedContext" type="xs:boolean" />
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="VerifyAssembly" type="xs:boolean">
<xs:annotation>
<xs:documentation>'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="VerifyIgnoreCodes" type="xs:string">
<xs:annotation>
<xs:documentation>A comma-separated list of error codes that can be safely ignored in assembly verification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="GenerateXsd" type="xs:boolean">
<xs:annotation>
<xs:documentation>'false' to turn off automatic generation of the XML Schema file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>

17
modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.csproj

@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\..\configureawait.props" />
<Import Project="..\..\..\..\common.props" />
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<None Remove="Volo.Abp.Identity.SourceCode.zip" />
<Content Include="Volo.Abp.Identity.SourceCode.zip">
<Pack>true</Pack>
<PackagePath>content\</PackagePath>
</Content>
</ItemGroup>
</Project>

BIN
modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.zip

Binary file not shown.

10
studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/SourceCodeDownloadStep.cs

@ -1,4 +1,5 @@
using System.IO; using System;
using System.IO;
using System.IO.Compression; using System.IO.Compression;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
@ -20,6 +21,8 @@ namespace Volo.Abp.Studio.ModuleInstalling.Steps
var targetFolder = context.GetTargetSourceCodeFolder(); var targetFolder = context.GetTargetSourceCodeFolder();
CreateTargetDirectory(targetFolder);
using (var archive = ZipFile.OpenRead(zipFilePath)) using (var archive = ZipFile.OpenRead(zipFilePath))
{ {
foreach (var entry in archive.Entries) foreach (var entry in archive.Entries)
@ -28,5 +31,10 @@ namespace Volo.Abp.Studio.ModuleInstalling.Steps
} }
} }
} }
private void CreateTargetDirectory(string targetFolder)
{
Directory.CreateDirectory(targetFolder);
}
} }
} }

Loading…
Cancel
Save