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 NCrunch Developer
#2174
14 Jun 2012 08:09 UTC
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
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 NCrunch Developer
#2188
19 Jun 2012 04:30 UTC
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.
Post a reply
Log in to reply.