Comments

marks27 wrote on 2/5/2008, 4:21 PM
Hmm, Google knows all....

It appears that the "Start Action" property is not presented in the Express Edition, and the project file needs to be edited directly, as per:

<code>

To start McmlPad from within Microsoft Visual C# 2005 Express Edition, you must edit the .csproj file for the solution because the Start Action setting is not available in the Visual C# 2005 Express Edition. The following example code from the Z.csproj file shows the additional XML code:

<PropertyGroup>
<UseVSHostingProcess>true</UseVSHostingProcess>
<StartWorkingDirectory>$(windir)\eHome</StartWorkingDirectory>
<StartArguments>-load:"resx://Z/Z.Resources/Default" -assemblyredirect:"$(FullyQualifiedOutputPath)" -markupredirect:"resx://Z/Z.Resources/,file://$(MSBuildProjectDirectory)\Markup\,.mcml"</StartArguments>
<StartAction>Program</StartAction>
<StartProgram>$(windir)\eHome\McmlPad.exe</StartProgram>
</PropertyGroup>

</code>

This is a snippet from one of MS's own web -sites.

Interested to know if anyone else uses this method to debug scripts, or is there a better way with the Express Editions.

Hope this helps someone.

Ciao,

marks