This is what worked for me (copied from a different thread).
Ok, this was the fix:
Just set the configuration of the build definition and set
the "MSBuild Patform" parameter to "X86" (it was "Auto" before). I think it
forces the execution of the x86 version of MSBuild.exe (not confirmed) and
therefore the same effect is achieved (than running the build in an x86
machine).
[image: a.jpg]
So just changing the MSBuild Platform did the trick.
I also raised this issue on
connect<https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=523367>,
but Microsoft closed it saying that we should just change the configuration
manually.
Miguel A. Madero Reyes
www.miguelmadero.com (blog)
[email protected]
On Thu, Apr 21, 2011 at 6:42 PM, Stephen Price <[email protected]>wrote:
> Hey all,
>
> Ok, I'm on to the next hurdle I think... I've copied some of the
> missing folders from msbuild folder onto the build/tfs server, and
> installed Silverlight SDK and Toolkit. Its fixed a bunch of issues
> with Silverlight files not being found.
> I'm still having issues with RIA services generated code not being
> built. I'm not sure if its related to the build order or not. Building
> the projects from commandline with msbuild gives the same errors but
> it works fine on my dev machine.
>
> xxx.cs(16,22): error CS1061: 'xxx' does not contain a definition for
> 'RaisePropertyChanged' and no extension method 'RaisePropertyChanged'
> accepting a first argument of type 'xxx' could be found (are you
> missing a using directive or an assembly reference?)
>
> I tried adding that two of the projects manually to the build
> definition, having them build before the solution. That gave me the
> warning:
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets
> (484): The OutputPath property is not set for project 'xxx.csproj'.
> Please check to make sure that you have specified a valid combination
> of Configuration and Platform for this project. Configuration='Debug'
> Platform='Any CPU'. You may be seeing this message because you are
> trying to build a project without a solution file, and have specified
> a non-default Configuration or Platform that doesn't exist for this
> project.
>
> so I changed it to build it as x86 and those two projects built, but
> the main solution skipped all of the projects in it.
>
> I'm wondering if I'm supposed to created a solution file that builds
> everything as x86 for it to work on TFS or is there something else I
> can do to get this stubborn mule building? Anyone actually done this
> before? I'm not really asking for much. I just want TFS to build my
> Silverlight app. :(
>
> frustrating!
> cheers,
> Stephen
> p.s. Have a great easter break :)
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
<<a.jpg>>
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
