Can't create Doc. Project right after installation

Topics: General Questions
Jul 18, 2007 at 12:29 PM

I have just installed DocProject. New project types have appeared in Vusial Studio, however, when I try to create the Documentation project, I get the following error:

C:\Documents and Settings\raven\Local Settings\Temp\1y4hxs0y.sxw\Temp\ProjectDocumentation1.csproj(32,10): The imported project "C:\DaveSexton.DocProject.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

File obviously doesn't exist, I wonder why it is trying to fetch it from C: root. Where do I put the correct file path
Jul 18, 2007 at 2:01 PM

That error is a result of the DocProjectBuildPath environment variable not being defined. This could happen if you left Visual Studio open during installation.

Restarting VS may help, but you may have to restart your computer for the changes to take affect.