Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, May 2, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly
Michael Seeger
Posts: 14
 
.NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Nov 11 6:52 AM
fiogf49gjkf0d

When I try to add an assembly compiled against the .NET 4.0 framework, my .NET Extensions Manager shows the following error:


Error: File 'D:\Temp\Test\AccountDetails.dll' is not a valid .net assembly.

The same library compiled against .NET 3.5 is accepted as "valid" and is added without any errors.
Is this a limit caused by the SLX version I'm using (7.5.3, german) or is this just because .NET 4.0 is not supported in general, yet?

[Reply][Quote]
John Crumpton
Posts: 26
 
Re: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 11 5:44 AM
fiogf49gjkf0d

7.5.x .NET Extensions must be Framework 3.5


7.2.x only supported 2.0


There was also a breaking change from 7.5.3 to 7.5.4... the the dll's that you reference (NetExtensions.Core and NetExtensions.Framework) are not compatible with each other... and throw essentially the same error if you target 7.5.3 and then try to deploy in 7.5.4 or vise-versa.

[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 11 6:02 AM
fiogf49gjkf0d

Hi John,

thx for your answer. Some other sources reported the same. I'm currently trying to get WPF into Slx and that means I definitely can't use WPF4 Cry.

As for the NetExtension.*.dll's: Yes: The dll's rolled out with 7.5.4 are of version "7.5.4", indeed. The ones from 7.5.1 to 7.5.3 are all of version "7.5.1.1742" Wink.

[Reply][Quote]
John Crumpton
Posts: 26
 
Re: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 11 7:54 AM
fiogf49gjkf0d

Actually, you can... 3.5 had wpf... although not quite everything was implimented at that point.


I have one working... more or less.


I had to host the wpf inside a winform to get it to behave.

[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Nov 11 11:30 AM
fiogf49gjkf0d

Affirmative: You're limited to WPF 3.5 where the DataGrid is missing and you have to host your WPF control inside a WinForm. But: Did you ever try to use the DataGrid provided by the WPFToolkit (Codeplex)? ... Frown ... No chance to get the assembly reference to WPFToolkit.dll included into your assembly. And so the WPFToolkit.dll will not be added to the dependencies by the .NET Extensions Manager. I think this is a side-effect when framework 4.0 and framework 3.5 is installed on your machine. The DataGrid from WPFToolkit (3.5) uses the same namespace like the DataGrid in WPF4 which is included in framework 4.0 ... have to check this...

[Reply][Quote]
Michael Seeger
Posts: 14
 
Re: .NET Extensions Manager (7.5.3): 'xyz.dll' is not a valid .net assembly Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Nov 11 9:12 AM
fiogf49gjkf0d

Also solved this problem Cool

The bad thing was that I never used any artefacts from WPFToolkit assembly in C#-(.cs-)files (code behind). WPFToolkit was only used in the XAML-file by adding its namespace. The compiler didn't notice that at all. Things definitely changed for good when I just instanciated one single class from the WPFToolkit namespace (as dummy) in my codebehind: The compiled assembly then contained the reference to WPFToolkit.dll and it was imported by .NET Extensions Manager Smile

What finally helped me was the last entry of this post: http://www.slxdeveloper.com/forum.aspx?forumid=2004&;postid=22567 - Thank you Brian

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/2/2024 7:44:25 AM