Thanks for looking into that, because every time I need to edit the entities using the tool, I have to comment out bunch of code (and then I must not forget to uncomment it, which is the biggest issue :o) ).
I figured what causes the freezing: We have generic classes that inherit from the entity, something like this:
[Table("AttributeValues")]
public class AttributeValue : FullAuditedEntity
{
public virtual int AttributeDefinitionId { get; set; }
public AttributeDefinition AttributeDefinition { get; set; }
public virtual int? ServiceId { get; set; }
public Service Service { get; set; }
public virtual int? ServiceItemId { get; set; }
public ServiceItem ServiceItem { get; set; }
}
public class AttributeValue<T> : AttributeValue
{
public T Value { get; set; }
}
When I comment out the AttributeValue<T> : AttributeValue
class, RAD tool starts working.
Thanks for the older version, but you are right - this one freezes as well.
Unfortuantely not, Visual Studio still freezes after clicking on Add new navigation property button.
Not sure of the version number, but it wasn't that new fancy looking one. Probably last week or week before.
Open the RAD tool, click on Navigation properties tab then click Add new navigation property button and that's it.
It's ongoing project so maybe the problem is somewhere in already generated json files.
Hello. After update of the RAD tool I am not able to add a navigation property, after clicking on the Add Navigation Property button the RAD tool freezes and restart of the Visual Studio is needed. This is happening on two different computers, so it's probably not caused by the system but rather by the data. Does RAD tool provide any crashlog? I didn't find anything useful in the crashlog of Visual studio.
Thanks. Best regards, Martin.
@ismcagdas. Thanks, that did the trick. It's actually the other way round then I thought.
The code has to be indeed added to Core, not the Application project.
Thanks again for your help.
Best regards, Martin.
I have added this:
Configuration.Localization.Sources.Extensions.Add(
new LocalizationSourceExtensionInfo("Abp",
new XmlEmbeddedFileLocalizationDictionaryProvider(
Assembly.GetExecutingAssembly(),
"Adel.Portal.Localization.Portal"
)
)
);
to the PortalApplicationModule.PreInitialize() and added new row to the Portal.xml in Adel.Portal.Core project.
Best regards, Martin