Question

I am trying to use DDEX for npgsql. while following steps provided http://fxjr.blogspot.fr/2011/05/npgsql-design-time-support-preview.html I came across a problem. The steps specifies that after setting up the project to startup project. I should go to the debug option and select start action to external program. But the problem is I cannot see the option for that. below is the screen shot of what I get when I select debug in project properties.

enter image description here

Is there any way around to get the project debug in another instance of devenv.exe to complete my DDEX npgsql setup?

Thanks.

Was it helpful?

Solution

This debug option is not available in VS Express.

The way around this is to manually edit the *.csproj.user file in your project folder, and add the following PropertyGroup:

  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
    <StartAction>Program</StartAction>
    <StartProgram>C:\Path\To\program.exe</StartProgram>
    <StartArguments>/Something</StartArguments>
  </PropertyGroup>

You will need to make sure that the Configuration and Platform (Debug|x86 in my example) match yours.

Cheers

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top