How to deploy a .NET component for Navision
ta5
Member Posts: 1,164
Hi
I'm looking for a kind of best practice to to deploy a custom made .NET component to the clients computers.
Until now I copied my regasm.exe and the projects *.dll, *.tlb and interop.*.dll to the navision directory and typed
regasm.exe myDLL.dll /tlb:myDll.tlb
Any comments on this?
This works quite ok, but if a client does not have the navision installed on the client (navision executables are started from server) this does not work. I know this is not common practice but it's useful if you have different navision installation for testing purposes.
Anyway, in this case or if you have more than one navision installation on your pc the approach with regasm.exe does not work.
Does the dll need to be deployed to the gac?
Thanks for input on this.
Regards
Thomas
I'm looking for a kind of best practice to to deploy a custom made .NET component to the clients computers.
Until now I copied my regasm.exe and the projects *.dll, *.tlb and interop.*.dll to the navision directory and typed
regasm.exe myDLL.dll /tlb:myDll.tlb
Any comments on this?
This works quite ok, but if a client does not have the navision installed on the client (navision executables are started from server) this does not work. I know this is not common practice but it's useful if you have different navision installation for testing purposes.
Anyway, in this case or if you have more than one navision installation on your pc the approach with regasm.exe does not work.
Does the dll need to be deployed to the gac?
Thanks for input on this.
Regards
Thomas
0
Comments
-
I don't exactly know and understand all you are saying, but may be this can help:
http://www.mibuso.com/howtoinfo.asp?FileID=5&Type=howto.0 -
I have quite some experience with Navision and external controls. But like Waldo, I do no completely understand what you are trying to achieve. Can you supply us with more information?0
-
I think what ta5 means is that it doesn't work server client. If you don't have your dll's installed on your local pc's, it will give an error message.Roelof de Jonghttp://www.wye.com0
-
Hi
Sorry for my complicated question, I guess it was the combination of my english and the quite complex story :oops:
Anyhow, my question is:
I can deploy to a target machine with regasm.exe, but only if the navision executables are stored on the target machine.
1) Is there a better way than regasm.exe? Maybe regasm.exe and gacutil.exe?
2) Is gacutil.exe the solution for the problem on machines without navision executables?
Sorry again for the inconvenience caused
Thomas0 -
Why not make an installer :?: Really easy in VS20050
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 117 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

