Have you installed the Silverlight 5 Tools on your dev PC?  It *overwrites*
RIA Services SP1 with the preview of SP2, as per this blog post:
http://jeffhandley.com/archive/2011/04/13/MIX11Releases.aspx.  I'm guessing
your dev machine is therefore targeting SP2.  Of course, the SP2 preview
doesn't have a go-live license (and the installer doesn't give you an option
to not install it).  So my assumption is that any dev PC that's using RIA
Services *should not* install the Silverlight 5 Tools.  I haven't seen this
mentioned anywhere as an issue, but assuming I'm not missing anything this
is a massive oversight, and devs should be warned (or better yet, the SP2
preview stuff should be installed elsewhere).

Chris


On 23 May 2011 19:31, Stephen Price <[email protected]> wrote:

> Hi all,
>
> I decided to have another quick look at getting my build server (TFS)
> to build a solution.
>
> Vanilla solution created today, pointed the server at it and got some
> errors. Frustrating.
>
> I looked at what was missing and tried to identify why it was failing.
> Discovered that the RIA services files on the server (RIA Services
> SP1) were different versions to the one on my machine. I copied the
> latest RIA Services install msi (redownloaded it to be sure) and ran
> it on the server. It asked if it wanted to do a repair (already
> installed) so I told it yes. The files remained the same.
> So I copied the whole folder of dll's from my machine to the server
> and rebuilt. Those errors then went away and left me with 4 new ones.
>
> obj\Debug\Views\Login\LoginForm.g.cs(12,13): error CS0234: The type or
> namespace name 'Controls' does not exist in the namespace 'Admin' (are
> you missing an assembly reference?) [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\RegistrationForm.g.cs(12,13): error CS0234: The
> type or namespace name 'Controls' does not exist in the namespace
> 'Admin' (are you missing an assembly reference?)
> [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\LoginForm.g.cs(39,24): error CS0234: The type or
> namespace name 'Controls' does not exist in the namespace 'Admin' (are
> you missing an assembly reference?) [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
> obj\Debug\Views\Login\RegistrationForm.g.cs(39,24): error CS0234: The
> type or namespace name 'Controls' does not exist in the namespace
> 'Admin' (are you missing an assembly reference?)
> [C:\Builds\1\NRW\Plutus
> Autobuild\Sources\PersonnelAdmin\PersonnelAdmin.csproj]
>
> Nothing special here, these files are from the template project.
>
> I checked the versions on the silverlight dll's found in:
>
> C:\Program Files (x86)\Microsoft
> SDKs\Silverlight\v4.0\Libraries\Client picking the
> System.Windows.Controls.dll = version 4.0.60310.0
> checked my machine and found it's version 4.0.50826.0
>
> I guess there was a minor release somewhere along the line between the
> two installs. How do people manage this? Hopefully once I track down
> the latest Silverlight install and reinstall, it will fix the issue.
> It's probably only happening due to the code being generated by RIA
> Services... normally you'd not notice.
>
> cheers,
> Stephen
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to