Activities of "hitaspdotnet"

This issue is becuase template version 'common.props' which is 1.0.0.0 and the abp framework version is '5.0.0.0' and the downloaded packages version is 4.4.0! I changed them to 4.4.0 and issue solved.

How to force licensing modules to use local framework references?

Any solution?

hi

Then we got packages dublicated. How to fix?

Can you share your steps and error messages?

  1. Download framework (git repo)
  2. Download all modules (+pro) with get-source abp cli
  3. Create template pro using abp cli
  4. reviewing project references for pro modules (cli bug with local framework reference)
  5. Run
System.IO.FileLoadException: Could not load file or assembly 'Volo.Abp.Core, Version=4.4.0.0, Culture=neutral, PublicKeyToken=null'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)

I want to use local reference of abp framework, but when try to run template abp framework packages downloaded beacuse of licensing package's dependencies. Then we got packages dublicated. How to fix?

Is it possible?

Answer

Running fresh Application template 4.4.0-rc2

2021-07-10 13:27:27.733 +04:30 [INF] Executing endpoint 'Volo.CmsKit.Admin.Menus.MenuItemAdminController.GetListAsync (Volo.CmsKit.Admin.HttpApi)'
2021-07-10 13:27:27.733 +04:30 [INF] Route matched with {area = "cms-kit", action = "GetList", controller = "MenuItemAdmin", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.Application.Dtos.ListResultDto`1[Volo.CmsKit.Menus.MenuItemDto]] GetListAsync() on controller Volo.CmsKit.Admin.Menus.MenuItemAdminController (Volo.CmsKit.Admin.HttpApi).
2021-07-10 13:27:27.734 +04:30 [INF] Start processing HTTP request GET "https://localhost:44341/api/cms-kit-admin/menu-items?api-version=1.0"
2021-07-10 13:27:27.734 +04:30 [INF] Sending HTTP request GET "https://localhost:44341/api/cms-kit-admin/menu-items?api-version=1.0"
2021-07-10 13:27:27.746 +04:30 [INF] Received HTTP response headers after 12.4761ms - 500
2021-07-10 13:27:27.746 +04:30 [INF] End processing HTTP request after 12.5795ms - 500
2021-07-10 13:27:27.769 +04:30 [ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "An internal error occurred during your request!",
  "details": null,
  "data": {},
  "validationErrors": null
}

2021-07-10 13:27:27.769 +04:30 [ERR] An internal error occurred during your request!
Volo.Abp.Http.Client.AbpRemoteCallException: An internal error occurred during your request!
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.MakeRequestAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.MakeRequestAndGetResultAsync[T](IAbpMethodInvocation invocation)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.GetResultAsync(Task task, Type resultType)
   at Volo.Abp.Http.Client.DynamicProxying.DynamicHttpProxyInterceptor`1.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at lambda_method2699(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync&gt;g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeInnerFilterAsync&gt;g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync&gt;g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2021-07-10 13:27:27.769 +04:30 [ERR] Code:
2021-07-10 13:27:27.769 +04:30 [ERR] Details:
2021-07-10 13:27:27.769 +04:30 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
2021-07-10 13:27:27.770 +04:30 [INF] Executed action Volo.CmsKit.Admin.Menus.MenuItemAdminController.GetListAsync (Volo.CmsKit.Admin.HttpApi) in 36.2805ms
2021-07-10 13:27:27.770 +04:30 [INF] Executed endpoint 'Volo.CmsKit.Admin.Menus.MenuItemAdminController.GetListAsync (Volo.CmsKit.Admin.HttpApi)'
2021-07-10 13:27:27.770 +04:30 [INF] Request finished HTTP/2 GET https://localhost:44396/api/cms-kit-admin/menu-items application/json - - 500 - application/json;+charset=utf-8 45.5405ms

Why the cms module is not avaible in microservice template?

Answer
PS D:\> abp new BookService -t microservice-service-pro --preview
[14:32:26 INF] ABP CLI (https://abp.io)
[14:32:26 INF] Version 4.3.0-rc.1 (Prerelease)
[14:32:29 INF] Creating your project...
[14:32:29 INF] Project name: BookService
[14:32:29 INF] Template: microservice-service-pro
[14:32:29 INF] Preview: yes if any exist for next version.
[14:32:29 INF] Output folder: D:\services\bookService
[14:32:29 INF] Using cached template: microservice-service-pro, version: 4.3.0-rc.1
[14:32:30 ERR] The given key 'o' was not present in the dictionary.
System.Collections.Generic.KeyNotFoundException: The given key 'o' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Volo.Abp.Cli.ProjectBuilding.Building.Steps.MicroserviceServiceRandomPortStep.ReadTyeFileContent(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\Steps\MicroserviceServiceRandomPortStep.cs:line 62
   at Volo.Abp.Cli.ProjectBuilding.Building.Steps.MicroserviceServiceRandomPortStep.PortExistsForAnotherService(ProjectBuildContext context, String newPort) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\Steps\MicroserviceServiceRandomPortStep.cs:line 52
   at Volo.Abp.Cli.ProjectBuilding.Building.Steps.MicroserviceServiceRandomPortStep.GetNewRandomPort(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\Steps\MicroserviceServiceRandomPortStep.cs:line 40
   at Volo.Abp.Cli.ProjectBuilding.Building.Steps.MicroserviceServiceRandomPortStep.Execute(ProjectBuildContext context) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\Steps\MicroserviceServiceRandomPortStep.cs:line 20
   at Volo.Abp.Cli.ProjectBuilding.Building.ProjectBuildPipeline.Execute() in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\Building\ProjectBuildPipeline.cs:line 19
   at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 114
   at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 192
   at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
PS D:\>

the solution is : PS D:\> abp new BookService -t microservice-service-pro --preview -o "D:\"

Answer

1.Thanks a lot for all the work you did on this version. 2.New modules cms-pro and forms is not available with suite. 3.Preview app generated with suite has null AbpVersion. (at suite appsetting.json) 4.Stable microservice template (4.2.2) has angular folder but project type is MVC 5.Preview of microservice-pro template isn't downloadable from cli or suite, and the microservice's form in suite need code review.

PS D:\> abp new Hitasp -t microservice-pro --preview
[14:46:20 INF] ABP CLI (https://abp.io)
[14:46:20 INF] Version 4.3.0-rc.1 (Prerelease)
[14:46:22 INF] Creating your project...
[14:46:22 INF] Project name: Hitasp
[14:46:22 INF] Template: microservice-pro
[14:46:22 INF] Preview: yes if any exist for next version.
[14:46:22 INF] Output folder: D:\
[14:46:23 INF] Downloading template: microservice-pro, version: 4.3.0-rc.1
Error occured while downloading source-code from https://abp.io/api/download/template/ : StatusCode: 500, ReasonPhrase: 'Internal Server Error', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
  Date: Fri, 02 Apr 2021 10:16:27 GMT
  Transfer-Encoding: chunked
  Connection: keep-alive
  Cache-Control: no-store, no-cache
  Pragma: no-cache
  Set-Cookie: .AspNetCore.Antiforgery.9TtSrW0hzOs=CfDJ8KBZ_5VeVydGtaiyQzyQAvCXc4E0vy41baUwljkbnSVpgwrCQ16GNoYNPRnlxeDM_P4m4puRraGmsI-hfo-9LGC_D6bXcfGcG5PkmXQ37BfDMyxUvodXA-QSrnsPxgXKr3rdZIEyKepblPJZayUHVCk; path=/; samesite=strict; httponly
  Set-Cookie: XSRF-TOKEN=CfDJ8KBZ_5VeVydGtaiyQzyQAvBxGj_TLiUi1k-L_zMBIpJea_agY7xu9kH2ntqmuAw3dHaf6IZNhtohr4JyCLjV_ZLrnTSBByK2pwrx_WdsQsCbqGIcObW-UCr0VazAhYs702L3Frl4VZs9GbMNvi-EDsMieg2iJzSPu2rYsgWRL4XrTHaKbzAmaWFRCDwbnIVqcA; expires=Mon, 31 Mar 2031 10:16:27 GMT; path=/; samesite=none
  X-Frame-Options: SAMEORIGIN
  X-Powered-By: ARR/3.0
  X-Powered-By: ASP.NET
  CF-Cache-Status: DYNAMIC
  cf-request-id: 0933ae8c2600004e08fcac5000000001
  Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
  Report-To: {"max_age":604800,"group":"cf-nel","endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=3%2BLPjZQ6kjVtuBkN9UqSBE%2BIyOdplV6ZAKrLYc1clT0IhmFctNp%2B0x4guyfxuNWEE0G9utBHHankqgqCquiXnk6BBw03kAU%3D"}]}
  NEL: {"max_age":604800,"report_to":"cf-nel"}
  Server: cloudflare
  CF-RAY: 63994d26aa5c4e08-FRA
  Content-Type: text/html; charset=utf-8
  Expires: -1
}
'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[14:46:28 ERR] '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
System.Text.Json.JsonException: '<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
 ---> System.Text.Json.JsonReaderException: '<' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   --- End of inner exception stack trace ---
   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](JsonConverter jsonConverter, Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadCore[TValue](Utf8JsonReader& reader, Type returnType, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, Type returnType, JsonSerializerOptions options)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)
   at Volo.Abp.Json.SystemTextJson.AbpSystemTextJsonSerializerProvider.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Json\Volo\Abp\Json\SystemTextJson\AbpSystemTextJsonSerializerProvider.cs:line 34
   at Volo.Abp.Json.AbpHybridJsonSerializer.Deserialize[T](String jsonString, Boolean camelCase) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Json\Volo\Abp\Json\AbpHybridJsonSerializer.cs:line 37
   at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.GetAbpRemoteServiceErrorAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 52
   at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 38
   at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 214
   at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 111
   at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 56
   at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 192
   at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
Showing 51 to 60 of 63 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11