We are using the ASP.NET Core & Angular version of the project.
We modified the Web.Host appsettings.Production.json ClientRootAddress to point to the web server url instead of the default localhost:4200. However. whenever a new user clicks on the confirmation email link, we receive the following message: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
So, let's say our server is at https://www.random.com, the link we get is https://www.random.com/account/confirm-email?c=yaddayaddayadda
What are we doing wrong here?
We are attempting to create a CI/CD build the ASP.NET Zero iOS app in VSTS.
We are using the Xamarin iOS build template.
After the NuGet restore task (NuGet 4.3.0) we get an error in the build:
/Users/vsts/agent/2.144.0/work/13/s/Trunk/aspnet-core/src/AgileDemo.Mobile.iOS/AgileDemo.Mobile.iOS.csproj(378,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ../../packages/NETStandard.Library.2.0.3/build/netstandard2.0/NETStandard.Library.targets.
If I list the packages directory I see that the NETStandard.Library.targets file is located here: ./packages/netstandard.library/2.0.3/build/netstandard2.0 not here: /packages/NETStandard.Library.2.0.3/build/netstandard2.0
It appears that the project isn't looking for a 2.0.3 subdirectory under netstandard.library, it's looking for a directory named netstandard.library.2.0.3.
How can we properly resolve this issue?
We are attempting to set up a CI-CD build for the mobile projects that come with the default ASP.NET Zero AgileDemo project.
At this time, I am able to successfully build the AgileDemo.Mobile.Droid project using an msbuild command on my local using the following command:
msbuild /t:clean;restore;compile;build;packageforandroid AgileDemo.Mobile.Droid.csproj
However, using this same command in a hosted VS2017 MSBuild task in VSTS throws the following errors:
2018-12-21T18:22:21.9051198Z CoreCompile:
2018-12-21T18:22:21.9065316Z C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn\csc.exe <snip lots of options>
2018-12-21T18:22:21.9074660Z Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Roslyn
2018-12-21T18:22:22.4124711Z ##[error]aspnet-core\src\AgileDemo.Application.Shared\Authorization\Accounts\Dto\ActivateEmailInput.cs(3,14): Error CS0234: The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?)
2018-12-21T18:22:22.4132023Z Authorization\Accounts\Dto\ActivateEmailInput.cs(3,14): error CS0234: The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?) [D:\a\3\s\aspnet-core\src\AgileDemo.Application.Shared\AgileDemo.Application.Shared.csproj]
2018-12-21T18:22:22.4135486Z ##[error]aspnet-core\src\AgileDemo.Application.Shared\Authorization\Accounts\Dto\ResetPasswordInput.cs(3,14): Error CS0234: The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?)
2018-12-21T18:22:22.4135738Z Authorization\Accounts\Dto\ResetPasswordInput.cs(3,14): error CS0234: The type or namespace name 'Web' does not exist in the namespace 'System' (are you missing an assembly reference?) [D:\a\3\s\aspnet-core\src\AgileDemo.Application.Shared\AgileDemo.Application.Shared.csproj]
<snip>
and on and on.
I'm not sure I understand why it works locally but not on the hosted system running the same version of msbuild.
For fun, I've attempted to build this using a Xamarin task and a dotnet task. All fail as well with similar errors.
Has anyone seen this and resolved it successfully?