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.

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 (…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below.…

751 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