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:
Hi Mounir,
[quote user="MounirDev"]also i moved all objects from this model to a new one, so i need to delete the old model since its useless.[/quote]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...
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.
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?
okay, but can you tell me why i am getting this message when i try to delete a model?
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.
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"
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.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156