Skip to main content

Notifications

Announcements

No record found.

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?

  • RichHims Profile Picture
    RichHims 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.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans