Hello everyone, i am trying to import model from a dev env to my local VM, but when i finish import using CMD , i refreshed models in visual studio. when i do full build for the models imported, i get 10 errors.
Here are the errors i am getting:
Hello Mounir,
When you check the second to the last error, object Ex_Dimension is present in 2 différents models.
Check for it in the AOT explorer and delete it from one Model and rebuild.
If i try to delete the model that has this object using cmd, im getting error saying "this app cant run on this pc,to find a version for your pc, check with the software publisher.
and thats the command that i am executing:
C:\AOSService\PackagesLocalDirectory\bin>ModelUtil.exe -delete -metadatastorepath="C:\AOSService\PackagesLocalDirectory" -modelname="Ex_Deleterecord"
I never said you should delete the model. Please, delete the object from One of the models.
You can do this from the model folder in PackageLocalDirectory.
okay, but can you tell me why i am getting this message when i try to delete a model?
Run the program as administrator.
But, do you think deleting the model is the best way? Aren't there other objects in the model you want to delete?
Hello sir,
I am running CMD as admin, but still getting same error message.
also i moved all objects from this model to a new one, so i need to delete the old model since its useless.
Hi Mounir,
That's is to say the original issue(error from Visual studio) had been resolved.
If using ModelUtil.exe is still giving you an issue, please delete the model folder by...
learn.microsoft.com/.../models
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 776 Most Valuable Professional
André Arnaud de Cal... 606 Super User 2025 Season 2
Sohaib Cheema 402 User Group Leader