Today I got so mad at my VS 2008 I desided to fix this problem I have had for some time now. I wrote another blog post about it alittle while ago.
TODAY I FINALLY FOUND A SOLUTION TO THE PROBLEM! :)
I found this blogpost about how to fix it. It is actually very easy to do.
Here is what you need to do:
Download “subinacl” here. This is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.
After installing subinacl.exe (it will be in the C:\Program Files\Windows Resource Kits\Tools folder.), drop to a command prompt and run the following batch file, which you have saved in the same folder with the filename “FIX.bat”:
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.vbproj.9.0 /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=users=f
subinacl /subkeyreg HKEY_CLASSES_ROOT\VisualStudio.csproj.9.0 /grant=system=f
Enjoy!
UPDATE: I just found out that this only solved half my problem :( Before I couldn’t create an new Silverproject or add an file to any project at all. I tried out this fix, and it solved the problem where i couldn’t add files to an project. Sadly didn’t solved my Silverlight problem…need to reinstall Vista I think…