You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WebToolsE2E][Aspire] Deployment of eShop failed with error: error MSB4166: System.ArgumentNullException: Value cannot be null. (Parameter 'value')
#517
Open
v-sherryfan opened this issue
Aug 28, 2024
· 2 comments
INSTALL STEPS
REPRO STEPS
main
branch [Aspire 8.1.0]azd init
, select 'Use code in the current directory' > Confirm and continue initializing my app, type a new environment name, press enter.azd up
to deploy to AzureACTUAL:
Deploying services (azd deploy)
(x) Failed: Deploying service basket-api
ERROR: error executing step command 'deploy --all': failed deploying service 'basket-api': publishing container: dotnet publish on project 'C:\Users\V-SHER~1\eShop\src\Basket.API\Basket.API.csproj' failed: exit code: 1, stdout: , stderr: MSBUILD : error MSB4166: Child node "2" exited prematurely. Shutting down. Diagnostic information may be found in files in "C:\Users\v-sherryfan\AppData\Local\Temp\MSBuildTemp" and will be named MSBuild_*.failure.txt. This location can be changed by setting the MSBUILDDEBUGPATH environment variable to a different directory.
MSBUILD : error MSB4166: C:\Users\v-sherryfan\AppData\Local\Temp\MSBuildTemp\MSBuild_pid-11844_071c8d00615f4e6ea440c7344c35ef68.failure.txt:
MSBUILD : error MSB4166: UNHANDLED EXCEPTIONS FROM PROCESS 11844:
MSBUILD : error MSB4166: =====================
MSBUILD : error MSB4166: 8/28/2024 9:48:50 AM
MSBUILD : error MSB4166: System.ArgumentNullException: Value cannot be null. (Parameter 'value')
MSBUILD : error MSB4166: at System.ArgumentNullException.Throw(String paramName)
MSBUILD : error MSB4166: at System.IO.BinaryWriter.Write(String value)
MSBUILD : error MSB4166: at Microsoft.Build.Framework.TelemetryEventArgs.WriteToStream(BinaryWriter writer)
MSBUILD : error MSB4166: at Microsoft.Build.Shared.LogMessagePacketBase.WriteToStream(ITranslator translator)
MSBUILD : error MSB4166: at Microsoft.Build.Shared.LogMessagePacketBase.Translate(ITranslator translator)
MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.NodeEndpointOutOfProcBase.RunReadLoop(Stream localReadPipe, Stream localWritePipe, ConcurrentQueue`1 localPacketQueue, AutoResetEvent localPacketAvailable, AutoResetEvent localTerminatePacketPump)
MSBUILD : error MSB4166: ===================
MSBUILD : error MSB4166:
MSBUILD : error MSB4166:
Build failed. Properties, Items, and Target results cannot be obtained. See details in stderr above.
Note
EXPECTED
Can be published successfully.
The text was updated successfully, but these errors were encountered: