WCF RIA Services build error

Posted by soren.enemaerke on Stack Overflow See other posts from Stack Overflow or by soren.enemaerke
Published on 2010-04-15T11:56:53Z Indexed on 2010/04/17 2:33 UTC
Read the original article Hit count: 704

Hi

I'm getting a strange error when building my WCF RIA Services Silverlight project in VS2008. In the output I have this message:

C:\Program Files\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(261,5): error : Failed to write the generated contents of 'C:\projects\[Path_To_Silverlight_Project]\Generated_Code\Analytics.Web.g.cs' to Visual Studio.

...and Visual Studio opens a dialog while building with the following:

An editor or project is attempting to save a file that is modified in memory. Saving files during a build is dangerous and may result in incorrect build outputs in the future. Continue with save?

The other members on my team seems to be doing just fine, but I can't get past this point (I can if I click 'Continue' which then generate the file just fine but I'm reluclant to do so). There must be some setup or similar that I'm missing here...

PS: I'm currently on WinXP and WCF RIA Service beta

© Stack Overflow or respective owner

Related posts about wcf-ria-services

Related posts about build