question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

license extension rename broke links

See original GitHub issue

Description

IMPORTANT: if the defect is reproduced only in a workflow from within the Visual Studio IDE then do not report the issue here - instead, please report it using Visual Studio’s “Send Feedback” option that can be accessed from the Help menu OR using this link https://developercommunity.visualstudio.com.

For a defect specific to the MSTest V2 test framework, describe the issue you’ve observed.

Side effect generated by #603. Also, taking in consideration that Github support LICENSE, why add the .txt? I can open an MR, but in my opinion the problem is the file extension. Waiting for feedback.

Steps to reproduce

  • Go to the License section on README.md and click on the MIT license link

Expected behavior

Open license content

Actual behavior

404

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Haploiscommented, Mar 22, 2021

Hi,

It’s not about extensionless license files. The issue you’re having is because licenseUrl is depracated. Even if we update this, you should stop using that and use the license expression included with the package itself.

0reactions
jnyrupcommented, Mar 19, 2021

Nuget seems to have problems linking to extension-less license files

image

Scenario: I use Get-Package | Select-Object Id,LicenseUrl to list all licenses in my projects and for MSTest.TestAdapter it prints

MSTest.TestAdapter                                              https://aka.ms/deprecateLicenseUrl

As far as I understand the license displayed on show on https://www.nuget.org/packages/MSTest.TestAdapter/ is generated upon ingestion of the nuget package where it stores the license file from <PackageLicenseFile> and generates a valid link to it.

If this is changed to

<PackageLicenseExpression>MIT</PackageLicenseExpression>

the nuget pack will include https://licenses.nuget.org/MIT in the generated .nuspec file.

Optionally use a combined approach, using <PackageLicenseExpression> and embedding the license file, see https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonsoft.Json/Newtonsoft.Json.csproj

Read more comments on GitHub >

github_iconTop Results From Across the Web

old External Sources - how to break the link
To remove these broken links, you can try the following steps. 1. Rename the xxxx.xlsx file as xxxx.zip. Image 2. Open the .zip...
Read more >
Using LinkFixer Advanced Modify Links Feature
File links already broken? Learn how to use LinkFixer Advanced's modify links feature. Read this guide on LinkFixer Advanced software.
Read more >
How to find and fix broken links in Excel
3 quick ways to find and fix broken links in Excel as well as find cells containing invalid links.
Read more >
microsoft/linkcheckermd: A VSCode extension that check ...
A VSCode extension that check links in Markdown to ensure they are valid. ... It attempts to check broken links by trying to...
Read more >
Fixing Multiple Broken Links
You can fix that by either renaming the folder back, then renaming it again and this time telling it to update the links,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found