Click here to Skip to main content
12,813,994 members (31,193 online)
Rate this:
Please Sign up or sign in to vote.
See more: VS2008 C# Visual-Studio
I installed this version of VS C# in Win XP sp3 and it worked as it should but in Windows 7 ultimate v1 it turns odd to me. Normally if I build a solution,there should be some .exe or .dll file in Release folder but this folder always be empty and I can only find the built files in the Debug folder instead.
Could you please tell me if I can fix this issue?

Plus, this version of mine has another nasty problem that the option "Allow unsafe code" in Build tab of Project Properties window doesn't work, and instead I have to use keyword unsafe in my code to be able to run my project.

Your help would be highly appreciated!
Posted 1-Oct-12 13:19pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The "Allow unsafe code" option only lets you use the "unsafe" keyword. It does not replace the "unsafe" keyword.

As for the build, either you're not changing the build configuration option to Release, or your solution file is messed up. Try showing hidden files in your project folder (in Explorer) and delete the .suo file, then reopen the solution.
Right, a 5. First paragraphs is just the fact, second one -- very likely the case, and a good clean-up advice.
I also recommend, having VS closed, to delete all temporary files, with "obj" subdirectory -- this is the complete clean up.
supernorb 2-Oct-12 13:57pm
If so I have to do that every time I create new project? My computer always shows hidden files, I like so, and I don't see any file with .suo extension in my projects. Anyway, thanks for the 'unsafe' using explanation.
supernorb 2-Oct-12 14:02pm
Sorry, the last comment of mine was made when I hadn't tried changing the build configuration option to Release. After doing so, it works as it should. Thank you very much and of course with my 5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100