Base solution for your next web application

Activities of "ryan.mennell"

I got it to work after adjusting the project path, hope it helps someone:

steps:
- task: DotNetCoreCLI@2
  displayName: Publish
  inputs:
    command: publish
    publishWebProjects: false
    projects: src/PROJECTNAME.Web.Mvc/PROJECTNAME.Web.Mvc.csproj
    arguments: ' --output $(Build.ArtifactStagingDirectory)'
    zipAfterPublish: True

Any update?

Followed the original documentation, and then followed your advice above and still running in to the following error:

Build, and restore tasks all run fine.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file

##[debug]   /home/vsts/work/1/a/**
/opt/hostedtoolcache/dotnet/dotnet publish /home/vsts/work/1/s/**/MBT.Web.Mvc.csproj --configuration Release --framework net6.0 --runtime linux-x64 --self-contained --output /home/vsts/work/1/a/**
Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
##[debug]Exit code 1 received from tool '/opt/hostedtoolcache/dotnet/dotnet'
##[debug]STDIO streams have closed for tool '/opt/hostedtoolcache/dotnet/dotnet'
##[error]Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1
##[debug]Processed: ##vso[task.issue type=error;]Error: The process '/opt/hostedtoolcache/dotnet/dotnet' failed with exit code 1
##[debug]which '/opt/hostedtoolcache/dotnet/dotnet'
##[debug]found: '/opt/hostedtoolcache/dotnet/dotnet'
##[debug]/opt/hostedtoolcache/dotnet/dotnet arg: publish
##[debug]/opt/hostedtoolcache/dotnet/dotnet arg: /home/vsts/work/1/s/src/MBT.Web.Mvc/MBT.Web.Mvc.csproj
##[debug]modifyOutputPath=true
##[debug]/opt/hostedtoolcache/dotnet/dotnet arg: --configuration Release --framework net6.0 --runtime linux-x64 --self-contained --output /home/vsts/work/1/a/MBT.Web.Mvc
##[debug]exec tool: /opt/hostedtoolcache/dotnet/dotnet
##[debug]arguments:
##[debug]   publish
##[debug]   /home/vsts/work/1/s/src/MBT.Web.Mvc/MBT.Web.Mvc.csproj
##[debug]   --configuration
##[debug]   Release
##[debug]   --framework
##[debug]   net6.0
##[debug]   --runtime
##[debug]   linux-x64
##[debug]   --self-contained
##[debug]   --output
##[debug]   /home/vsts/work/1/a/MBT.Web.Mvc
/opt/hostedtoolcache/dotnet/dotnet publish /home/vsts/work/1/s/src/MBT.Web.Mvc/MBT.Web.Mvc.csproj --configuration Release --framework net6.0 --runtime linux-x64 --self-contained --output /home/vsts/work/1/a/MBT.Web.Mvc
Microsoft (R) Build Engine version 17.1.0+ae57d105c for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

dotnet --list-sdks returns:

6.0.200 [/opt/hostedtoolcache/dotnet/sdk]

@derirmusa

Thank you, I will test this and let you know if I have any issues.

Could you please update me on this issue? I have also sent emails with zero answers.

Hello,

I have recently purchased this and unable to fix this issue on my own.

I have sent the project via email with zero response (9 Days ago).

Could you please get back to me ASAP.

Kind Regards Ryan

I have sent the project via email. Could you get back to me asap.

Thanks Ryan

Apologies for bumping this again, I can clearly see there is high number of support tickets.

Just bumping this fo visibility.

Thanks for the quick response. Apologies for the delay with mine.

Yes it is hitting and value of abp.timing.timeZoneInfo.iana.timeZoneId is "Europe/London"

Host timezone i set is Default [UTC]. Tenant timezone i set is GMT Standard Time.

Enquiry Date value in tenant database is 2020-05-25 08:00:00.0000000. which will be considered as UTC as i set ClockProviders.UTC.

However, On tenant login > enquiry page > DateTimePicker field > i get same date time "25/05/2020 08:00" if i do not convert it manually with "TimezoneHelper.ConvertFromUtc".

Showing 1 to 10 of 10 entries