hello
i downloaded a xamarin app following the following doc <a class="postlink" href="https://www.aspnetzero.com/Documents/Getting-Started-Angular">https://www.aspnetzero.com/Documents/Ge ... ed-Angular</a>
i have the following issues emulator loads but project does not deploy does not throw error but stays there i change the ip address also in the DebugServerIpAddresses
app does not load
Microsoft Visual Studio Community 2017 Version 15.5.4 VisualStudio.15.Release/15.5.4+27130.2024 Microsoft .NET Framework Version 4.7.02558
Installed Version: Community
and .net core 2.1.4
your demo app shows all the dependencies but not the generated app.
i generateed app twice under 2 different name as test and demo extension
<cite>aaron: </cite> You should not need to reference net461 as Abp.AutoMapper targets netstandard2.0.
aron,
thanks for your response
dear aaron i have put the dependencies of the demo project and my project maaybe this will give a clearer picture
cannot add Abp.Automapper as the project in demo references SDK net461 and netstandard library but the project that i generated only references .netstandardlibrary no reference to sdk net461 is found.
Regards Anwar
using System.ComponentModel.DataAnnotations;
namespace Noor.ClassMateDemo.ClassMate.Dto {
public class CreatePersonInput
{
[Required]
[MaxLength(PersonConsts.MaxNameLength)]
public string Name { get; set; }
[Required]
[MaxLength(PersonConsts.MaxSurnameLength)]
public string Surname { get; set; }
[EmailAddress]
[MaxLength(PersonConsts.MaxEmailAddressLength)]
public string EmailAddress { get; set; }
}
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing;
namespace Noor.ClassMateDemo.ClassMate { [Table("PbPersons")] public class Person : FullAuditedEntity { [Required] [MaxLength(PersonConsts.MaxNameLength)] public virtual string Name { get; set; }
[Required]
[MaxLength(PersonConsts.MaxSurnameLength)]
public virtual string Surname { get; set; }
[MaxLength(PersonConsts.MaxEmailAddressLength)]
public virtual string EmailAddress { get; set; }
}
using System; using System.Collections.Generic; using System.Text;
namespace Noor.ClassMateDemo.ClassMate { public class PersonConsts { public const int MaxNameLength = 32; public const int MaxSurnameLength = 32; public const int MaxEmailAddressLength = 255; } }