.NET and AutoCAD managed assemblies

.NET and AutoCAD managed assemblies

Anonymous
Not applicable
1,035 Views
11 Replies
Message 1 of 12

.NET and AutoCAD managed assemblies

Anonymous
Not applicable
Hi, We have here a project in .NET 2003 that needs to interact with AutoCAD 2005. On 1 developer machine AutoCAD is installed and the interaction is working. But, on other developres computers without AutoCAD, which AutoCAD assemblies I need to register in their GAC (and how ?) to get the .NET project compiled ?? And then, can I add the references to AutoCAD assemblies through COM tab, too ? We cannot buy a copy of AutoCAD 2005 for each developer computer. Thanks for any advice
0 Likes
1,036 Views
11 Replies
Replies (11)
Message 2 of 12

Anonymous
Not applicable
Hi, You can install the software on two computers and swap the licence between them - or you net get a network licence and use it one at a time. Check out subscribing to the Autodesk Developer's Network. -- Regards, Laurie Comerford www.cadapps.com.au "Bragadiru" wrote in message news:42009c65_3@newsprd01... > Hi, > > We have here a project in .NET 2003 that needs to interact with AutoCAD > 2005. On 1 developer machine AutoCAD is installed and the interaction is > working. But, on other developres computers without AutoCAD, which AutoCAD > assemblies I need to register in their GAC (and how ?) to get the .NET > project compiled ?? And then, can I add the references to AutoCAD > assemblies > through COM tab, too ? > We cannot buy a copy of AutoCAD 2005 for each developer computer. > > Thanks for any advice > >
0 Likes
Message 3 of 12

Anonymous
Not applicable
Thanks, but I'm looking for other solution, not to buy AutoCAD for each station. The other developers are not using AutoCAD, they just want to compile the .NET solution. There is a way to acomplish this ? We already have ADN for 5 users, but I just don't want to install it on each machine. Thnx "Laurie Comerford" wrote in message news:4200b107_3@newsprd01... > Hi, > > You can install the software on two computers and swap the licence between > them - or you net get a network licence and use it one at a time. > > Check out subscribing to the Autodesk Developer's Network. > > -- > > Regards, > > > Laurie Comerford > www.cadapps.com.au > > "Bragadiru" wrote in message > news:42009c65_3@newsprd01... > > Hi, > > > > We have here a project in .NET 2003 that needs to interact with AutoCAD > > 2005. On 1 developer machine AutoCAD is installed and the interaction is > > working. But, on other developres computers without AutoCAD, which AutoCAD > > assemblies I need to register in their GAC (and how ?) to get the .NET > > project compiled ?? And then, can I add the references to AutoCAD > > assemblies > > through COM tab, too ? > > We cannot buy a copy of AutoCAD 2005 for each developer computer. > > > > Thanks for any advice > > > > > >
0 Likes
Message 4 of 12

Anonymous
Not applicable
Just curious...

If you are an ADN member...
Why are you asking something like this on a 'public' forum?

Can't the ADN answer this for you?

Warren M
0 Likes
Message 5 of 12

Anonymous
Not applicable
Their answer was to buy 100 licenses, one for each development computer. And this is inacceptable if I want AutoCAD assemblies only for compiling in 97%, and for testing and use in 3%. This is why I'm looking for a solution in public forums, without luck 'till now. I think I'm not the only one with this issue. I'm still looking ... "Warren M" wrote in message news:22988588.1107354014602.JavaMail.jive@jiveforum2.autodesk.com... > Just curious... > > If you are an ADN member... > Why are you asking something like this on a 'public' forum? > > Can't the ADN answer this for you? > > Warren M
0 Likes
Message 6 of 12

Anonymous
Not applicable
Bragadiru wrote: > We cannot buy a copy of AutoCAD 2005 for each developer computer. I'm confused. If a developer does not have AutoCAD, why would he need your AutoCAD projects? If this is simply about compiling during downtime, you can always use NMAKE to build your projects from a scheduled task. -- There are 10 kinds of people: those who understand binary and those who don't.
0 Likes
Message 7 of 12

Anonymous
Not applicable
We have a big .NET solution with 44 projects and only 1 project (with 1 developer involed in it) use AutoCAD (a small task to open a dwg file in AutoCAD) : AutoCAD2005.AcadApplication acadApp = null; try { acadApp = (AutoCAD2005.AcadApplication)System.Runtime.InteropServices.Marshal.GetActiv eObject("AutoCAD.Application.16"); } catch { try { acadApp = new AutoCAD2005.AcadApplicationClass(); } catch(Exception ex) { Debug.Fail(ex.Message); Trace.WriteLine(ex.Message); // still cannot get autocad application return; } } acadApp.Visible = true; // } if (acadApp != null) { AutoCAD2005.AcadDocument acadDoc = acadApp.Documents.Open(fullPath, Missing.Value, Missing.Value); acadApp.ZoomAll(); if (printIt) acadDoc.Plot.PlotToDevice(Missing.Value); } else { Trace.WriteLine("AutoCAD application could NOT be started. acadApp is null !!??"); } "Frank Oquendo" wrote in message news:4200ee62$1_2@newsprd01... > Bragadiru wrote: > > > We cannot buy a copy of AutoCAD 2005 for each developer computer. > > I'm confused. If a developer does not have AutoCAD, why would he need > your AutoCAD projects? If this is simply about compiling during > downtime, you can always use NMAKE to build your projects from a > scheduled task. > > -- > There are 10 kinds of people: those who understand binary and those who > don't.
0 Likes
Message 8 of 12

Anonymous
Not applicable
Bragadiru wrote: > We have a big .NET solution with 44 projects and only 1 project (with 1 > developer involed in it) use AutoCAD (a small task to open a dwg file in > AutoCAD) : I'm following so far but here's where I get lost: why can't that one guy compile the code and check in the resulting assembly? -- There are 10 kinds of people: those who understand binary and those who don't.
0 Likes
Message 9 of 12

Anonymous
Not applicable
Hi, And not only that, but no client is going to be able to run this unless they have an AutoCAD licence, so there seems liitle point in trying to do anything on a computer without AutoCAD installed. If you are an ADN member, as Warren said, you should be talking with them. Go back to ADN and talk to them till you understand AutoCAD better. Rephrase your questions so that your ask the right ones. -- Regards, Laurie Comerford www.cadapps.com.au "Frank Oquendo" wrote in message news:4200f1f8_2@newsprd01... > Bragadiru wrote: >> We have a big .NET solution with 44 projects and only 1 project (with 1 >> developer involed in it) use AutoCAD (a small task to open a dwg file in >> AutoCAD) : > > I'm following so far but here's where I get lost: why can't that one guy > compile the code and check in the resulting assembly? > > -- > There are 10 kinds of people: those who understand binary and those who > don't.
0 Likes
Message 10 of 12

Anonymous
Not applicable
Thanks Frank. You put me back on the right way :) My mistake was that I want to install AutoCAD assemblies in the GAC. I just modify the Copy Local to true, setting in References for both acad dlls => dlls are in our bin folder of the C# project.. Now all the developers have references to local bin\dlls => compiling is fine. Only ones with AutoCAD installed can open the dwg files. Thank you all. "Frank Oquendo" wrote in message news:4200f1f8_2@newsprd01... > Bragadiru wrote: > > We have a big .NET solution with 44 projects and only 1 project (with 1 > > developer involed in it) use AutoCAD (a small task to open a dwg file in > > AutoCAD) : > > I'm following so far but here's where I get lost: why can't that one guy > compile the code and check in the resulting assembly? > > -- > There are 10 kinds of people: those who understand binary and those who > don't.
0 Likes
Message 11 of 12

Anonymous
Not applicable
Can we do this legally? I thought an Acad version was needed on every machine even to use the libraries. "Bragadiru" wrote in message news:42024521_1@newsprd01... > Thanks Frank. You put me back on the right way :) > My mistake was that I want to install AutoCAD assemblies in the GAC. I > just > modify the Copy Local to true, setting in References for both acad dlls => > dlls are in our bin folder of the C# project.. > Now all the developers have references to local bin\dlls => compiling is > fine. Only ones with AutoCAD installed can open the dwg files. > > Thank you all. > > "Frank Oquendo" wrote in message > news:4200f1f8_2@newsprd01... >> Bragadiru wrote: >> > We have a big .NET solution with 44 projects and only 1 project (with 1 >> > developer involed in it) use AutoCAD (a small task to open a dwg file >> > in >> > AutoCAD) : >> >> I'm following so far but here's where I get lost: why can't that one guy >> compile the code and check in the resulting assembly? >> >> -- >> There are 10 kinds of people: those who understand binary and those who >> don't. > >
0 Likes
Message 12 of 12

Anonymous
Not applicable
That sounds like some fishy marketing....
0 Likes