Rruna

Hi,

I'm in the middle of crisis right now. I'm now at the stage to deploy my DSL project. So I found the walkthrough in MSDN for deploying DSL, and tried to implement it with new simple DSL just like it said.

I did exactly as it wrote there, it was going well until I read about this installation on the same machine. After I debug my DSLSetup project, I un-install the dll of my DeploymentTest in the assemblies folder just like it says in How to: Remove a Domain-Specific Language. Nothing more. OK, is there anything I did wrong here so far

Problems:
1. After I install the DSL, my DSL package didn't appear as it's supposed to. So I assume my installation is failed. But the dll's of my DSL are in the folder that I specified before at the installation. And they are also in the assemblies folder. (I did this more than once, to make myself sure)
2. Just after several trials, I want to run my DeploymentTest again. But Visual Studio complained about missing one or more components, and ask for re-installation. At this stage, I was starting to worry. And I opened my real DSL project, then I got my nightmare. I cannot run every project that runs VS Exp Hive anymore (Integration Package, DSL, GAT).

Please anyone, before I do some other stupid thing, could you suggest me or point me to a good direction where I can solve this problem.
Or, as a desperate question, let's say I re-install VS 2005 with 2.0 .Net Environment + SDK ver. 3 everyting, can I get back my old-running system again


P Rruna


Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Edward Bakker

Hi,

Let me try to help you out with this. What do you mean by "I un-install the dll of my DeploymentTest in the assemblies folder" Do you mean you deleted the "your DSL" files from GAC if so, did you only delete two files Further did you reset the Exp Hive

What files was Visual Studio complaining about

Edward





Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Rruna

Hi Edward,

Thanks for the response. I don't know what is GAC, but I deleted the DSL of my DeploymentTest project from the folder C:\WINDOWS\assembly. Actually I deleted not only two, but also old DSL projects that I don't do anymore. Is this wrong And yes, I reset the Exp Hive.


P Rruna




Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Edward Bakker

Hi,

Assuming you deleted the correct files this wan't wrong. You mentioned VS.NET complained about missing files, do you know which ones

Edward





Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Rruna

Unfortunately it doesn't say which file. Every time I try to run my DSL or Integration Package project it just gives a pop up window that says: "Cannot find one or more components. Please re-install application.". That's it. Nothing more. Do you have any idea Thanks for helping.


P Rruna




Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Rruna

One more thing, it seems like I cannot run the Exp Hive anymore. Just being curious, I tried to run Exp Hive from Start menu. The result is the same, I got the pop up error window.

To anyone else, do you guys know another walkthrough, sample, or article deploying DSL I think the one in MSDN doesn't work for me. I tried it several times.

P Rruna




Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Edward Bakker

Hi,

First of all, I don't think there is something wrong with the deployment walkthrough on MSDN. That one should just work fine.

The error message you are describing also pops up in other situations that are not related to the DSL Tools. Have a look yourself by using Google. I am not sure if you can find the solution other than reinstalling. I just checked on of my development machines and it turns out that I have the same issue at this machine (when starting Exp hive from start menu) however, I don't have any problems with the DSL tools on that machine.

You might want to try and run your DSL in the "main" hive but I have to warn you that this can possibly corrupt your main hive (although I haven't experienced with that myself). This is just to see if the problem is caused by the Exp hive!

You can switch to the mani hive by chaning the folowing lines in your "DslPackage.csproj" file (notepad):

Change:

<TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0Exp</TargetRegistryRoot>

to:

<TargetRegistryRoot>Software\Microsoft\VisualStudio\8.0</TargetRegistryRoot>

Change:

/RootSuffix Exp /DesignTimeRun "..\..\..\Debugging\Debugging.sln"

to:

/DesignTimeRun "..\..\..\Debugging\Debugging.sln"

Hope this helps

Edward





Re: Visual Studio Extensibility Problems: Deploy DSL in the Same Machine

Rruna

Hi Edward,

I think you are right. My problem is in the Exp Hive. I'm not really sure what you mean with you got the same issue with your machine. But for me, yesterday I set up a testing environment for my project with the same environment with my development machine. It was running well and I tried to test my project there (installation of my simple DSL), still it didn't work. But that is not the real matter, after a couple hours, I got exactly the same problem with my development machine = I cannot run my Exp Hive anymore in my testing machine.

The last thing I did yesterday is re-install the VS in my both machines through the VS Maintenance. But again the problem still exist. Today right after this, I'm going to uninstall it and install a fresh one again.

But from this experience I still don't know what are the causes for Exp Hive doesn't run anymore. What kind of component it is missing, etc. So if anyone have the answer, probably the other would like to know.

Edward, thanks for helping me. I appreciate it. Have a nice day.



P Rruna