473,320 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

The type or namespace name 'Generic' does not exist in the class or namespace 'System.Collections'

Hi,

This is in a windows service in .NET 1.1 I seem to remember reading
somewhere that in .NET 1.1 Windows Services are limited in what
namespaces they can use - is this so? the only thing that seems to be
supported is System.Collections.Specialized.

Oct 22 '07 #1
1 4203
If you're talking about framework object namespaces, the 1.1 framework
is limited (just like all other versions) to namespaces that are
defined in the framework libraries and any externally referenced code.
There are no generics in the 1.1 framework, so you won't find
System.Collections.Generic.

It looks like you may be trying to down-convert 2.0 code into 1.1. If
this is the case, it will not be as trivial as I think you're trying
to make it seem. You'd need not only to replace all of the instances
of things like List<and Dictionary<with their 1.1 equivalents, but
also deal with any typing issues that raises.

s}

On Oct 22, 4:23 pm, pantagruel <rasmussen.br...@gmail.comwrote:
Hi,

This is in a windows service in .NET 1.1 I seem to remember reading
somewhere that in .NET 1.1 Windows Services are limited in what
namespaces they can use - is this so? the only thing that seems to be
supported is System.Collections.Specialized.

Oct 22 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tressa | last post by:
Sorry to be such a novice about this but..... I have a windows service. It contains two separate files. Both have the same namespace name. I need to pass "bDisplay" into the other file. I am...
1
by: A. Burch | last post by:
What is wrong with this type of generic... I get this error.... Error 1 Inconsistent accessibility: parameter type 'System.Collections.Generic.Queue<TMQ.TheRec>' is less accessible than...
1
by: raylopez99 | last post by:
I seem to get name collision between the Generic collection SortedList and C++.NET Framework collection SortedList. How to resolve? Here are the libraries that seem to clash:...
2
by: Andrus | last post by:
I'm trying to compile myGeneration PropertyCollectionAll.cs file with VCS Express 2005 bot got error Error 1 The type or namespace name 'Collection' could not be found (are you missing a using...
3
by: BombDrop | last post by:
Can any one help I have a method that will return a List to be bound as a datasource to a combobox see code for population below. I get the following error when i try to compile Error 29 ...
11
by: Rob Stevens | last post by:
I am having a bit of a problem accessing some information in a different namespace, hopefully someone can point out what I am doing wrong. I have a dll file that I dont want to use in my...
4
by: karen.homersham | last post by:
Just working through Apress Pro ASP NET.2.0.E Commerce in C Sharp. I am having problems compiling the following: using System; using System.Collections.Generic; using System.Text; namespace...
6
by: Andrus | last post by:
I need to create method which returns my application object type as string : TypeName(typeof( List<int>)) should return "List<int>" or "System.Collections.Generic.List<int>" ...
3
by: tshad | last post by:
I am setting a string collection as: Specialized.StringCollection s1 But I get an error saying namespace name 'Specialized' not found. System.Collections.Specialized.StringCollection s1...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.