MSDiscoCodeGenerator Failed

Posted on 2009-05-16
Medium Priority
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 http://msdn.microsoft.com/subscriptions/


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.


Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

718 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