View previous topic :: View next topic |
Author |
Message |
bvillersjr
Joined: 04 Jan 2010 Posts: 15
|
Posted: Sat May 01, 2010 12:33 pm Post subject: .Net Framework 4 & VS2010 |
|
|
Hello,
After bringing my solution into VS2010 and changing it to target .Net Framework 4, I get the following error on the line:
<Window x:Class="MainWindow" Language="{UICulture}"
Error 26 The type 'UICulture' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\Shared\Commander\Commander2\MainWindow.xaml 1 40 Commander2
Has something changed with the way that UICulture is handled in Framework 4 that I haven't found documentation on yet? Or is there a Globalizer version for Framework 4?
Strangely, the app compiles and runs, but has this error in the designer.
Thanks for any light you can shed on this! _________________ Regards,
Berney Villers Jr.
SimXperience.com
http://www.SimXperience.com |
|
Back to top |
|
|
bvillersjr
Joined: 04 Jan 2010 Posts: 15
|
Posted: Sat May 01, 2010 12:42 pm Post subject: Solved |
|
|
I was not on the latest version. Once I removed my reference and added a ref to the latest INfralution.WPF.dll, all is well. _________________ Regards,
Berney Villers Jr.
SimXperience.com
http://www.SimXperience.com |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun May 02, 2010 3:21 am Post subject: |
|
|
The Infralution.Localization.Wpf assembly should work OK with .NET 4 - however you won't be able use Globalizers Preview for WPF or Windows forms applications built using .NET 4 Framework. We are currently in final testing for Version 2.2 of Globalizer.NET which will include full support for VS2010 and .NET 4 Framework. It should be released this week. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu May 06, 2010 3:23 am Post subject: |
|
|
Version 2.2.0 of Globalizer.NET has now been released and includes support for .NET Framework 4. You can set the .NET Framework version that Globalizer.NET uses from the Tools -> Options menu. _________________ Infralution Support |
|
Back to top |
|
|
|