|
-
Sep 9th, 2010, 01:13 PM
#1
Thread Starter
Hyperactive Member
refer to Microsoft HTML Object Library ?
I'm using win7 64bit + express 2010. in the program, I need refer to Microsoft HTML Object Library. So, I added it, then I found, it can not be "copy local". I remeber it could before when I use oit on vista + 2008.
Now, the question is: how can I include it in the setup? since some users may not have this dll on their pc.
thanks
bear
-
Sep 9th, 2010, 06:26 PM
#2
Re: refer to Microsoft HTML Object Library ?
I just did a quick test and it doesn't look like it has anything to do with the Windows version, but rather the .NET version. I just created two new WinForms projects: one targeting .NET 4.0 and the other targeting .NET 3.5. I added a reference to the Microsoft HTML Object Library to each and then checked the Copy Local property. In both cases it was set to False by default but the .NET 4.0 project would not let it be changed while the .NET 3.5 project would. Presumably .NET 4.0 installs that assembly to the GAC and, if your app targets .NET 4.0, then anyone using your app will already have that assembly installed. If your app requires .NET 3.5 then users may or may not have it installed, so you have the choice.
-
Sep 9th, 2010, 06:38 PM
#3
Thread Starter
Hyperactive Member
Re: refer to Microsoft HTML Object Library ?
thanks. I checked it again. yes, the project default .net version is .net 4.0 Profile version which is a simplified .net 4.0 (I think). No wonder I can not add system.web, so, I changed it to .net 4.0 version, and now can add html object library and system.web although can not copy local. I guess, it is unnecessary to copy local if .net 4.0 is installed.
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|