mscorlib Questions

19

Solved

I have a website developed in ASP.Net 2.0 that is throwing the error "Exception has been thrown by the target of an invocation" in the production environment. It was not throwing this error in...
Homologate asked 15/3, 2009 at 16:47

6

Solved

When I'm trying to update or configure service reference in .NET 4.6.1 project, VS throws next error: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.6.1'. This can hap...

22

Solved

We are currently migrating all our solutions from 2005 to 2010 (that's right, we're skipping 2008!). We are also changing our file structure to make some more sense (some common projects would be n...
Stotts asked 31/3, 2011 at 10:47

3

I am trying to update a service reference but I'm getting the following error: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framewo...
Dorking asked 2/5, 2017 at 16:44

2

Solved

I am creating a C++/CLI dll that will be loaded into a legacy c++ application. The legacy application does this with a traditional call to LoadLibrary. Both the application and the C++/CLI dll are ...
Cahan asked 19/2, 2012 at 20:54

3

Solved

I am getting the following error when calling a method in a webservice, not developed by me. An unhandled exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll ...
Bywaters asked 11/2, 2014 at 10:19

1

I was investigating a build failure recently and saw a warning about conflicts between assemblies. I dug deeper and MSBuild told me this: There was a conflict between "mscorlib, Version=4.0.0.0...
Yaakov asked 25/10, 2016 at 14:27

3

Consider the following program, with all of HttpRequestMessage, and HttpResponseMessage, and HttpClient disposed properly. It always ends up with about 50MB memory at the end, after collection. Add...
Trimetallic asked 19/12, 2014 at 6:58

5

I am facing very strange problem in Visual Studio C#, when I Press Start or {F5} key for running my Database application, I am getting "Source not available" error and "Source information is miss...

2

Solved

What does the following exception means? System.NotSupportedException was unhandled Message: An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional i...
Pantisocracy asked 31/1, 2014 at 16:11

3

Solved

I somehow brought my project to a state where Visual Studio 2013 fails to compile it with a ridiculous error: The type 'System.Collections.Generic.Dictionary`2' is defined in an assembly that is...
Tripos asked 16/1, 2015 at 1:48

4

Solved

Today I cloned my windows universal app project from github onto a new machine running a new install of Visual Studio 2015. After the project loaded, I noticed that all of my pages and properties ...
Kyte asked 16/9, 2015 at 11:41

3

Solved

i try to compile some code with Roslyn, but get the following error message: CS0012: The type 'Func<,>' is defined in an assembly that is not referenced. You must add a reference to assembly ...
Dissoluble asked 13/7, 2015 at 9:8

4

Solved

How is this possible not to include stdlib (mscorlib.dll) to my C# application when compiling it? As far as I know, all classes inherit System.Object class, which is defined in mscorlib.dll. What i...
Hartzel asked 1/8, 2010 at 18:1

3

Solved

I tried to google. Microsoft Connect doesn't accept bugs for Service Bus. Azure Portal sends to either MS forums or to StackOverflow - so here I am. The question is really in the title: how do I r...
Victuals asked 4/2, 2015 at 22:46

1

As far as I understand these are the best examples for each of the SpecialFolder members: Desktop C:\Documents and Settings\ibboard\Desktop Programs C:\Documents and Settings\ibboard\Start Menu\Pr...
Havoc asked 15/9, 2015 at 14:6

1

I installed VS2015 RTM en VS2013 Update 5 RTM. Now my solution is not building because I have an interface that has as returntype a X509Certificate2. Now my fakes aren't build. I also created a tes...
Michellemichels asked 28/7, 2015 at 6:15

1

Solved

I run application targeted to .NET Framework 4.0. Then I open modules to check what libraries are used. I see that mscorlib version is 4.6.96.0. But in output windows I can see that Framework 4.0 i...
Globule asked 12/9, 2015 at 10:27

3

In NetBeans using Java I can open java.lang.String class and I see that class source code. If I try to open System.String class in VisualStudio I see methods signatures only. Is it possible to ins...
Mcgovern asked 10/10, 2012 at 10:10

4

Solved

I'm trying to use VS08SP1's default project system to invoke a C# compile in explicit x64 mode (as distinct from AnyCpu). When I explicitly mark a module as x64, I get a: warning CS1607: Assembl...
Bucovina asked 13/8, 2009 at 15:31

1

Solved

Firstly, I've seen this question, and while the problem seems similar, it is not the same. I'm running a trimmed down mono, built without the 4.5 profile using ./configure --with-profile4=yes --wi...
Tamp asked 13/5, 2014 at 8:46

1

Solved

I'm writing an application to read the first line of a txt file and write to Excel. The input line is like this, which has 94 characters in total, the last 8 can be blanks or 0's (the x's are actua...
Wiggler asked 6/9, 2013 at 23:36

2

Solved

I'm using Reactive extensions in my WPF application. And while using it I'm getting below ambiguous reference error. The type 'System.IObservable<T>' exists in both 'mscorlib.dll' and 'Syste...
Tubbs asked 29/7, 2013 at 15:50

2

Solved

I am having a problem with an MONO application, I'm trying to compile the project (with MonoDevelop) so as to load the library run mscorlib.dll 4.0 instead of version 2.0. (I need System.Type.op_Eq...
Unpractical asked 4/6, 2012 at 9:18

2

I'm investigating an exception that a colleague just got while running an application through Visual Studio 2010: System.NullReferenceException was unhandled by user code Message=Object reference...
Quinquefid asked 25/10, 2012 at 0:52

© 2022 - 2024 — McMap. All rights reserved.