Intellisense failing with custom csproj file

I've run into the persistent problem that Intellisense is consistently failing, and I'm hoping someone can help.

We have a large multi project solution that relies on a custom rake build script. For this we've been using a template csproj file which looks about like the following:

<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>Withheld</AssemblyName>
<RootNamespace>Withheld</RootNamespace>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<BuildDir>D:\e2calc CE\Withheld\pkg</BuildDir>
<BaseIntermediateOutputPath>D:\e2calc CE\Withheld\pkg\</BaseIntermediateOutputPath>
<IntermediateOutputPath>bin</IntermediateOutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Slayer - NUnit' ">
<OutputPath>D:\e2calc CE\Withheld\pkg</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />


<Reference Include="Iesi.Collections" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\External\Iesi.Collections.dll</HintPath>
</Reference>


<Reference Include="log4net" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\External\log4net.dll</HintPath>
</Reference>


<Reference Include="Migrator" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\External\Migrator.dll</HintPath>
</Reference>


<Reference Include="NHibernate" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\External\NHibernate.dll</HintPath>
</Reference>


<Reference Include="nunit.framework" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\External\nunit.framework.dll</HintPath>
</Reference>


<Reference Include="Withheld2" >
<SpecificVersion>False</SpecificVersion>
<HintPath>D:\e2calc CE\Withheld\pkg\bin\Withheld2.dll</HintPath>
</Reference>

</ItemGroup>
<ItemGroup>
<!-- The next two lines compile all cs files in all folders but -->
<Compile Include="**\*.cs" Exclude="**\*-code-generated.cs" />

<Compile Include="**\*-code-generated.cs">
<!-- hides the files that end with -code-generated.cs -->
<Visible>false</Visible>
</Compile>

</ItemGroup>
<ItemGroup>
<!-- Shows all other files in the Solution Explorer -->
<None Include="**\*.*" Exclude="Withheld.*;VSProject.csproj;**\*.cs;VSSolution.sln;VSSolution.suo;obj\**;bin\**;.svn\**;**\.svn\**;generation\**;_ReSharper*\**;External\**"/>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Target Name="Build">
<Exec Command="rake" WorkingDirectory=".." />
</Target>
<Target Name="Clean">
<Exec Command="rake clobber" WorkingDirectory=".." />
</Target>
<Target Name="ReBuild">
<Exec Command="rake clobber" WorkingDirectory=".." />
<Exec Command="rake" WorkingDirectory=".." />
</Target>
<Target Name="Test">
<Exec Command="rake test" WorkingDirectory=".." />
</Target>
<Target Name="Compile">
</Target>
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
</Project>

The rake command outputs the compiled dlls, and pdb files into ../pkg/bin/ relative to the project file.

Intellisense fails to pick up on any user coded classes, or anything from the referenced libraries. Any ideas?

[5038 byte] By [TL1moss] at [2007-12-30]