johnvb
Jul 24 2007 8:22 AM
|
I've just tried the standard C# template for VS 2005 on a very simple application (VS2005 V3.2.0). When I run the CompileSolutionOnly.bat file it seems to be trying to find a VS2003 version of devenv.exe on my machine, and complains that the solution is the wrong version. So I manually corrected the bat file to point to VS2005, now I get the above error.
Any ideas what I am doing wrong? |
Lee Richardson
(Admin)
Jul 24 2007 10:19 AM
|
Johnvb,
Thanks for the heads up. Are you running Vista? I'm guessing this is related to Vista, since it used to work fine XP. But I recently upgraded, and now I get the exact same problem for new projects.
The problem stems from the GUID's in the Solution file and in particular the references to the Common and Service interface projects from the ASP.Net project.
If you're using Visual Studio a quick workaround is to remove and recreate the references by right clicking the ASP.Net project, selecting "Property Pages" and removing and recreating the references under the "References" tab.
If you aren't using Visual Studio (which I assume to be the case) another quick work around is to do two search and replaces in the .sln file. First find:
013644FC-1013-4C78-9B16-438FBA58546F
and replace it with:
5D12115C-17B6-4464-B88E-3F056B52D42F
Then find:
6C0932D8-337D-42C5-88E6-CF199A2239A6
and replace it with:
23022D92-9111-4D48-931E-4D95C78B1366
In the meantime I'll put together an updated template that fixes the problem. I'll repost here when that's tested and uploaded.
Hope that helps,
- Lee |
Lee Richardson
(Admin)
Jul 24 2007 2:19 PM
|
Ok, I've published an updated Template Solution called 3.2.1 that will fix both problems you mentioned. If the workarounds don't work for you, you should be able to remove the template solution and add a new one.
Hope this helps,
- Lee |
johnvb
Jul 25 2007 1:58 AM
|
Thanks for the prompt response. I'll test it tomorrow and let you know, since I'm away from the office today.
Cheers
John |
johnvb
Jul 27 2007 1:40 AM
|
Thanks Lee, I've checked the 3.2.1 template version and it works fine.
John |