MSDiscoCodeGenerator Failed

Posted on 2009-05-16
Last Modified: 2012-05-07
When trying to update the web refererences VS2008 errors with 'The custom tool MSDiscoCodeGenerator failed. Could not retrieve the current project. Have reinstalled SQL Server Compact 3.5 and run 'devenv /resetskippkgs' as instructed but still hasn't resolved this
Question by:cehrnow
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 11

Expert Comment

ID: 24405375
from MSDN

This is a known bug in Beta2 and it has been fixed for the final release. Update your dot net framework and visual studio. If you are an MSDN subsriber you can find the fixed version in the June Community Tech Preview located here

Author Comment

ID: 24405701
Currently running VS2008 SP1 and .NET 3.5 SP1 - do either of these really need updating ?
LVL 11

Expert Comment

ID: 24408772
Hotfix for VS2008 SP1 Available

In VS2008 SP1 our team added a significant new feature: live semantic analysis of open files (or background squiggles as we called it internally).  Unfortunately, soon after release we found a few small issues with the release.  They are:

Incorrect errors when you open a solution with breakpoints in .aspx.cs files.
Incorrect errors regarding conversions of constants in rare cases.
An issue importing metadata from some non-C# assemblies.
Some timing issues where errors would appear and then disappear during typing or file/solution opening.
We spent some time analyzing the issues, and weve come up with a hotfix to address them.  If youre seeing any issues where you get live semantic errors that you dont expect, please download this fix and try it out.

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

LVL 11

Expert Comment

ID: 24408775
Visual studio update site...

it seems to look like a VS bug try any parallel installation of vs 2005 and check if the web reference adds in it gives error or not.

thanks ...


Author Comment

ID: 24410342
The project opens okay and the web reference is there. However, it is when doing Update Web Reference that the message appears. This is the same before and after applying the HotFix you detailed.

Accepted Solution

cehrnow earned 0 total points
ID: 24581216
Eventually reverted projects back to .NET 2 Compact Framework and reinstalled everything - nightmare !

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
In my previous article ( we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question