Microsoft Visual Basic 2010 Error
2013-08-25, 10:21 PM,
(This post was last modified: 2013-08-25, 10:22 PM by locmanis.)
#1
Hi,

Today I wanted to create new app with MVB2010 but when I tried to create new project I got 3 warnings.

Warning 1 Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0,Profile=Client'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted. 0 0

Warning 2 The reference assemblies for framework ".NETFramework,Version=v4.0,Profile=Client" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. WindowsApplication1

Warning 3 The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. WindowsApplication1


I googled about this and found some forum post about this issue but I still can't find how to remove these warnings. I have .NET 4.0 framwork.

Here are solutions that I've found.
1. Go to the property page of the website
2. set the Before Running start up Page "No Build"
3. Target framework as per the your need for me its 3.5
4. click on apply and build the solution. every things will be fine.
I don't even know where I need to go Shock
Maybe someone know?

2nd solution
- I deleted the "obj" folder in the project root.

- I deleted all the "Interop" files in the bin\Debug folder. (the debug output folder)

I can't find obj folder only In project that I have created.
2013-08-26, 02:54 AM,
#2
Delete all framework files and reinstall framework

Please quote me if you are replying to me so I would get a notification.

Get Youtube likes/views, SEO backlinks for only $5. Meet fiverr.

Get everything you need for Internet marketing! Meet SeoClerks.

Thanks for using my affiliate links Smile
2013-08-27, 02:18 AM,
#3
1) .NET v3.5 is not installed; v4.0 is trying to build v3.5
2) You installed a previous version of Visual Studio 2010 (such as the Beta or RC) and the .NET Framework directories were not cleaned up.
3) There is a special registry key set which keeps v3.5 from resolving.
2013-08-27, 02:28 AM,
#4
(2013-08-27, 02:18 AM)p3kki Wrote: 1) .NET v3.5 is not installed; v4.0 is trying to build v3.5
2) You installed a previous version of Visual Studio 2010 (such as the Beta or RC) and the .NET Framework directories were not cleaned up.
3) There is a special registry key set which keeps v3.5 from resolving.

I have installed only VS2010.
When I try to install .NET framework v3.5 I get error.
Days ago I downloaded Tuneup utilities maybe something with that?
2013-08-27, 02:31 AM,
(This post was last modified: 2013-08-27, 02:37 AM by p3kki.)
#5
You have newer version of framework then, what error you get exacly? And no Tuneup can't do anything releated to these errors.

To see what version of framework you have go to:

Start menu, choose Run.
In the Open box, enter regedit.exe.
You must have administrative credentials to run regedit.exe.
In the Registry Editor, open the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup

and tell me what "Folder" is next after "NET Framework Setup".
2013-08-27, 03:51 PM,
#6
Here are picture: http://prntscr.com/1nokvu
2013-08-29, 12:56 AM,
#7
After endless hours uninstalling and reinstalling visual basic and net framework, downloading net cleaners and SDK and other shit I was was very desperate BUT I uninstalled old VB2010 express and downloaded new VB2010 Professional and it worked plus now I have better VB with more options.


Possibly Related Threads...
Thread Author Replies Views Last Post
  help templet error W3C vip2 0 67 2017-08-24, 10:45 PM
Last Post: vip2
  Help Needed Visual Studio Installer? yesman 7 1,063 2016-09-08, 08:45 PM
Last Post: styx
  HttpWebRequest POST Method Visual Basic . net QwertySon 5 1,414 2016-03-17, 02:59 PM
Last Post: QwertySon
  Looking for someone to make me an CS:GO Cheat. Basic _Wolf 4 685 2015-06-04, 01:56 AM
Last Post: _Wolf
  4 Ways to Delight Visitors With Your 404 Error Page HawkEye 0 529 2015-03-29, 11:59 PM
Last Post: HawkEye




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top