最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Detected 50000 add(s) in Excluded Changes in Pending Changes

网络文摘 William 233浏览 0评论

Purpose:

The purpose of this post is to share how can we resolve this issue in Visual Studio.

Application:

Dynamics 365 Finance and Operations

Background:

After applying Microsoft service update to a DEV environment, I observed that in Pending Changes window, Visual Studio detected 50000 adds sitting in the Excluded Changes tab. Interestingly all of these changes were related to standard models and therefore guessed this could be caused by the service update.

Solution:

After doing some research, I found that we can resolve this issue by adding a .tfignore file to the root of the metadata folder (e.g. K:\AosService\PackagesLocalDirectory). This is a how a .tfignore file looks like. The file below is for version 10.0.27. For future releases, we’ll need to update this file if there are new models added by Microsoft. The file lists those files and folders that must be excluded from version control by Visual Studio. Please note comments are preceded by # character in this file.
###############################################################################
# .tfignore for Dynamics 365 Finance and Operations apps - v10.0.27
#
###############################################################################

# Exclude not source control related folders
# Example format for a source controled metatadata folder. Set up per model.
# \Model\bin
# \Model\Reports
# \Model\Resources
# \Model\WebContent
# \Model\XppMetadata

#Exclude specific files
BPCheck.xml
BuildModelResult.xml
BuildModelResult.err.xml
BuildProjectResult.xml
BuildProjectResult.err.xml
CompileLabels.xml
DBSynchronization.xml
*.partial

#Exclude specific folders
\Delta
\GeneratedXppSource

#Exlude all system package folders
\AccountsPayableMobile
\ApplicationCommon
\ApplicationFoundation
\ApplicationFoundationFormAdaptor
\ApplicationPlatform
\ApplicationPlatformFormAdaptor
\ApplicationSuite
\ApplicationSuiteFormAdaptor
\ApplicationWorkspaces
\ApplicationWorkspacesFormAdaptor
\AppTroubleshooting
\AppTroubleshootingCore
\ATLApplicationSuite
\AtlCoreFinancial
\AtlCostAccounting
\AtlFoundation
\AtlMaterialHandling
\AtlPersonnel
\AtlSampleTests
\BankTypes
\bin
\BusinessProcess
\Calendar
\CaseManagement
\CDSVirtualEntity
\CommunityDrivenEngineeringTests
\ContactPerson
\CostAccounting
\CostAccountingAX
\CostAccountingService
\CreditManagement
\Currency
\CustomFields
\DataExpansionTool
\DataFeeds
\DataImpExpApplication
\DataSharing
\DataStack
\DataUpgrade
\DataUpgradePlatform
\demodatasuite
\DemoDataWellKnownValues
\Dimensions
\Directory
\DirectoryUpgrade
\DOM
\ElectronicReporting
\ElectronicReportingAppSuiteIntegration
\ElectronicReportingBusinessDoc
\ElectronicReportingCore
\ElectronicReportingDotNetUtils
\ElectronicReportingForAx
\ElectronicReportingForRetail
\ElectronicReportingMapping
\EnterpriseAssetManagementAppSuite
\EnterpriseAssetManagementIot
\EnterpriseAssetManagementMobile
\ExpenseManagement
\ExpenseMobile
\FinanceInsightsContracts
\FinancialReporting
\FinancialReportingAdaptors
\FinancialReportingEntityStore
\FiscalBooks
\FiscalBooksFormAdaptor
\FleetManagement
\FleetManagementExtension
\FleetManagementUnitTests
\GeneralLedger
\GeneralLedgerFormAdaptor
\InstallationRecords
\InventoryDimensionConversion
\IoTIntelligenceCore
\IoTIntelligenceManufacturing
\Ledger
\MasterPlanningService
\MaterialHandlingEquipmentInterface
\Measurement
\MixedRealityCore
\PaymentPredictor
\Personnel
\PersonnelCore
\PersonnelManagement
\PersonnelMobile
\PersonnelUpgrade
\Plugins
\Policy
\ProcessAutomation
\ProcessGuide
\Project
\ProjectMobile
\ProjectOperations
\PublicSector
\PublicSectorFormAdaptor
\RegulatoryServices
\Retail
\RetailEod
\RetailFormAdaptor
\RevenueRecognition
\SCMInsights
\SCMMobile
\SelfHealing
\SelfHealingRules
\SourceDocumentation
\SourceDocumentationTypes
\StaticMetadata
\Subledger
\SystemHealth
\Tax
\TaxEngine
\TestEssentials
\TimesheetMobile
\Tutorial
\UnitOfMeasure
\WHSAppTaskValidator
\WMSAdvancedMigration

#10.0.13
\ElectronicReportingInternal
\EngineeringChangeManagement
\MixedRealityManufacturing

#10.0.14
\AssetLeasing
\InboundTransportationManagement
\Kitting
\ManufacturingExecutionInterface

#10.0.15
\ManufacturingExecution
\ManufacturingExecutionBackoffice
\MessageProcessor
\MetadataExport
\RebatesAndDeductions
\ScaleUnitManagement
\WarehouseExecutionWorkload
\WarehouseExecutionWorkloadBackoffice
\WarehousePlanning
\WorkloadCommon

#10.0.17
\EntAssetManufacturingExecution
\EntAssetManufacturingExecutionBackoffice
\EntAssetManufacturingExecutionInterface
\RetailTeamsIntegration

#10.0.18
\DataMaintenance
\DataMaintenanceTypes

#10.0.21
\FinancialDimensionService

#10.0.22
\ManufacturingExecutionCommon
\ManufacturingExecutionThirdParty
\OperationalInsights

#10.0.24
\GlobalUnifiedPricing
\ScaleUnitDatapipeline

#10.0.25
\HRPlatform
\PersonnelBusinessProcess
\SubscriptionBilling

#10.0.26
\BenefitsManagement
\Leave

#10.0.27
\Recruitment

References:

https://github.com/jspijkerboer/D365FO-tfignore https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/456243/detected-50000-add-s-in-excluded-changes-in-pending-changes
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址