logo
down
shadow

Referencing mscorlib in Visual Studio 2010


Referencing mscorlib in Visual Studio 2010

By : Dan
Date : November 17 2020, 01:00 AM
I wish did fix the issue. After some help, I have uninstalled .Net 4.5 and installed 4.0 which allowed for the project to compile, however I received the following error:
code :
 Could not load file or assembly 'Microsoft.VisualBasic.Activities.Compiler' or one of its dependencies. An attempt was made to load a program with an incorrect format.


Share : facebook icon twitter icon
Visual Studio 2008 and 2010 behave differently when referencing assemblies in the file system?

Visual Studio 2008 and 2010 behave differently when referencing assemblies in the file system?


By : seamason
Date : March 29 2020, 07:55 AM
hope this fix your issue It may be useful to either
(1) go to Tools\Options\Project&Solutions\Build&Run and change MSBuild verbosity to 'diagnostic' and then build and in the Output window see how the MSBuild reference resolution logic is working for those assemblies. That is, if VS hasn't already done something ridiculous to the underlying .csproj file
Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'

Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'


By : Deep
Date : March 29 2020, 07:55 AM
To fix the issue you can do Microsoft Visual Basic for Applications Extensibility 5.3 (VBIDE) is the name of the devil!!!
Apparently this is a reference which my co-worker had somehow, but i didn't and because of this reference, EVERYTHING died. We discovered this because if you check "Show all files" on the specific project (which is a VB.NET project) you get the sweet References folder, which is normally not there for VB.Net project it's seems. Where the Tab failed us, the folder showed us one reference with a warning. Apparently this is something the compiler or VS2010 couldn't tell me but was exactly what was messing it up for us.
Visual Studio 2010 C++/CLI in Static Library Mode: could not find assembly 'mscorlib.dll'

Visual Studio 2010 C++/CLI in Static Library Mode: could not find assembly 'mscorlib.dll'


By : Yong Qiu
Date : March 29 2020, 07:55 AM
To fix the issue you can do I am working on a C++/CLI project with VS 2012 in Dynamic Library (.dll) and x64 mode. ,
If I switch the mode to Static Library
How to direct the RazorEditor in Visual Studio to pickup the script# mscorlib.dll instead of .Net Framework mscorlib.dll

How to direct the RazorEditor in Visual Studio to pickup the script# mscorlib.dll instead of .Net Framework mscorlib.dll


By : Mario Brenner
Date : March 29 2020, 07:55 AM
it fixes the issue Razor uses a special config section, something like this, it doesn't use the compilation element.
Visual Studio (2010 & 11) keep referencing the .net 4 assemblies, even after .net 4.5 is installed

Visual Studio (2010 & 11) keep referencing the .net 4 assemblies, even after .net 4.5 is installed


By : Drakus
Date : March 29 2020, 07:55 AM
With these it helps You have to update the target framework version and choose .Net 4.5 in project properties:
Related Posts Related Posts :
  • Can I organize Git submodules in a flat hierarchy?
  • How to make a server reply after receiving a request/data
  • Stored Procedure works in DB but not in C# code
  • MVVM WPF Programmatically add Child Elements
  • NCrunch and PostSharp Logging clash
  • Increasing memory usage in socket client
  • Multiple DropDownList but same action
  • How to get application memory usage as shown in Task Manager?
  • Exposing interfaces instead of concrete classes
  • How to get only postal_code data from google api?
  • Is there a way to get rid of the (by dot42) using community licence?
  • Why must I implement a function for an interface in vb.net which apparently doesn't need to be implemented in C#
  • How to remove HTML tags from the gridview Row
  • Get public post from Facebook's Graph Search API 2.x with Facebook SDK for .NET
  • C# DLL Export to Inno-Setup - Error E0434F4D
  • syntax error insert into database
  • By-pass else block of int.TryParse in Lambda Syntax
  • Retrieve "property getter" from the property name
  • Implementing generic class and multiple interfaces
  • data bind DropDownList with OleDbDataReader from Ms access 2013
  • extract specific data from HTML -CDATA- pattern in C#
  • how to compare password with salted hashed password
  • Excluding one item from list (by Index), and take all others
  • How do I find out which argument is invalid when receiving 'The best overloaded match for (...) has some invalid argumen
  • How do I use a linq query to update the underlying database table
  • How to change the coordinates of a text in a pdf page from lower left to upper left
  • Entity Framework Error: error loading specified metadata resource
  • Writing one character at a time in a C# Console Application?
  • Read write barcode data without using barcode scanner device
  • Asp.net Website is only accessible on our company internet connection and not from other network
  • Generic method to map objects of different types
  • Back button control in windows phone app
  • Get matching enum int values from list of strings
  • Ajax Control Toolkit AutoCompleteExtender displays html source character by character of the current page as autocomplet
  • How to select a node with namespace from XmlDocument?
  • multiple foreach loops inside while loop
  • Why does setting a MinimumSize break the table layout?
  • WatIn SelectList().SelectByValue() return error Run script failed
  • SignalR not works on Google Chrome
  • Sync sent mail with Sent folder
  • return a View and File in a single method in ASP.Net MVC
  • FastReport mvc GetParameter() returns null
  • How to check datatable select method returns datatable c#
  • How to sort an array based on the occurrences of the elements in a string in C#?
  • App crashes without throwing any exception in windows phone 8.1 xaml
  • How to get values from command argument from gridview on link button's click?
  • What's the proper way to convert a Vector3DF into byte array?
  • Is there a way to place a default image for control in edit/view mode?
  • How to set a click event for button in repeater control
  • how to make communication with two different process in same computer?
  • Which is the best crash logging tool for Windows Phone 8 Apps
  • Custom MarkerStyle in MS Chart Control
  • while opening the page getting error there is no row at position 0
  • Error message in Monogame: Unhandled Exception: System.DllNotFoundException: SDL2.dll
  • How to extract "Message" part from Google API error message
  • Receiving Gigs of data from Mobile Service on UpdateAsync method
  • Can't figure out what this is? Unrecognized escape sequence (Mono)
  • Calling stored procedure from another stored procedure with parameters
  • Bind Strings from an .resw file with ReswFileCodeGenerator in XAML
  • wpf DataGrid column index is not saved
  • shadow
    Privacy Policy - Terms - Contact Us © ourworld-yourmove.org