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, Arch Linux

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
SQL 2008 not loading
Is SQL 2008 supported on Win7. I just downloaded it and tried to install, but it continues to get hung up on the reboot of system failure. I even installed the latest SP1 version update to no avail. Any advice on that? Or where else to go for help?:confused:
Microsoft Office
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:...
MS SQL 2008 Express
I downloaded and installed MS SQL 2008 Express into my new W7 Ultimate system. I also installed the SP1, which was mentioned in a info window when I installed the SQL. After a reboot, the PC seemed to take a long time to start, then I started SQL Server Management Studio but could not login to...
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....
DirectX SDK Nov 2008
I tried installing DirectX SDK (November 2008), but it seems that Windows 7 build 7000 already comes with it. When I try to uninstall it, it says (picture on bottom). This is with no programs running at all. What process uses this .dll?

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:36.
Twitter Facebook