Asked by:
App deployment crash under RTM

Question
-
Every time I deploy a "Modern" app VS crashes with this exception:
at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.NativeMethods.HeapFree(IntPtr hHeap, UInt32 dwFlags, IntPtr lpMem)
at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.NativeMethods.FwSidAndAttributesFree(UInt32 numPublicAppCs, IntPtr appContainerSidsAndAttributes)
at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.FirewallShim.SetNetworkLoopback(String familyName, NetworkLoopbackState desiredNnetworkLoopbackState)
at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.LocalDeployJob.SetNetworkLoopback(String familyName, NetworkLoopbackState desiredNetworkLoopbackState)
at Microsoft.VisualStudio.ImmersiveProjectServices.Shared.RegisterAppxLayout.Start(Boolean forceNewLayout, Boolean forceRegistration, NetworkLoopbackState desiredNetworkLoopbackState, Boolean refreshLayoutOnly, String& packageMoniker, String& firstUserAppID, Exception& deployException)
at Microsoft.VisualStudio.ImmersiveProjectServices.IdeDeployJob.Start()
at Microsoft.VisualStudio.ImmersiveProjectServices.ImmersiveProjectDeploy.RunDeploy(Object context)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object obj)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)- Moved by Matt SmallMicrosoft employee, Moderator Thursday, August 23, 2012 1:41 PM Problem with VS (From:Building Metro style apps with C# or VB )
Tuesday, August 21, 2012 10:07 PM
All replies
-
Does the project build or not?
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.Wednesday, August 22, 2012 6:14 PMModerator -
Yep.
I created a default metro app. It builds without errors but crashes on deployment (e.g. Selecting the deploy menu item).
- Edited by ray440 Wednesday, August 22, 2012 7:46 PM
Wednesday, August 22, 2012 7:45 PM -
Since this isn't a code issue, I'm moving to the tools forum for better assistance.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.Thursday, August 23, 2012 1:41 PMModerator