I just installed Visual Studio 2015 Professional, and it installed correctly. But starting to work on a Silverlight project, I had a problem with the RIA Services proxy project in my solution (the silverlight project that references the RIA servies server project). The project builds and runs successfully, but it shows 'cannot find reference' errors everywhere I reference classes from my server project, like it doesn't recognize the generated file .g.cs, so I can't work on my RIA Services classes on the client. Anyone had this problem too ??
5
votes
It happened in the past and might be fixed by removing the old reference from this project and add it back after that.
– Lex Li
I tried this but didn't work too
– h_djebli
A temporary "fix" for me was to click the "show all files", navigate to the .g.cs and click refresh for that file. Works until the next clean. Impractical in many solutions though.
– vpi
2 Answers
1
votes
Yes, have the same problem. I filed a bug with repro at Microsoft's Connect site: types in referenced RIA silverlight projects are not recognized in VS 2015