VS2003 'Add reference' dialog - no assemblies shown in the list

D

D.Z. Simpson

Hi all,

Somehow VS2003 CF project handling on my PC got broken, the problem seems to
be that VS no longer knows where to find the CF assemblies.

When creating a new CF project, the References list in the solution explorer
is empty and the project won't compile until I add manually the need
assemblies from the CompactFrameworkSDK folder.

When I open an existing project, created before that problem appeared, I get
a bunch of 'cannot find assembly' messages, and again I must manually add
the assemblies or explicitly set the assembly search path of the project.

Does anyone has an idea how to let VS know where to look for the CF
assemblies, e.g. a registry key or a config file option? Reinstalling Visual
Studio and the .NET Framework and SDKs does not help - I tried that several
times in the last week.

Explicitly setting the CF assembly paths is not an option because the
projects I work on are redistributed as samples with our company's CF
control, and developers that open them later will likely have the CF
installed in a different folder...

Any help will be greatly appreciated.

TIA
Don
 
P

Peter Foot [MVP]

Did you do a "Repair" or completely uninstall VS and then reinstall?

Peter
 
D

D.Z. Simpson

Yes, I tried that too but of no avail. Now I've managed to solve that
problem by manually deleting some corrupt files in the "C:\Documents and
Settings\Slavcho\Local Settings\Application
Data\Microsoft\VisualStudio\devices\7.1" folder and then reinstalling
again.It seems the VS2003 setup does not overwrite these files if they
exist.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top