New York wrote:
Please clarify "not... install correctly". Any error message in the log?
Okay after digging bit more about the plugin development and setup environment, identify the issue was with ~/App_Data/plugin.json.
due to an orphan entry in the "PluginNamesToInstall": [
{
"Item1": "xyz.abc.pqr",
"Item2": "2dd5b46c-9bb8-4c91-9593-778a322976c1"
}]
cause the issue. A dll resource file does not exist in the directory but entry leftover in the plugin.json file.
To replicate the issue Please do the following:
1. Add a new plugin project
2. Compile and Run (Assuming that the initial setup has been successfully done).
3. Now open admin panel and try to install it.
4. It should ask for restart Application (Failed).
5. Remove the plugin project.
6. Clean Solution and rebuild.
7. Add new plugin project with a new name.
8. Compile and rebuild
9. Repeat Step 2,3,4
10. Now check the plugin.json file status.
I am still trying to get my head around, how to prevent happening again.
Also, Restart application in the local environment (dev machine - localhost) throwing an unhandled exception. I think that is a separate issue.
New York wrote:
A "development environment" can be Visual Studio on your local PC. What is your concern
Yes, My development environment is a visual studio 2019, and it is a local (VM).
My concern is that every time a new version releases, vital documents are not up to date. That confuses new developer and set back on pushing upgrades. I wish I have an architecture document and learn this entire framework through the document. Thus, I could be more confident about any changes in the patterns and develop with confidence. Ideally, it should be like LTS for a version and archives of documents related to the version for the references.
New York wrote:
- how to "Publish" updates to your QA or production site?
Not at the moment, I would love to create some CI/CD to push development cycle quicker, but I think I am far from it.