Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buid.. build.. rebuild..
Message
From
28/08/2010 05:43:23
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Buid.. build.. rebuild..
Miscellaneous
Thread ID:
01479016
Message ID:
01479016
Views:
144
Hi,
Sometimes I thinking I am alone with my problems :) But I can't believe :)

I am one year with VS.. and with FoxPro from version 2.0 for DOS. :) When I change the language - I was not real happy because all my skills goes to trash.. (I thought this at first time), but now I fill respect to VS.. but many things make me crazy

First of them - VS crash.. without any explanation.. just crash and thats it. without messages, 00005.. and its not possible to understand why.. its possible just "fill" why.. Most of problems solved like.. Exclude one project from Solution, Open project separately, rebuild it, open solution again, include project into solution again. Is it normal? Why its happens?

Second - the cache. This is Secret knowledge for me. Working with solution, build, build.. next time to open class to design - lot of errors.. designer can't be open because the errors like
Can't convert class myNamespace.myClass to myNamespace.myClass - on first look VS cant convert the same class to same class.
What to do...
Delete reference to the DLL from references.. add reference again.. Build.. build.. rebuild.. same problem
CLOSE VISUAL STUDIO - OPEN IT AGAIN - all works perfect.. and build build rebuild - also works.. untill something happens again.
What happens - can't understand exact dependence


3) References... The process to remove references to the project and add it again take half work day :)))) (joke) but half joke
Normally in the projects I have references to the DLL. (Exist possiblity to make a reference to another project but I don't use it.. because same project could be included to different solutions and then.. (half day to remove and add references again)
So - reference to DLL

Solution - 2 projects. First project - contains Controls, Second project - module which realize some function with GUI.
First project generate the DLL - second project has reference to this DLL.
First project has a BAT file which copy this DLL to special public folders where all DLLs stored, Second project has reference to it
Ok. Add new control to project 1. Textbox for example. Build.. build.. rebuild :)))
New control appears on toolbox in the Project1 section. Good... Open Form in Project2 to design - Drag-Drop - nothing happens.
VS thinking some time... and says nothing.. and nothing new appears on the form in design mode.
Then I must go to References, delete referece to the DLL, add reference again, then DragDrop from Toolbox works perfect.
It irritates me, but Thanks God here I see a logic and order of actions what I must to do :))

Maybe I project something wrong.. because I deveoping now big application which has many DLLs many parts, many forms.. but every day I removes refereces, add references, build build rebuild... it take a time.. and time is money :)

4) DesignMode - I made a separate thread for this, But this is also thing which make me crazy, because DesignMode is not a global for visual studio.. design mode depends where control located.. and how deep ISite interface can see DesignMode. And if rope has broken.. Control thinking "Oh.. I am in runtime!" and exec all code which never should run in the DesignMode.
Maybe I have mistake with Understanding - what is DesignMode..
On my Opinion - design Mode - this is a moment - when I modify something inside visual Studio :))) What is designMode in Microsoft meaning - I have no idea..

So.. Its just a emotions..If someone has read it up to the end despite my awful English language- Thanks!
Denis
Next
Reply
Map
View

Click here to load this message in the networking platform