Fixed.
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/809#issuecomment-364033538">https://github.com/aspnetzero/aspnet-ze ... -364033538</a>
Hi,
Can you disable add-migration and update-database in json file and try again? (setting values false)
File creation was fine in my tests. I'll check it again.
Hi,
it's currently not possible, but maybe in future.
Hi,
Thanks for the suggestions! Some of these are already in our road map.
XML localization generated should prefix name with name of Entity so it does conflict. For example generic filed "Name" would get duplicated.
Tool is preventing duplication in localization file, isn't it? If not, please send a bug report :D
Hi,
Deleting and recreating DB doesn't break your license. Please contact to <a href="mailto:[email protected]">[email protected]</a> about this problem.
Hi andmattia,
You can create a new github issue in aspnet-zero-core repository and explain what happens if camel case is used for namespace.
@vladsd
Words that are localized by tool (property name, entity name etc) should be usually simple words and has same meaning everywhere. I am not sure why you need this.
However, we may discuss that and give a prefix option for localization in next versions.
hi, @faisalalam
I'm sorry but no date yet.
- Allow for maxchar definition in database.
I don't get what you mean. You can set nvarchar(x) by filling maxlength field, and nvarchar(max) by not filling it.
Hi,
If you can successfully build manually, problem may be related to visual studio. Is there any warning before "Running add-migration"?
By the way, we've fixed the bug that causes DirectoryNotFoundException when a file not found. (you can update vs extension to 1.2.3) Could you please update it and try again?
Unfortunately tool doesn't support pre-5.0 versions. However, you can use many parts of generated code by carrying them to your own project.
Edit: version info corrected.