-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug (prefixed, informational): Visual Studio Upgrade Fails: Says invalid manifest version #9851
Comments
Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned. |
I have same Error after Update Node JS from 16.19.1 to 18.17.1 |
Thanks @wrharper-AASP @manbuettner , do you mean that previously you're using manifest version 1.16. But when you upgrade project by clicking upgrade in VS Code's upgrade notification or VS's upgrade info bar, the manifest version has been changed to 1.14? And it has some validation errors in manifest.json due to wrong "manifestVersion" value? |
i change manually to 1.14 if i set to 1.16 i got this error: [2023-09-06T08:33:51.881Z] [Info] - Failed to Execute lifecycle provision due to failed action: teamsApp/validateManifest. ManifestValidationFailed:Teams Toolkit has completed checking your app package against validation rules. 1 failed.. Env output: {"TEAMS_APP_ID":"92fdce6f-13fc-4ed0-b62b-24102a112310","TEAMS_APP_TENANT_ID":"XXX-7dfc-461b-8428-5593067df953","PROVISIONOUTPUT__AZURESTORAGETABOUTPUT__DOMAIN":"localhost:53000","PROVISIONOUTPUT__AZURESTORAGETABOUTPUT__ENDPOINT":"https://localhost:53000","PROVISIONOUTPUT__AZURESTORAGETABOUTPUT__INDEXPATH":"/index.html#","AAD_APP_ACCESS_AS_USER_PERMISSION_ID":"XXX-c461-46a4-958f-975d93b9e7e4"} Summary: |
I manually dropped down to 1.14, this is just informational. Microsoft should be able to read the manifest via JSON format and detect this problem to fix it automatically. |
Thanks @manbuettner @wrharper-AASP . We validate the manifest with its schema. This validation error usually happens when manifest version doesn't match version defined in schema. E.g. Below can work:
or
But this one doesn't work:
I'm not if it is your case. Please let me know if I understood it. @wrharper-AASP , you said this is informational. Do you mean that you expect Teams Toolkit to automatically update "manifestVersion" to make it compatible with schema, instead of throwing errors? Thanks. |
Thank you very much! i not check the line above after update from 4x to 5x |
yes somehow this happened: |
Thanks @wrharper-AASP , then it should be a bug of upgrading. Let me check, thanks for reporting! |
Describe the bug
I have already fixed this by downgrading my manifest version, this is more of an informational bug report.
To Reproduce
Steps to reproduce the behavior:
Just upgraded my project to the latest version via: https://github.com/OfficeDev/TeamsFx/wiki/Upgrade-project-to-use-Teams-Toolkit-5.0-features and look at the manifest.json file.
Expected behavior
Version change should automatically fix itself?
In my version before this upgrade, I was using 1.16, but it looks like it is forcing a downgrade on the manifest back to 1.14:
Screenshots
I guess the real question at the end of the day is, why is Microsoft still using 1.14 when the 1.16 manifest is out? Upgrade to TeamsFx, but downgrade to manifest.
The text was updated successfully, but these errors were encountered: