diff --git a/modules/identity/Volo.Abp.Identity.sln b/modules/identity/Volo.Abp.Identity.sln index bb81ccf749..43a0ce60fc 100644 --- a/modules/identity/Volo.Abp.Identity.sln +++ b/modules/identity/Volo.Abp.Identity.sln @@ -47,6 +47,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Identity.Blazor.Se 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}" 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 GlobalSection(SolutionConfigurationPlatforms) = preSolution 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}.Release|Any CPU.ActiveCfg = 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 GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -158,6 +164,7 @@ Global {3F7BB653-3F3A-4889-B73C-E463F239099A} = {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} + {9D056A62-D79A-4751-BC5B-E1F7CB5D4492} = {AADC5A0A-F100-4511-87DE-B74E55F5B69B} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {05740D37-83CF-4041-9C2A-D89F1B3DB5A4} diff --git a/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xml b/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xml new file mode 100644 index 0000000000..00e1d9a1c1 --- /dev/null +++ b/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xsd b/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xsd new file mode 100644 index 0000000000..3f3946e282 --- /dev/null +++ b/modules/identity/src/Volo.Abp.Identity.SourceCode/FodyWeavers.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. + + + + + A comma-separated list of error codes that can be safely ignored in assembly verification. + + + + + 'false' to turn off automatic generation of the XML Schema file. + + + + + \ No newline at end of file diff --git a/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.csproj b/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.csproj new file mode 100644 index 0000000000..d9949a3c47 --- /dev/null +++ b/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.csproj @@ -0,0 +1,17 @@ + + + + + + + net5.0 + + + + + + true + content\ + + + diff --git a/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.zip b/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.zip new file mode 100644 index 0000000000..8687b64b28 Binary files /dev/null and b/modules/identity/src/Volo.Abp.Identity.SourceCode/Volo.Abp.Identity.SourceCode.zip differ diff --git a/studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/SourceCodeDownloadStep.cs b/studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/SourceCodeDownloadStep.cs index 3532b7aaac..f99dd695e9 100644 --- a/studio/src/Volo.Abp.Studio.ModuleInstaller/Volo/Abp/Studio/ModuleInstalling/Steps/SourceCodeDownloadStep.cs +++ b/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.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; @@ -20,6 +21,8 @@ namespace Volo.Abp.Studio.ModuleInstalling.Steps var targetFolder = context.GetTargetSourceCodeFolder(); + CreateTargetDirectory(targetFolder); + using (var archive = ZipFile.OpenRead(zipFilePath)) { foreach (var entry in archive.Entries) @@ -28,5 +31,10 @@ namespace Volo.Abp.Studio.ModuleInstalling.Steps } } } + + private void CreateTargetDirectory(string targetFolder) + { + Directory.CreateDirectory(targetFolder); + } } }