web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Removing models created by 2012 > D365 code upgrade

(0) ShareShare
ReportReport
Posted on by 70

Having resolved my confusion with model management & mapping of LCS upgrade projects, I believe the code has been appropriately refactored to extensions in a single Visual Studio project & model, so I'm trying to remove the overlaying created by the code upgrade tool.  Currently, Visual Studio is giving me 7 errors that feel like they're related to these unwanted models:

  1. The model 'Application Suite.USR Model' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  2. The model 'Application Suite.VAR Model' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  3. The model 'Application Suite.WarningRemoval' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  4. The model 'Electronic Reporting Application Suite Integration' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  5. The model 'Foundation' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  6. The model 'SCMControls' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.
  7. The model 'Tax Engine Application Suite Integration' belongs to the package 'ApplicationSuite' that is blocked from customization.  You cannot have more than one model in this package.

Whilst the last four of these seven are, I believe, standard models within the ApplicationSuite package, I'm happy that the first three need removing. I've seen discussions reinforcing my belief that I need to delete the "sub models" created by the LCS code upgrade on another forum thread, and I've been doing this by deleting the overlayed object definitions within Visual Studio & using the Dynamics 365 Build models menu item to build the relevant models.  Even after that, I'm still seeing some subfolders that I'm pretty confident shouldn't be necessary in AosService/PackagesLocalDirectory/ApplicationSuite: I've got (1) ApplicationSuite.USR Model, (2) ApplicationSuite.VAR Model and (3) ApplicationSuite.WarningRemoval as models that I know existed in 2012 but I would have said I'd "removed" by deleting all child objects in either the UpgradeSolution or CodeMergeSolution VS projects that were created by the LCS code upgrade.  I did try stopping the batch, DIXF & W3WP service & deleting these three folders before building the ApplicationSuite model in Visual Studio, but the folders return at this point.  Can anyone please advise what else I should be refreshing to get rid of these models?

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    236,570 Most Valuable Professional on at
    RE: Removing models created by 2012 > D365 code upgrade

    Removing objects from a model isn't the same thing as removing the model.

    Delete model folders (e.g. ApplicationSuite.USR Model) and their descriptor files (inside Application Suite\Descriptor folder) and rebuild the application.

  • RichHims Profile Picture
    70 on at
    RE: Removing models created by 2012 > D365 code upgrade

    Thanks Martin: I was about two thirds of the way there having deleted the model folders, but hadn't got to the Descriptor folder, not realising the models would have a footprint outside of their own folders.  That's got the Application Suite package building, so hopefully I'm now on to checking my refactoring.

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 839

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 839

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 228 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans