sydneyguy
asked on
ncrawler and which version of c# does it run i have tried vs005 vs#2008 express vs@2010
the only version that loads is 2010 and throws up a load of errors see below
documentation is as always a bit light so any ideas would be good to get me going
am attempting to run the Net 3.5 version
Error 1 The type 'System.Lazy<T>' exists in both 'c:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler\bin\Debug\NCr awler.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\Frame work\.NETF ramework\v 4.0\mscorl ib.dll' C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 4.0\NCrawler.HtmlProcessor \Extension s\Extended HtmlUtilit y.cs 19 27 NCrawler.HtmlProcessor
Error 2 The type 'System.Lazy<T>' exists in both 'c:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler\bin\Debug\NCr awler.dll' and 'c:\Program Files\Reference Assemblies\Microsoft\Frame work\.NETF ramework\v 4.0\mscorl ib.dll' C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 4.0\NCrawler.HtmlProcessor \EMailEnti tyExtracti onProcesso r.cs 31 27 NCrawler.HtmlProcessor
Error 3 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler.HtmlProcessor \bin\Debug \NCrawler. HtmlProces sor.dll' could not be found NCrawler.SitemapProcessor
Error 4 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler.HtmlProcessor \bin\Debug \NCrawler. HtmlProces sor.dll' could not be found NCrawler.Demo
Error 5 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler.HtmlProcessor \bin\Debug \NCrawler. HtmlProces sor.dll' could not be found NCrawler.Console
Error 6 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame work\.NETF ramework\v 4.0\mscorl ib.dll' and 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler\bin\Debug\NCr awler.dll' C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 4.0\NCrawler.HtmlProcessor \RegexSubs titution.c s 12 20 NCrawler.HtmlProcessor
Error 7 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame work\.NETF ramework\v 4.0\mscorl ib.dll' and 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler\bin\Debug\NCr awler.dll' C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 4.0\NCrawler.HtmlProcessor \RegexSubs titution.c s 21 18 NCrawler.HtmlProcessor
Error 8 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame work\.NETF ramework\v 4.0\mscorl ib.dll' and 'C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 3.5\NCrawler\bin\Debug\NCr awler.dll' C:\aa new hftfiles\ncrawleer\ncrawle r-58912\Ne t 4.0\NCrawler.HtmlProcessor \LinkExtra ctionProce ssor.cs 16 27 NCrawler.HtmlProcessor
documentation is as always a bit light so any ideas would be good to get me going
am attempting to run the Net 3.5 version
Error 1 The type 'System.Lazy<T>' exists in both 'c:\aa new hftfiles\ncrawleer\ncrawle
Error 2 The type 'System.Lazy<T>' exists in both 'c:\aa new hftfiles\ncrawleer\ncrawle
Error 3 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle
Error 4 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle
Error 5 Metadata file 'C:\aa new hftfiles\ncrawleer\ncrawle
Error 6 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame
Error 7 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame
Error 8 The type 'System.Lazy<T>' exists in both 'C:\Program Files\Reference Assemblies\Microsoft\Frame
ASKER
ok thanks for that have run the 3.5 which seemed to run and build 4.0 did nothing flashed then shut down
there lots of exes now but which do i run to start the program.
is there any useful doc for this program at all
thanks for the help as well
there lots of exes now but which do i run to start the program.
is there any useful doc for this program at all
thanks for the help as well
as for .net 4 do you have the full installer for it or just the client install?
http://www.microsoft.com/net/download you need this one
the only documentation is on the codeplex site.. minimal documentation there usually.
http://www.microsoft.com/net/download you need this one
the only documentation is on the codeplex site.. minimal documentation there usually.
if you run ncrawl.exe from ncrawl.demo
usage: NCrawl url [/threads:number] [/robotrules] [/depth:number] [/connectiontimeout:number ] [/timeout:number] [/showtime] [/maximumCrawlCount:number ] [/maximumHttpDownloadError s:number] [/maximumCrawlTime:number] [/userAgent:value]
[/threads:number] Number of concurrent threads to use in crawl
[/robotrules] Adhere to robot rules
[/depth:number] Maximum crawl depth
[/connectiontimeout:number ] Connection timeout in seconds(default 20)
[/timeout:number] Read timeout in seconds(default 20)
[/showtime] Show download times
[/maximumCrawlCount:number ] Maximum number of downloads before stopping
[/maximumHttpDownloadError s:number] Maximum number of downloads errors before stopping
[/maximumCrawlTime:number] Maximum crawl time in seconds before stopping
[/userAgent:value] User agent, default is NCrawl 2.1
usage: NCrawl url [/threads:number] [/robotrules] [/depth:number] [/connectiontimeout:number
[/threads:number] Number of concurrent threads to use in crawl
[/robotrules] Adhere to robot rules
[/depth:number] Maximum crawl depth
[/connectiontimeout:number
[/timeout:number] Read timeout in seconds(default 20)
[/showtime] Show download times
[/maximumCrawlCount:number
[/maximumHttpDownloadError
[/maximumCrawlTime:number]
[/userAgent:value] User agent, default is NCrawl 2.1
ASKER
if i run NCrawler\ncrawler-58912\Ne t 3.5\NCrawler.Demo\bin\Rele ase
it starts then just crashes
but the console box opens text runs then crashes
if i run from NCrawler\ncrawler-58912\Ne t 3.5\NCrawler.Demo\obj\Rele ase it also crashes but straight away???
it starts then just crashes
but the console box opens text runs then crashes
if i run from NCrawler\ncrawler-58912\Ne
ASKER
which one of these do i need please
For the desktop
Install from the web:
.NET Framework 4 Client Profile ›
Download and install:
.NET Framework 4 Client Profile
for x86 ›
.NET Framework 4 Client Profile
for x86 & x64 ›
For server and development
Install from the web:
.NET Framework 4 for All CPUs ›
Web Platform Installer ›
Download and install:
.NET Framework 4 for x86 ›
.NET Framework 4 for x86 & x64 ›
.NET Framework 4 for x86 & IA-64 ›
Additional resources
.NET Framework
System Requirements ›
.NET Framework 4 Readme ›
What's New in the
.NET Framework 4 ›
.NET Framework Deployment
Guide for Administrators ›
.NET Framework Deployment
Guide for Developers ›
For the desktop
Install from the web:
.NET Framework 4 Client Profile ›
Download and install:
.NET Framework 4 Client Profile
for x86 ›
.NET Framework 4 Client Profile
for x86 & x64 ›
For server and development
Install from the web:
.NET Framework 4 for All CPUs ›
Web Platform Installer ›
Download and install:
.NET Framework 4 for x86 ›
.NET Framework 4 for x86 & x64 ›
.NET Framework 4 for x86 & IA-64 ›
Additional resources
.NET Framework
System Requirements ›
.NET Framework 4 Readme ›
What's New in the
.NET Framework 4 ›
.NET Framework Deployment
Guide for Administrators ›
.NET Framework Deployment
Guide for Developers ›
For server and development
Install from the web:
.NET Framework 4 for All CPUs ›
Web Platform Installer ›
Download and install:
.NET Framework 4 for x86 ›
.NET Framework 4 for x86 & x64 ›
.NET Framework 4 for x86 & IA-64 ›
Which x86/x86 and x64 or x86 & IA-64 depends upon which o/s you have installed (32-bit/64bit and what you develop for)
64bit o/s for x86 and x64
32 bit o/s for x86
up to you whether or not you use the web installer.. or the full installers.
Install from the web:
.NET Framework 4 for All CPUs ›
Web Platform Installer ›
Download and install:
.NET Framework 4 for x86 ›
.NET Framework 4 for x86 & x64 ›
.NET Framework 4 for x86 & IA-64 ›
Which x86/x86 and x64 or x86 & IA-64 depends upon which o/s you have installed (32-bit/64bit and what you develop for)
64bit o/s for x86 and x64
32 bit o/s for x86
up to you whether or not you use the web installer.. or the full installers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ASKER
thanks ve3ofa for the video, i am guessing one i get the sql server issue rectified then i can get the package going, in your video that you provided you display an environment like visual studio but using msbuild how do you get this environment up and debugging so i can see the code like you have on the screen please
ASKER
hi ve3ofa i have been playing with this for days how do i get started, there is just no good documentation.
still not sure how to view edit or even run it any help please
still not sure how to view edit or even run it any help please
ASKER
thanks for all your help
Tested with vs2010/2012