views:

127

answers:

2

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

A: 

Did you ever figure this out? Been googling it for hours with not luck.

Jonathan
Nope, didn't resolve it. Currently getting by with clicking 'Continue' and hoping the my upcoming reset and move to Win7 will fix it :) sorry...
soren.enemaerke
A: 

I'm getting this and I upgraded a Silverlight 3 to Silverlight 4 project also using RIA (Prism 2.2) in VS2010. Have you seen a fix for this. I am also reluctant to hit continue. I don't want it screwing up my TFS commits.

zburns
No, still no fix. Meanwhile I've upgraded to Win7 and no longer see this issue so I guess this will remain an unsolved issue
soren.enemaerke