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.
@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
Hello ismcagdas. I followed mentioned document but unfortunately I was not able to make it work.
This is - I guess - the essential part:
Configuration.Localization.Sources.Extensions.Add( new LocalizationSourceExtensionInfo("AbpWeb", new XmlEmbeddedFileLocalizationDictionaryProvider( Assembly.GetExecutingAssembly(), "MyCompany.MyProject.Localization.Sources" ) ) );
I tried a few more things but the above mentiones seems to me the most logical :o).
What am I missing?
Thanks, Martin.