Hi,
I am running VS as admin and I am logged in as the admin. This is a dev machine running Update 3. When I try to generate a Deployment package I get the error "it can be possible that some of your project /process opened in vs is locking the file, please try close all vs instance and restart a new one to generate the package again.". See below. I have restarted the computer, I am the only person logged in and I am running VS as an admin. Any help is appreciated.
Finished creation of nuspec file C:\Users\michael.morin\AppData\Local\Temp\VPEDIAX7\dynamicsax-vpediax7.nuspec'
Copying script file from J:\AosService\PackagesLocalDirectory\bin\InstallPackage.ps1 to C:\Users\michael.morin\AppData\Local\Temp\VPEDIAX7\tools\InstallPackage.ps1
Copying script file from J:\AosService\PackagesLocalDirectory\bin\UninstallPackage.ps1 to C:\Users\michael.morin\AppData\Local\Temp\VPEDIAX7\tools\UninstallPackage.ps1
Copying script file from J:\AosService\PackagesLocalDirectory\bin\dynamicspackagemanagement.psm1 to C:\Users\michael.morin\AppData\Local\Temp\VPEDIAX7\tools\dynamicspackagemanagement.psm1
Preparing package files J:\AosService\PackagesLocalDirectory\VPEDIAX7, VPEDIAX7, C:\Critical\Package\dhviewq2.txa, C:\DynamicsTools\7za.exe, dynamicsax-vpediax7
Zip command: C:\DynamicsTools\7za.exe a -r -y -mx3 -ir!$tf -ir!AdditionalFiles -ir!bin -ir!DYN365O Entity AOS Code -ir!WebContent -i!*.config -i!filelocations.xml -x!*.delete "C:\Critical\Package\dhviewq2.txa\files\dynamicsax-vpediax7.7.0.4307.16141.zip" at package directory: J:\AosService\PackagesLocalDirectory\VPEDIAX7
Zip command: C:\DynamicsTools\7za.exe a -r -y -mx3 -ir!$tf -ir!AdditionalFiles -ir!bin -ir!DYN365O Entity AOS Code -ir!WebContent -i!*.config -i!filelocations.xml -x!*.delete "C:\Critical\Package\dhviewq2.txa\files\dynamicsax-vpediax7.7.0.4307.16141.zip" at package directory: J:\AosService\PackagesLocalDirectory\VPEDIAX7 failed. Retry once more.
Zip command: C:\DynamicsTools\7za.exe a -r -y -mx3 -ir!$tf -ir!AdditionalFiles -ir!bin -ir!DYN365O Entity AOS Code -ir!WebContent -i!*.config -i!filelocations.xml -x!*.delete "C:\Critical\Package\dhviewq2.txa\files\dynamicsax-vpediax7.7.0.4307.16141.zip" exit unexpected on exception. Retry once more. Zip command: C:\DynamicsTools\7za.exe a -r -y -mx3 -ir!$tf -ir!AdditionalFiles -ir!bin -ir!DYN365O Entity AOS Code -ir!WebContent -i!*.config -i!filelocations.xml -x!*.delete "C:\Critical\Package\dhviewq2.txa\files\dynamicsax-vpediax7.7.0.4307.16141.zip" at package directory: J:\AosService\PackagesLocalDirectory\VPEDIAX7 failed after retry on error log. , it can be possible that some of your project /process opened in vs is locking the file, please try close all vs instance and restart a new one to generate the package again.
Cleaning up directory C:\Users\michael.morin\AppData\Local\Temp\VPEDIAX7
Package creation failed.
J:\AosService\PackagesLocalDirectory\bin\RunPackageCreationAll.ps1 : Zip command: C:\DynamicsTools\7za.exe a -r -y
Error occurred.