in

DotNetDeveloper

Bits o this Bits o that

SharePoint

November 2008 - Posts

  • Symbols cannot be loaded sharepoint issues

    Seems there is a billion posts on this but not one of them helped me enough to fix this problem in the end i think it came down to blind luck and finding out the relevance of STSDev not building a pdb file unless you build your project with the debug build solution configuration selected.

     Anyhow this is how i finally managed to get my debugger working within sharepoint with STSDev.

    • Select Debug build solution configuration
    • build solution
    • Reset IIS
    • copy dll and pdb file into the gac (assembly\gac_msil\<assembly-name>\<version>\<assembly-name>)
    • deploy the feature

    ** for information i have used this gac registry tweak to enable me to see the full gac structure

    This finally worked for me and i am now able to debug.

  • The "Microsoft.Build.Tasks.Delete" task could not be loaded from the assembly

    The "Microsoft.Build.Tasks.Delete" task could not be loaded from the assembly C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll. Could not load file or assembly 'file:///C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Build.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available. 

    just a quick post in response to this error message.

    Edit the following files....\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.5\Workflow.Targets...\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3\Workflow.Targets and remove the following line if it is in there<UsingTask TaskName="Microsoft.Build.Tasks.Delete" AssemblyFile="$(MSBuildBinPath)\Microsoft.Build.Tasks.dll" />
DotNetDeveloper.co.uk
Powered by Community Server (Non-Commercial Edition), by Telligent Systems