Sunday, July 13, 2008

Tip: Script# for VS.Net 2008 & Windows Vista 64

 

Those who are developing on a Vista 64 know VS.Net 2008 cannot debug 64-bit assemblies.  You need to select x86 as CPU for the resultant assembly to be debuggable.  Though on Script# projects, make sure you have "Any CPU" selected.  Otherwise, it would not generate *.js files.

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

  <OutputPath>bin\Debug\</OutputPath>

  <DefineConstants>DEBUG</DefineConstants>

  <ErrorReport>prompt</ErrorReport>

  <WarningLevel>4</WarningLevel>

  <NoWarn>0028, 1591</NoWarn>

  <DocumentationFile>bin\Debug\ThinkFarAhead.WordReporter.Web.Scriptlets.xml</DocumentationFile>

</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">

  <OutputPath>bin\Release\</OutputPath>

  <DefineConstants>

  </DefineConstants>

  <ErrorReport>prompt</ErrorReport>

  <WarningLevel>4</WarningLevel>

  <NoWarn>0028, 1591</NoWarn>

  <DocumentationFile>bin\Release\ThinkFarAhead.WordReporter.Web.Scriptlets.xml</DocumentationFile>

</PropertyGroup>

No comments: