473,396 Members | 1,784 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,396 software developers and data experts.

IntelliSense doesn't work in single .cs with refrences.

Hi,

I am writing a single .cs in IDE that uses some refrences that I have
created previously as dll. I compile this refrences with /r switch in
csc.exe with no problem.
IntelliSense works with cs commands and syntaxes. But the problem is It
doesn't know my own refrences and so doesn't show my class members.
What can I do with with these? Please Help!

Regards,
Afshar Mohebbi

Jun 21 '06 #1
3 1550
"Afshar" <af************@gmail.com> a écrit dans le message de news:
11**********************@m73g2000cwd.googlegroups. com...

| I am writing a single .cs in IDE that uses some refrences that I have
| created previously as dll. I compile this refrences with /r switch in
| csc.exe with no problem.
| IntelliSense works with cs commands and syntaxes. But the problem is It
| doesn't know my own refrences and so doesn't show my class members.
| What can I do with with these? Please Help!

Have you also added a using clause for each namespace that you need to
reference ?

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Jun 21 '06 #2
Hi Joanna,

Yes I add necessary refrences when compiling with csc.exe utility with
switch /r, but it is outside VS. Actually I don't add refrence when I
am writing code in VS beacuse it's a single .cs and not a project.
I guess I must add my assembly (dll) somewhere like
%WINDIR%\Microsoft.NET\Framework\v2.0.50727 so VS could find and use it
for IntelliSense.

Regards,
Afshar
Joanna Carter [TeamB] wrote:
"Afshar" <af************@gmail.com> a écrit dans le message de news:
11**********************@m73g2000cwd.googlegroups. com...

| I am writing a single .cs in IDE that uses some refrences that I have
| created previously as dll. I compile this refrences with /r switch in
| csc.exe with no problem.
| IntelliSense works with cs commands and syntaxes. But the problem is It
| doesn't know my own refrences and so doesn't show my class members.
| What can I do with with these? Please Help!

Have you also added a using clause for each namespace that you need to
reference ?

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer


Jun 22 '06 #3
"Afshar" <af************@gmail.com> a écrit dans le message de news:
11**********************@g10g2000cwb.googlegroups. com...

Yes I add necessary refrences when compiling with csc.exe utility with
switch /r, but it is outside VS. Actually I don't add refrence when I
am writing code in VS beacuse it's a single .cs and not a project.
I guess I must add my assembly (dll) somewhere like
%WINDIR%\Microsoft.NET\Framework\v2.0.50727 so VS could find and use it
for IntelliSense.

No, don't go messing around with assembly locations, simply add a reference
within the project manager to the assembly in its current location.

Why are you using csc when you can build from within the IDE ?

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer
Jun 22 '06 #4

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

Similar topics

0
by: Pete | last post by:
Hi, Can anyone tell me why intellisense auto completion etc doesn’t work when writing VB script on asp.net pages in VS.net. If I load a legacy asp page intellisense works fully in the VB...
1
by: Guy | last post by:
I've written a DLL assembly in C#. I've built the DLL, and reference it from other projects. The assembly contains a single file, containing a single abstract class. This class contains loads of...
1
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I...
1
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
9
by: Ulf Lindback | last post by:
Hi! We have an application surveillance product with a number of API's for different languages; one of them is a C API. Now I wonder how we can supply intellisense to our Visual Studio.Net...
12
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
2
by: Natan Vivo | last post by:
Can anyone tell me what exactly what makes intellisense works for custom controls in aspx pages in VS 2005? I just installed Atlas in my office computer, created a new atlas project and it...
2
by: Shehab Kamal | last post by:
I have a C# .NET 1.1 solution that consists of 2 projects. The first project is a class library that has well formed XML documenation. In this project IntelliSense shows me the description of each...
3
by: Travis | last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the Intellisense for that program. I went to try Visual Basic, and the intellisense is so much different. I'll try to make an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.