Comments (6)
Compatibility requires testing, I’ve. It yet had a chance to investigate to my satisfaction
from arcus.
This issue should be resolved in the next release of Visual Studio 16.5. see NuGet/Home#8772 (comment)
We are doing this work. Done now, but need some improvements. So likely shipping in VS 16.5. #8189 is tracking that work.
Until then, packages can choose to use the new technique, and leave the old url in the project and/or nuspec -- that will stop the warning, and still work in versions of VS that don't know how to show it yet.
Should we do anything for backwards compatibility?
from arcus.
If supporting backwards compatibility doesn’t break the new stuff I’d say we support both.
from arcus.
Hi! Is anybody here able to advise where there's a step-by-step guide for how to add an icon to a Nuget package with Visual Studio? I am not able to find it anywhere. My Google searches yield only links to StackOverflow and GitHub detailing the difficulties one might encounter with icons in Nuget packages.
I have tried to just select an icon (in the Package section of the Properties page of my .csproj file) but the icon just won't appear on the package when viewed in Nuget Package Manager.
Much appreciate any guidance! Thank you.
from arcus.
@BenjaminCharlton I don't have a step by step guide unfortunately, but I used the Microsoft .nuspec reference, random web posts, and investigating other projects on GitHub which lead me to add both a packageicon
and packageiconurl
tag in my csproj
file.
<PropertyGroup>
///...
<packageicon>icon.png</packageicon>
<packageiconurl>https://raw.githubusercontent.com/sandialabs/Arcus/master/src/Arcus/icon.png</packageiconurl>
///...
</PropertyGroup>
Note that the packageicon
path is retaliative to the csproj file. Also, there seems to be incompatibility with different versions of nuget and/or Visual Studio as to what lights up with which method, if any, of the provided icon. It would seem at the moment that while nuget.org happily displays our library icon, Visual Studio 16.8.6's version nuget does not.
from arcus.
Hi @rheone!
Thank you for reaching out to me. I appreciate it.
It's a shame there is no official documentation about how to do it yet. Maybe an expert will see this and fill that gap.
This looks very helpful; it's totally different to what Visual Studio generated for me.
I'm going to give it a try!
Much appreciated.
Benjamin
from arcus.
Related Issues (20)
- Source Link does not appear to work as expected HOT 4
- [TechDebt] Clean up csproj file replacing deprecated configuration
- Introduce basic support for IPv4 classful networks
- It should be possible to determine if an IPAddrees or IPAddress range is private or publc
- Arcus should provide basic support of MAC Address manipulation (network adjacent)
- Addressing CA1036 for IPAddressRange and Subnet HOT 2
- Subnet and IPAddressRange should be serializable HOT 2
- Shield for Azure DevOps shield is broken in readme screen. HOT 3
- [Doc] Add security.md file
- [BUG] Readme icon borked HOT 1
- [Doc] Create a pull request template
- [Doc] Create a style guideline HOT 1
- [Feature Request] MacAddress shold be able to map to EUI-64 bytes for legacy support HOT 1
- [Doc] Pull request numbering looks bad when making an actual pull request
- [TechDebt] Arcus should make use of Gulliver 1.0.2
- [BUG] Releasing to NuGet from Azure DevOps fails
- [BUG] MAC address regular expression is wrong HOT 2
- [TechDebt] rename Git default branch to `main`
- Create automated build and deployment to nuget
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 arcus.