Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: VS 2008 or Win 7?

20 May 2010   #1

Win 7 Pro 64 Bits
VS 2008 or Win 7?

I am taking a couple C# classes at school and I finally got VS 2008 set up on my home computer. I am having one issue that I'm not sure where to go looking.

At school, the program is installed on XP Pro.
At school, I can read, output, and create files that are saved on my hard drive. I know any code I have used is correct because I can open up the files my code creates with other applications without issue on the school computers.

At home, I have the program installed on Win 7 Pro x64. (I just upgraded my home comp so I'm still figuring out this new platform honestly.)

At home, everything runs, etc, but it will not create files. I can see the drives working, but nothing is written. I have tried several drives - all failing.

I'm assuming this is a flag or an environment setting somewhere on my installation or either VS or Win7 but I have no idea where.

I'm hoping someone here can help.

My System SpecsSystem Spec

20 May 2010   #2

Windows 10 Pro x64

You could upgrade to VS2010
My System SpecsSystem Spec
20 May 2010   #3

Windows 7 32 bit

Are you using the C# express version? If you look around you should be able to find an .iso image for download with all the Visual Studio 2008 SP1 express editions. I tried VS2008 on Vista64 and took it off. But this SP1 express installed easily and works fine.
My System SpecsSystem Spec

21 May 2010   #4

Win 7 Pro 64 Bits

I dont think its VS thats causing the troubles.
Here is a screen shot of some error messages.

VSErrors.jpg picture by tnickle - Photobucket

PS: I updated to VS 2008 Service Pack 1 with the Express C# added. This ss was taken with those additions installed.
My System SpecsSystem Spec
21 May 2010   #5

Windows 7 32 bit

What do you mean you updated to service pack 1? What I suggested was getting an .iso download that has SP1 slipstreamed/integrated. That's a different ball of wax. It just goes on smooth. Don't try manually adding SP1 to something that's already broken.

Edit: I'm pretty sure this is the .iso I used. Remove the crap and just install clean after burning a CD from it:
My System SpecsSystem Spec
21 May 2010   #6

Windows 7 Ultimate (x64)

The error messages in the image are hidden, so I'm assuming it states 'Cannot find or open file...". Do these files actually exist (the ones in C:\Windows\assembly\.....)? These are not created during compilation they are installed. If they do not exist, then either the required .NET SDK is not installed, or your project or VS configuration is incorrect. I don't personally do any .NET development but to me it seems that it is unable to locate the required dependancies. Try to create a new (blank) C# project and add the most basic "hello world" code to it. If that runs then it's definitely your project file or VS config.

Also, from your screenshot it seems like the executable (C:\Users....\Debug\ICA5.exe) is created and loaded successfully - in fact it's the only file in the list that actually loads!

Other things to try:
Always run your Visual Studio as Admin (right-click, 'Run as administrator').
Ensure that you develop with a user account that has Admin rights.
Disable UAC.
(these are not required but I find it helps minimize problems on my dev machines)

Also, the files that are missing in your screenshot (C:\Windows\...) actually exist on my system (Win 7 Ultimate x64). I have VS2008 with SP1 installed afterwards, as well as VS2010.

Hope this helps
My System SpecsSystem Spec
21 May 2010   #7

Windows 7 32 bit

If you could install SP1 afterward you probably didn't have the problem in question. If he can't install the slipstreamed disk is the best shot. W7 may be a bit different than Vista but with Vista64 I could not get the thing to install no way no how. With the slipstreamed disk the stuff went on without a hitch.

It's probably a minority of PCs with the issue.
My System SpecsSystem Spec

 VS 2008 or Win 7?

Thread Tools

Similar help and support threads
Thread Forum
Does A x64 Sys' Needs x86 Updates? (C++ 2008 SP1 x86)
hi, 1st let me say that going through this site i learned alot of things about my computer. this site is a jewel. Thank You. question: my sys is win7Ul_x64, all my C++ are x64 installation. Windows Update Keeps Asking Me To Install : MS11-025: security update for Visual C++ 2008 SP1...
Windows Updates & Activation
VS 2008 installation on Win 7 - help!
Hi friends! I just faced an error while installing VS.2008, in Win7...:confused: My computer is not old, and the VS DVD is just ok, and it used to work, in XP and Vista, without any problem. But here i get an error all the time, and nothing installs at all. There's a snapshot of what happens:...
install vs 2008
hi , i was trying to install my vs2008 and i didnt make it and didnt find the answer for this one ....the out put error is : "this computer does not meet the requirements to install this software" ---------------------------------------------------------------------- Requirements and...
Installation & Setup
Server 2008 R2
I know this is a Win & forum but I am thinking about setting up a Win Server 2008 R2 server to learn how to administer a server. As you might guess I really know nothing about how to even get started and am not an IT person, just someone that likes to tinker with computers. Can someone...
VS 2008 & SQL Server 2008 compatibility
While I'm still stabilising the overclock on my PC, can I ask if anyone has installed Visual Studio 2008 & SQL Server 2008 on Windows 7 x64 7600? If you do get any hiccups during install but manage to install it, does it run alright? Any problems? I'm interested in C# and ASP.NET development only....
Server 2008 r2 x86?
All I seem to be able to find is the x64 version of R2. Does anyone know if they're actually making a 32bit version?
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:04.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App