Reputation: 7324
I have created a windows desktop c# vs2010 application.
I have created an installer.
On all pcs so far it installs OK.
On a new build I get this:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral,
I have installed .Net 4 Client Profile
What else do I need to prompt the user to install for my app to work?
Upvotes: 0
Views: 52
Reputation: 914
Step 1, please ensure to unable your anti-virus and some security software, perhaps, to close your firewall, some customers discover some issues are caused by firewall.
This’s a similar thread like your, you could refer to the following link.
http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/7f956744-95ff-421e-8da2-d2f0a42b881c
Step 2, you should download .NET Framework 4 from the following link (Microsoft).
Step 3, if it have some issues during installing framework, you could download ‘Collect.exe’, which could help you to collect information during installing .NET Framework 4
Step 4, try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%")
Step 5, reinstall .NET Framework 4
It will create a file named %temp%\vslogs.cab on your system.
More information about how to use ‘Collect’, you could refer to the following link.
http://blogs.msdn.com/b/astebner/archive/2007/11/21/6458047.aspx
If it has none issues during installing framework, you could re-run your program in previous issue’s machine, and try it again.
Hope this helps you! If you have any doubts and concerns, please feel free to let me know. We are going to continue to follow-up.
Best Regards
Upvotes: 1
Reputation:
You need the full .NET 4 install, not the Client Profile. The Client Profile does not include System.Web.
Upvotes: 2