Windows Develop Bookmark and Share   
 index > Windows Forms Designer > DEVPATH not working
 

DEVPATH not working

Hi.

I'm building a library of windows form controls.

The library is consisted of a couple of projects, which are compiled to the same directory. The controls and thier designers are defined in seperate assemblies.

I'm trying to avoid GACing the assemblies, in order to be able to quickly build and debug, whithout further steps. I set the DEVPATH system variable in MyComputer > Properties to the output directory, and added the developmentModeelement to the appropriate place in machine.config.

I have a test project with one Form and a custom control on it. When I open it in the designer I don't see the designerof that control in effect. when debugging from another instance of VS, I see that TypeDescryptor.CreateDesigner returns null, which leads to further chain of exceptions.

Has anyone used the DEVPATH techinique succefully, without gacing the assemblies?

Thanks,

Yaakov

Yaakov.Davis  Tuesday, August 29, 2006 6:48 PM

I'm having mixed success (via NUnit project) and failure (via Web Site project) within the same solution. I posted the following and got a response on another blog...

# re: Questions (DEVPATH)

Thursday, March 01, 2007 2:34 PM by spacattac

Your descriptions on DEVPATH were helpful, but I'm still having a problem. I have a VS2005 solution where my NUnit project does just fine finding the Assemblies in my DEVPATH but my Web Site project fails to find them.

Any thoughts or suggestions?

Thanks,

Lane

# re: Questions and suggestions

Thursday, March 01, 2007 2:47 PM by junfeng

spacattac,

I believe it is a bug in .Net framework 2.0, and there is a QFE available.

Please contact Microsoft Product Support Service for more information.

spacattac  Thursday, March 01, 2007 7:58 PM

I'm having mixed success (via NUnit project) and failure (via Web Site project) within the same solution. I posted the following and got a response on another blog...

# re: Questions (DEVPATH)

Thursday, March 01, 2007 2:34 PM by spacattac

Your descriptions on DEVPATH were helpful, but I'm still having a problem. I have a VS2005 solution where my NUnit project does just fine finding the Assemblies in my DEVPATH but my Web Site project fails to find them.

Any thoughts or suggestions?

Thanks,

Lane

# re: Questions and suggestions

Thursday, March 01, 2007 2:47 PM by junfeng

spacattac,

I believe it is a bug in .Net framework 2.0, and there is a QFE available.

Please contact Microsoft Product Support Service for more information.

spacattac  Thursday, March 01, 2007 7:58 PM

You can use google to search for other answers

Custom Search

More Threads

• Custom property editor from external assembly
• How to code situations where there is a mustinherit class in the middle
• How do you make a form transparent and NOT it's controls?
• Events for ComboBox thats inside a dataGridView
• Changing smart tag header text
• UITypeEditor question - placement
• Available Colors Property in Designer
• how to send message to BlackBerry mobile
• Is it possible to write a component -Usercontrol in vb.net and use it in vb 6 enviroment?
• How to create a Custom Form that appears in the Toolbox and is droppable on the Design Surface?