Hello,
I've installed Visual Studio 2005 MSDN and I have problems with C# projects. Whenever I try to start a C# project (Windows Application or something else) I get message box: Microsoft Visual Studio "Absolute path information is required".
Solution file is created in specified directory (and *.suo file), but nothing else. I also cannot open/convert C# projects from VS2003.
I don't have any blocked/protected directories. Everything works with administrator permissions.
I have my system partiotion (C:) and all apps (including VS) are installed on drive D:. I've never installed any VS (2003, 2005 BETA) or any SDK on this machnie. Only .NET framework "runtime" (no SDK).
I've tried to create C# projects on different partitions - nothing helps. I also reinstalled VS2005.
But I can create all kinds of projects (including CLR) in C++! Also I can create web pages in ASP .NET (C#).

"Absolute path information is required" bug.
SCChoose
try D:\
i bet it will work...
cych
Same happens to VB projects, but as I wrote before, C++ "Win-Forms" projects works ok.
I also tried to play with Windows registry and change some Visual Studio directories by hand, but it also didn't help.
Thanks,
Bozydar
richqwerty
The application event log contains the details about what went wrong (in 99% of the cases). These detailed events are added to the log when Visual Studio is installed. You may have to scroll down if it's been a while since you installed the product. Also, you can force these events to be logged again by running 'Devenv /installvstemplates' from a command prompt.
It doesn't sound like this is the kind of problem that the template logging system is going to be able to provide much detail. The only real solution will be found by identifying the source of the error. The message comes from an exception in the CLR, I need a call stack at the point the problem occurs.
Below is a set of instructions for how to collect this dump. Anyone able to collect a dump can email it to me directly.
1. Install Debugging Tools for Windows. You can install them from http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx (assuming you're running on an x86 machine; other platforms are also supported).
2. Create a text file with the following lines in it -- call it dump.scr:
sxe -c ".dump /u /o c:\dump.dmp ; g" clr
g
3. Open a command prompt
4. Change to the directory where you installed Debugging Tools for Windows
5. Type in the following command:
windbg -G -c "$<dump.scr" <full_path_to_devenv.exe (in quotes if necessary -- omit the angle brackets>
This will run Visual Studio under WinDbg, which is a low-level debugger that can be easily programmed to gather minidumps. The dump.scr file which you have written in Step 2 instructs WinDbg to gather a minidump on all access violations, and place the minidump at c:\dump.dmp. Basically, the idea is this: the error you are seeing resulted from a Common Language Runtime exception. What we want to do is catch the exception at the point it is thrown, and have you mail us the minidump (c:\dump.dmp) files (note: there may be multiple files (e.g., dump1, dump2, etc.); we need all of them). That way we can take a look at the callstack in the dump files to see what might be happening.
6. When VS starts, run through the scenario that makes the problem happen.
7. At the point that you see the error message box, copy the c:\dump.dmp file somewhere and email it to us. Please don't attach the minidump to the bug report, as it may contain information about your machine, directory structure, etc.
-Stephen
VSCore Development
Jonathan R
I changed ProgramFilesDir (HKLM/Software/Microsoft/Windows/CurrentVersion) to
c:\Program Files.
now it works.
that's great!
thank you very much!
Rory VLI
Regards,
Bozydar
PS. Error string "Absolute path information is required." is olny in the mscorlib.dll (system partition) .
Toadkillerdog
I've uploaded a screenshot: http://img90.imageshack.us/my.php image=vcs20055sn.png (Warning: German ;))
But the reason must be the changed Program-Files-Directory
cdmdc
-Stephen
VSCore Development
HyperKat
RCHINTH
Matthew Wiggins
Thanks,
-Prasadi
mdelvecchio
Regards,
Bozydar
Roy_Welch
Let us know what errors you see there.
Thanks,
-Prasadi
MarkX
i have the same problem, with this event-log message:
"One or more Visual Studio templates is invalid and will not be displayed."
But now, i discovered the problem:
I changed my ProgramFilesDir (HKLM/Software/Microsoft/Windows/CurrentVersion) to d:
If you change your ProgramFilesDir back to c:\Program Files it should work (it worked an my machine ;)
But indeed, imo it's a bug...
Witi
JordSTAR
You can install the 2.0 framework from here: http://msdn.microsoft.com/netframework/downloads/updates/default.aspx
I apologise for the inconvenience this is causing you. If my suggestion does not resolve the issue, I will forward this onto the CLR team for investigation.
Thanks,
Prasadi