.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

net type progression.

3 REPLIES 3
Reply
Message 1 of 4
BillZ
333 Views, 3 Replies

net type progression.

VS2005 Express,
Net 2.0 runtime and R2006 Autocad.

I have downloaded VS2005 Express and the distributable version of .net 2.0.
I recompiled some of my code written in net1.1 and VS2003.
Works fine on my computer.

Can I load the net 2.0 runtime on another computer that's been using my old net1.1 solution.dll and give him the new 2.0 solution.dll and have it work without having to set new security settings on 2.0?

These are all local installations of AutoCAD but I netload the solution.dll to the users computer on startup from a network location.

TIA

Bill
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: BillZ

If you load your code from a network location, you need to do the .NET CAS
security configuration. Since your new solution is .NET2.0, the security
configuration you have done previously to .NET1.x has no effect to .NET2.0,
therefore, you need to do it to your .NET2.0 code.

Note, .NET2.0 framework does not include the security configuration applet
found in Control Panel->Administrative Tools as .NET1.x, unless you have
.NET2.0 SDK installed. You have to run CASPOL.exe command tool to do the
security configuration, or create a MSI package to deploy the security
settings with domain group policy.


"BillZ" wrote in message news:6007611@discussion.autodesk.com...
VS2005 Express,
Net 2.0 runtime and R2006 Autocad.

I have downloaded VS2005 Express and the distributable version of .net 2.0.
I recompiled some of my code written in net1.1 and VS2003.
Works fine on my computer.

Can I load the net 2.0 runtime on another computer that's been using my old
net1.1 solution.dll and give him the new 2.0 solution.dll and have it work
without having to set new security settings on 2.0?

These are all local installations of AutoCAD but I netload the solution.dll
to the users computer on startup from a network location.

TIA

Bill
Message 3 of 4
BillZ
in reply to: BillZ

Thanks.

I knew that the 2.0 didn't have the security configurator but didn't know if it would happen to run the .dll right out of the box.

I'll do what you say with CASPOL.exe.

Bill
Message 4 of 4
BillZ
in reply to: BillZ

>>>If you load your code from a network location, you need to do the .NET CAS security configuration.<<<

If I copy the solution .dll to the users hard drive, after I install the 2.0 distributable on his machine, and load it from there,
will it run without configuring 2.0?
Might be easier for me to do that at this time.

**Edit:
Never mind.
Wasn't as hard as I thought to use CasPol:
http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx


TIA

Bill Message was edited by: BillZ

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost