Tip #65 | AppSourceCop & mandatoryPrefix

Today I was a bit puzzled by getting this error message and how to fix it.

error AS0054: The AppSourceCop configuration must specify one of the following properties: 'mandatorySuffix', 'mandatoryPrefix', or 'mandatoryAffixes'

Yes, you can google the message but that only brings you to pages that describe the message, not how to fix it.

It appears to be easy so I wanted to spare others the time.

3 Comments

  1. GrumpyNAVdev says:

    We also have a company prefix but are considering expanding it with an app prefix as well. Otherwise we fear we might create identical field names in two table extensions in two apps. We would not notice the conflict until one of our customers wish to add both apps to their solution.

    We often have multiple apps open in our VS Code workspace. This conflicts with the prefix setting per workspace.

    Any hints on how to handle this?

    Like

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.