Comments (3)
I don't provide a binary release, only source, so as I understand it the strong naming is not on my end to release. It would only apply if I was providing a binary release.
If I'm misunderstanding the request, please clarify. I'm happy to do anything reasonable that helps out and doesn't affect other users.
from mimetypemap.
In my case I have a solution, and every project within is an assembly with a strong name. And as you know, assembly with strong name can't use assemblies without it. So I cannot use your package in my solution. I always get an error Could not load file or assembly 'MimeTypeMap, Version=2.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
Problem is with PublicKeyToken which is null. For example, it's not possible to put your library in GAC. So any user who want to place it there will encounter the same problem.
Just generate an *.snk, sign asselbmy with it and update NuGet. There is plenty of examples on the internet "signing assembly in 5 minutes" and so on.
To create and sign an assembly with a strong name by using Visual Studio
- In Solution Explorer, open the shortcut menu for the project, and then choose Properties.
- Choose the Signing tab.
- Select the Sign the assembly box.
- To create a new key file, choose <Newβ¦> and enter its name in the Create Strong Name Key dialog box.
from mimetypemap.
Thanks for explaining. I actually don't manage the NuGet repository. You are free to create your own strong named version for your use.
from mimetypemap.
Related Issues (20)
- Nuget package using GitHub actions HOT 5
- broken nuget package HOT 1
- Content-Type: application/x-msdos-program HOT 2
- Requested mime type is not registered: audio/mp4 HOT 3
- Mime type not recognize HOT 7
- Official mimetypes vs. extension mapping for m4b files HOT 4
- Define TryGetMimeType & GetMimeType HOT 1
- GetExtension should return null in case it didn't find the extension HOT 4
- NuGet package not updated HOT 3
- Recent commit introduced breaking changes and ambigous behavior HOT 1
- NU1701 Package 'Google.GData.Extensions 2.2.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project. HOT 3
- GeoJson HOT 1
- Consolidating Efforts HOT 1
- Requested mime type is not registered: audio/amr HOT 1
- NuGet package not updated HOT 1
- Requested mime type is not registered: text/rtf
- Nice collection, but there is one issue
- Volunteer for NuGet deploy script
- NU1701 returned on NUGet package in .Net Core 3.1, but functionality is perfect HOT 6
- missing .rmvb HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimetypemap.