Click here to Skip to main content
16,005,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: inheritance Pin
musefan29-Jan-09 0:51
musefan29-Jan-09 0:51 
GeneralRe: inheritance Pin
Idoshhh29-Jan-09 1:06
Idoshhh29-Jan-09 1:06 
GeneralRe: inheritance Pin
musefan29-Jan-09 1:10
musefan29-Jan-09 1:10 
AnswerRe: inheritance Pin
DaveyM6929-Jan-09 0:57
professionalDaveyM6929-Jan-09 0:57 
GeneralRe: inheritance Pin
Idoshhh29-Jan-09 1:13
Idoshhh29-Jan-09 1:13 
GeneralRe: inheritance Pin
DaveyM6929-Jan-09 1:21
professionalDaveyM6929-Jan-09 1:21 
GeneralRe: inheritance Pin
Idoshhh29-Jan-09 1:28
Idoshhh29-Jan-09 1:28 
QuestionC# tool unable to handle C# Pin
Stephen Dickinson29-Jan-09 0:31
Stephen Dickinson29-Jan-09 0:31 
After a good deal of head scratching to the extent that I've now got a handful of splinters, I have now concluded it seems that Visual Studio 2008 does not like "#" characters in a project directory path. For example "D:\SwDev\C#\projects" is problematic however "D:\SwDev\CSharp\projects" is fine.

Specifically the problem occurs with Windows Presentation Foundation Designer in certain circumstances with where the XAML xmlns:customControl="clr-namespace: etc..." statement has been used to reference a library which has "#" in its path.

A brief sequence of my events follow...

Initially I had been working on a simple C# project which resided in a directory with a path such as "D:\SwDev\C#\projects\proj1", and all Visual 2008 tools seemed to be working well. I then created a Custom Control library by creating a new project with a path such as "D:\SwDev\C#\libs\myControls" - again all Visual 2008 tools worked well.

I then tried including my new controls in my main project. I did all the usual things such as adding a Reference to my library (from within the work bench), adding appropriate "using" lines to my cs files and adding the appropriate XML namespace statement to my main window's XAML file (e.g xmlns:customControl="clr-namespace:myControls;ssembly=myControls"). The result was that Windows Presentation Foundation Designer then put a red squiggly line under the new xmlns statement and suspended the graphical layout editor with a message saying that there were errors in the AXML which must be sorted before graphical editing can be resumed.

At this stage I found could successfully compile my main project with no errors, however the problem remained. It seemed that the main thing that did not work was the Windows Presentation Foundation Designer tool, but I also noted that the intellisense tool was not picking up the presence of my new library when entering the xmlns statement.

I eventually tried renaming my /C# directory to /CSharp and miraculously the problems disappeared Smile | :) .

Stephen Dickinson
Organised Technology Ltd
UK

QuestionCommunication Mechanism Pin
benjamin yap29-Jan-09 0:09
benjamin yap29-Jan-09 0:09 
AnswerRe: Communication Mechanism Pin
musefan29-Jan-09 0:16
musefan29-Jan-09 0:16 
GeneralRe: Communication Mechanism Pin
benjamin yap29-Jan-09 0:24
benjamin yap29-Jan-09 0:24 
GeneralRe: Communication Mechanism Pin
musefan29-Jan-09 0:33
musefan29-Jan-09 0:33 
GeneralRe: Communication Mechanism Pin
musefan29-Jan-09 0:45
musefan29-Jan-09 0:45 
GeneralRe: Communication Mechanism Pin
benjamin yap29-Jan-09 1:19
benjamin yap29-Jan-09 1:19 
AnswerRe: Communication Mechanism Pin
Ravi Bhavnani29-Jan-09 2:43
professionalRavi Bhavnani29-Jan-09 2:43 
AnswerRe: Communication Mechanism Pin
#realJSOP29-Jan-09 4:00
professional#realJSOP29-Jan-09 4:00 
QuestionVNC server sample code Pin
spiritboy28-Jan-09 23:37
spiritboy28-Jan-09 23:37 
AnswerRe: VNC server sample code Pin
J Snyman29-Jan-09 21:54
J Snyman29-Jan-09 21:54 
GeneralRe: VNC server sample code Pin
Paul Rabe12-Feb-09 7:47
Paul Rabe12-Feb-09 7:47 
GeneralRe: VNC server sample code Pin
girish_nagose14-Apr-09 23:53
girish_nagose14-Apr-09 23:53 
GeneralRe: VNC server sample code Pin
Cosby2-Jan-10 11:23
Cosby2-Jan-10 11:23 
AnswerRe: VNC server sample code Pin
Nezam Ahamed26-Mar-10 3:26
Nezam Ahamed26-Mar-10 3:26 
GeneralRe: VNC server sample code Pin
Ravikumar Patra26-May-11 1:24
professionalRavikumar Patra26-May-11 1:24 
QuestionCreate dll file and add implement trial period Pin
NamdeoWaghmare28-Jan-09 22:41
NamdeoWaghmare28-Jan-09 22:41 
AnswerRe: Create dll file and add implement trial period Pin
Ankit Rajpoot28-Jan-09 23:34
Ankit Rajpoot28-Jan-09 23:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.