Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch and WP7 projects
davidhanson90
#1 Posted : Thursday, June 14, 2012 7:40:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/14/2012(UTC)
Posts: 1
Location: UK

Hi,

I have a multi targeted app using .net 4 and WP7 via project linker. Anyways, when nrunch builds I get the following error which fails on most of the WP7 projects. Can you shed some light on how I go about fixing this.


[08:39:32.2206-BuildTask-10] ERROR (Internal): System.InvalidOperationException: Cannot modify an evaluated object originating in an imported file "C:\Program Files (x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Silverlight.WindowsPhone71.Overrides.targets".

Server stack trace:
at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args)
at Microsoft.Build.Shared.ErrorUtilities.VerifyThrowInvalidOperation(Boolean condition, String resourceName, Object arg0)
at Microsoft.Build.Evaluation.Project.VerifyThrowInvalidOperationNotImported(ProjectRootElement otherXml)
at Microsoft.Build.Evaluation.Project.RemoveItemHelper(ProjectItem item)
at Microsoft.Build.Evaluation.Project.RemoveItem(ProjectItem item)
at nCrunch.VSIntegration2010.MSBuildIntegration.BuildableProject.RemoveItems(String itemName)
at nCrunch.Compiler.RemoteBuildRunner.Build(ComponentBuildParameters parameters)
Remco
#2 Posted : Thursday, June 14, 2012 8:09:03 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 961 times
Was thanked: 1291 time(s) in 1197 post(s)
Hi David -

Sorry, but Windows Phone 7 applications aren't currently supported by NCrunch. The upcoming 1.40b release will introduce support for building them, although support for Silverlight testing frameworks is still a way out.


Cheers,

Remco
Remco
#3 Posted : Tuesday, June 19, 2012 4:30:01 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 961 times
Was thanked: 1291 time(s) in 1197 post(s)
For anyone interested, 1.40b has just been released with build support for Windows Phone 7 applications. At the moment, NCrunch doesn't yet execute tests using the Silverlight/WP7 frameworks, although it is theoretically possible to still use some WP7 class libraries as part of a non-Silverlight test environment, as long as the test project itself is not built for Silverlight and uses traditional test runner attributes.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.031 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download