[.01] VS2012 - Canceling process MSBuild.exe

Listing issues addressed in beta version 4.03
Locked
fstroll

[.01] VS2012 - Canceling process MSBuild.exe

Post by fstroll » Fri Jun 21, 2013 11:27 am

I expirienced 2 Problems in Version 4.02, now i downgraded to 3.7.6 and it works again:

1. MSbuild (Visual Studio 2012's Platform toolset v110_xp) does not work any more inside a sandbox. It can't connect to a subprocess. Sandboxie displays an error message that ImpersonateNamedPipe is not implemented.
2. Sandboxed Programs can't catch the mouse cursor properly any more. This prevents some games from working.

I am using Windows 7 64bit

lopezimg
Posts: 3
Joined: Mon Jun 24, 2013 3:10 pm

[4.02][64 bit] Problem with MSBuild.exe in VisualStudio 2012

Post by lopezimg » Mon Jun 24, 2013 3:18 pm

Hello guys!

I have a problem with a new version of Sandboxie. Whenever I try to build any project ( C#, C++, VB ) in Visual studio 2012 it gives mi a following error:

Code: Select all

Error	1	The build stopped unexpectedly because of an internal failure.
Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.
   at Microsoft.Build.BackEnd.NodeProviderOutOfProc.CreateNode(Int32 nodeId, INodePacketFactory factory, NodeConfiguration configuration)
   at Microsoft.Build.BackEnd.NodeManager.AttemptCreateNode(INodeProvider nodeProvider, NodeConfiguration nodeConfiguration)
   at Microsoft.Build.BackEnd.NodeManager.CreateNode(NodeConfiguration configuration, NodeAffinity nodeAffinity)
   at Microsoft.Build.Execution.BuildManager.PerformSchedulingActions(IEnumerable`1 responses)
   at Microsoft.Build.Execution.BuildManager.HandleNewRequest(Int32 node, BuildRequestBlocker blocker)
   at Microsoft.Build.Execution.BuildManager.IssueRequestToScheduler(BuildSubmission submission, Boolean allowMainThreadBuild, BuildRequestBlocker blocker)	C:\Users\Lucas\Documents\Visual Studio 2012\Projects\WpfApplication1\WpfApplication1\WpfApplication1.csproj	WpfApplication1
I don't want to rollback to an older version of sandboxie just bacause I've noticed that the form designer in Visual studio 2012 is finally working.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 5:57 pm

Post by tzuk » Tue Jun 25, 2013 10:54 am

In Version 4.03.01:

- Should fix the error with canceling MSBuild.exe.

- ImpersonateNamedPipe still issues a warning message, because the implementation is not correct but is good enough for MSBuild and probably most other cases. You can HIDE the message if it annoys you, but I want to keep it there so it can give a hint in case something else doesn't work because of it.

- Regarding mouse capture issues, perhaps an OpenWinClass=* setting will fix that. See also:

http://www.sandboxie.com/phpbb/viewtopic.php?t=15837
tzuk

Locked

Who is online

Users browsing this forum: No registered users and 1 guest