.net-assembly Questions
2
I have been trying to fix version conflicts in my .NET 6 console project. I fail to find a way like app.config's BindingRedirect or CodeBase, which worked for this case in .NET Framework.
Is there ...
Disputant asked 3/4, 2022 at 14:22
5
Solved
I've read about this technique: Shared assembly info in VS projects - JJameson's blog
Basically it means to create a SharedAssemblyInfo.cs with versioning information about the assembly, and addin...
Chemiluminescence asked 21/7, 2011 at 5:37
3
I'm using Visual Studio 2022, v17.0.4. I want to create new key for my assembly to strongly name it. According to documentation: "In the Choose a strong name key file box, choose Browse, and t...
Cyclamate asked 27/12, 2021 at 18:55
23
This error
The following errors occurred while attempting to load the app.
- No assembly found containing an OwinStartupAttribute.
- The given type or method 'false' was not found. Try specifying...
Archiepiscopal asked 29/8, 2016 at 2:50
3
Solved
I'm trying to load an assembly with the AssemblyLoadContext (exists from the version 3.0 of netcore), instantiate an object and cast this object to an interface, but I get a cast exception error.
T...
Lyte asked 2/10, 2019 at 9:0
5
Solved
Any idea to solve this problem?
I just created a new project and I want tu use System.IO.Pipes
I install the package System.IO.Pipes with NuGet, he is my reference directory but when I try to buil...
Melar asked 10/3, 2019 at 18:56
6
Solved
I have c# application and when I made a change, I am getting the error message:
An unhandled exception of type 'System.TypeLoadException' occurred in
WindowsFormsApplication1.exe
Additional...
Citation asked 21/4, 2015 at 12:20
3
I found several threads relating this issue, but none of those solved my issue.
I have been previously using log4net version 1.2.10.0 in my ASP.NET services. I have updated it to current version ...
Houdon asked 17/3, 2017 at 7:33
3
Solved
This might be a pretty simple question but I'm totally lost and searching for an answer hasn't been helpful.
I've got some powershell code to display a simple GUI with TextBoxes. Some of the textb...
Zingg asked 6/1, 2015 at 3:46
37
Solved
Things I've tried after searching:
in Web.Config put a binding on the old version:
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" cultur...
Schaerbeek asked 27/3, 2014 at 10:57
4
Solved
I have an asp.net web api application in which I have this line :
using System.Web.Http.Results;
My problem is that the namespace isn't recognized, I verified the dll system.Web.Http exists in t...
Collen asked 5/12, 2016 at 14:50
2
Solved
Some background: I have a project which collects all the diagnostics (trace source) information from the other projects within my solution. I needed a way to get the main project name so that I cou...
Gloss asked 19/2, 2015 at 19:15
2
Upgrading from .NET 5 to .NET 6 is proving not so straightforward as I expected.
All my unit test projects fail to compile due to the following error
Severity Code Description Project File Line Sup...
With asked 9/11, 2021 at 14:56
14
Solved
I need to recreate a provider in my web.config file that looks something like this:
<membership defaultProvider="AspNetSqlMemProvider">
<providers>
<clear/>
<add connection...
Suborn asked 10/11, 2009 at 20:23
11
Solved
I've seen this: VSTS 2010 SGEN : error : Could not load file or assembly (Exception from HRESULT: 0x80131515) and none of the answers work. It also doesn't appear when I build or anything. I can ru...
Apices asked 15/12, 2011 at 17:48
6
Solved
I'm having a strange problem with deploying an application, which references an assembly, written in managed c++.
I've created an assembly X, compiled it and referenced it in an exe file, called S...
Maitland asked 4/6, 2012 at 8:47
9
I have a WPF application . While building it I am getting the following error:
Could not load file or assembly or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x...
Wellesz asked 14/2, 2013 at 9:21
10
Solved
How do I check the version of a dll on OS X?
The dll is managed, created in C#, that's all I know.
Brahmanism asked 13/4, 2014 at 9:27
4
I asked this question on the Unity Forums but unfortunately no response there. Since this seems to be an error/issue with Visual Studio itself I am asking here as well.
Situation
I am unable to...
Lelahleland asked 11/5, 2020 at 12:41
1
I have been searching for a solution for a couple of days. None of the answers work in my case which is to reference (load?) assemblies .NET into app domain from PowerShell session.
I load referen...
Cabriole asked 20/11, 2015 at 8:42
4
I have developed a SharePoint provider hosted (MVC) app and hosted web application in iis of azure VM (WIN SERVER 2012).
When we try to use application using an app, It throws below error.
Se...
Refurbish asked 30/1, 2017 at 13:51
3
Solved
I am migrating from a .NET MVC 5 Web Application to a .NET Core 2.2 Web API project along with five .NET Standard 2.0 projects all housed under one solution.
I am now receiving 28 warnings (MSB32...
Pauwles asked 16/6, 2019 at 4:28
5
Solved
None of what used to work in RC.x helps anymore.
I have tried these:
PlatformServices.Default.Application.ApplicationVersion;
typeof(Controller).GetTypeInfo().Assembly.GetCustomAttribute<Asse...
Pietrek asked 22/9, 2016 at 23:2
2
Solved
I am getting 'drop assembly failed because it is referenced by object' error.
As I understand I need to drop all functions referenced to this assembly before it's drop.
Is there any universal way h...
Trelliswork asked 29/2, 2016 at 6:36
1
I am getting the MSB3277 error code when I am building my project in VS2015 RC. The full message is:
1>C:\Program Files
(x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5):
...
Poppycock asked 22/10, 2015 at 10:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.