After having successfully followed tutorials and created a Model with a CustTable extension, tested in the browser, we would now like to create a deployment package. We are using the VM recently downloaded from LCS and our custom model has been built successfully with a database synchronization. However when attempting to create a deployment package at the end of the process it always leaves us with an empty Package File Location.

Things we have tried:
- Remove hyphens, spaces and the emoticon (joke) from the project name.
- Change the Package File Location from a user directory to "C:\Temp\Packages"
- Restart SQL Server (sql server process memory has been paged out... messages, but no errors).
- Restart the VM and increased VM RAM slightly to 5GB.
Notes:
- We have renamed the machine, as per MS instructions to be able to use DevOps...
- Presumably DevOps doen't affect the Packaging, but it's nothing to do with the xxx.visualstudio.com / dev.azure.com/xxx funkiness?
- Mappings appear to be correct (Docs)... We had had missed adding the descriptor file to the repo. Again, pobably not the problem.
Any suggestions, please? Thanks! Ian
Event Log viewer only shows the following Information from ASP.NET 4.0.30319.0:
Event code: 1002
Event message: Application is shutting down. Reason: Hosting environment is shutting down.
Event time: 5/26/2021 6:48:20 AM
Event time (UTC): 5/26/2021 1:48:20 PM
Event ID: 4613fe689a4e4db5a31e845673357cbd
Event sequence: 6
Event occurrence: 1
Event detail code: 50002
Application information:
Application domain: /LM/W3SVC/2/ROOT-1-132665098680211399
Trust level: Full
Application Virtual Path: /
Application Path: C:\AOSService\webroot\
Machine name: S2G-ISCHOFIELD-
Process information:
Process ID: 6556
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Dynamics 365 Create Package Trace:
Building models...
Build of models succeeded
Creating package...
Starting creation of x++ package 'S2GFOPractice'
Importing metadata assemblies
Getting x++ dependencies
Getting dependencies for package 'S2GFOPractice' with type 'run'
Creating nuspec for package 'S2GFOPractice' with package id 'dynamicsax-s2gfopractice' at directory 'C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice'
Placing nuspec file at: C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\dynamicsax-s2gfopractice.nuspec
Set requireLicenseAcceptance 'false'
Set description 'The package of dynamicsax-s2gfopractice.'
Set summary 'S2GFOPractice'
Set title 'Dynamics 365 Unified Operations: dynamicsax-s2gfopractice package'
Set tags 'admin CompatibleWithSealedRelease CompatibleWithApp81PlusRelease'
Set copyright '2015 Microsoft Corporation'
Setting dependencies 'System.String[] System.String[] System.String[] System.String[]' for package 'S2GFOPractice'
Found dependency dynamicsax-applicationfoundation
Added depdendency 'dynamicsax-applicationfoundation'
Found dependency dynamicsax-applicationplatform
Added depdendency 'dynamicsax-applicationplatform'
Found dependency dynamicsax-applicationsuite
Added depdendency 'dynamicsax-applicationsuite'
Found dependency dynamicsax-framework-staticmetadata
Added depdendency 'dynamicsax-framework-staticmetadata '
Finished creation of nuspec file C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\dynamicsax-s2gfopractice.nuspec'
Copying script file from C:\AOSService\PackagesLocalDirectory\Bin\InstallPackage.ps1 to C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\tools\InstallPackage.ps1
Copying script file from C:\AOSService\PackagesLocalDirectory\Bin\UninstallPackage.ps1 to C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\tools\UninstallPackage.ps1
Copying script file from C:\AOSService\PackagesLocalDirectory\Bin\dynamicspackagemanagement.psm1 to C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\tools\dynamicspackagemanagement.psm1
Preparing package files C:\AOSService\PackagesLocalDirectory\S2GFOPractice, S2GFOPractice, C:\Temp\Packages\szbwqiko.rsq, C:\DynamicsTools\7za.exe, dynamicsax-s2gfopractice
Zip command: C:\DynamicsTools\7za.exe a -r -y -mx3 -ir!AdditionalFiles -ir!bin -i!*.config -i!filelocations.xml -i!*.xref -x!*.delete "C:\Temp\Packages\szbwqiko.rsq\files\dynamicsax-s2gfopractice.7.0.5934.35741.zip" at package directory: C:\AOSService\PackagesLocalDirectory\S2GFOPractice
Finished prepare package files
Switching to directory 'C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice'
Calling:& C:\DynamicsTools\nuget.exe -ArgumentList pack dynamicsax-s2gfopractice.nuspec -NoPackageAnalysis -NoNewWindow -Wait
Attempting to build package from 'dynamicsax-s2gfopractice.nuspec'.
Successfully created package 'C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\dynamicsax-s2gfopractice.7.0.5934.35741.nupkg'.
Packaging C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice\dynamicsax-s2gfopractice.7.0.5934.35741.nupkg elapsed time: 11949.5148 ms
Cleaning up directory C:\Users\Administrator\AppData\Local\Temp\S2GFOPractice
Package created.
5/26/2021 6:48:45 AM