Code Monkey home page Code Monkey logo

Comments (12)

baynezy avatar baynezy commented on July 18, 2024

James,
Thanks for your contribution. I am having trouble replicating this though. I have created a new project and installed the previous version via Nuget;

Install-Package Html2Markdown -Version 1.0.2.29508

Then I update to the latest:

Update-Package Html2Markdown

This brings down the latest version of LinqExtensions.

PM> Update-Package Html2Markdown
Updating 'Html2Markdown' from version '1.0.2.29508' to '1.0.3.11422' in project 'ConsoleApplication1'.
Removing 'Html2Markdown 1.0.2.29508' from ConsoleApplication1.
Successfully removed 'Html2Markdown 1.0.2.29508' from ConsoleApplication1.
Adding 'LinqExtensions 0.0.1.14396' to ConsoleApplication1.
Installing 'LinqExtensions 0.0.1.14396'.
Successfully installed 'LinqExtensions 0.0.1.14396'.
Successfully added 'LinqExtensions 0.0.1.14396' to ConsoleApplication1.
Adding 'Html2Markdown 1.0.3.11422' to ConsoleApplication1.
Installing 'Html2Markdown 1.0.3.11422'.
Successfully installed 'Html2Markdown 1.0.3.11422'.
Successfully added 'Html2Markdown 1.0.3.11422' to ConsoleApplication1.
Uninstalling 'Html2Markdown 1.0.2.29508'.
Successfully uninstalled 'Html2Markdown 1.0.2.29508'.

Can you tell me how you managed to get the error?

Thanks again.

from html2markdown.

jamesholcomb avatar jamesholcomb commented on July 18, 2024

I believe I had updated from a version prior to 1.0.2.

I was able to repro by creating a new console app, then installing 1.0.3

PM> Install-Package Html2Markdown
Attempting to gather dependencies information for package 'Html2Markdown.1.0.3.11422' with respect to project 'html2md_test', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'Html2Markdown.1.0.3.11422' with DependencyBehavior 'Lowest'
Resolving actions to install package 'Html2Markdown.1.0.3.11422'
Resolved actions to install package 'Html2Markdown.1.0.3.11422'
Adding package 'LinqExtensions.0.0.1.14054' to folder 'C:\Users\jamesholcomb\Documents\Visual Studio 2015\Projects\html2md_test\packages'
Added package 'LinqExtensions.0.0.1.14054' to folder 'C:\Users\jamesholcomb\Documents\Visual Studio 2015\Projects\html2md_test\packages'
Added package 'LinqExtensions.0.0.1.14054' to 'packages.config'
Successfully installed 'LinqExtensions 0.0.1.14054' to html2md_test
Adding package 'Html2Markdown.1.0.3.11422' to folder 'C:\Users\jamesholcomb\Documents\Visual Studio 2015\Projects\html2md_test\packages'
Added package 'Html2Markdown.1.0.3.11422' to folder 'C:\Users\jamesholcomb\Documents\Visual Studio 2015\Projects\html2md_test\packages'
Added package 'Html2Markdown.1.0.3.11422' to 'packages.config'
Successfully installed 'Html2Markdown 1.0.3.11422' to html2md_test
PM> 

Note the installed version of LinqExtensions

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

@jamesholcomb that is very strange. If I do the exact same command I get the following:-

PM> Install-Package Html2Markdown
Attempting to resolve dependency 'LinqExtensions'.
Installing 'LinqExtensions 0.0.1.14396'.
Successfully installed 'LinqExtensions 0.0.1.14396'.
Installing 'Html2Markdown 1.0.3.11422'.
Successfully installed 'Html2Markdown 1.0.3.11422'.
Adding 'LinqExtensions 0.0.1.14396' to ConsoleApplication1.
Successfully added 'LinqExtensions 0.0.1.14396' to ConsoleApplication1.
Adding 'Html2Markdown 1.0.3.11422' to ConsoleApplication1.
Successfully added 'Html2Markdown 1.0.3.11422' to ConsoleApplication1.

What version of Visual Studio are you using? I am on Visual Studio Professional 2012.

from html2markdown.

jamesholcomb avatar jamesholcomb commented on July 18, 2024

Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

ASP.NET and Web Tools 14.0.60814.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.6
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GenerateUnitTest 1.0
Generates unit test code for methods in classes under test.

GhostDoc 4.9.15086.0
GhostDoc automatically generates XML documentation comments.

GitHub.VisualStudio 1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

Microsoft Azure HDInsight HQL Service 2.0.2600.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio 2.0.2600.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools 2.7
Microsoft Azure Tools for Microsoft Visual Studio 2015 - v2.7.30818.1601

NuGet Package Manager 3.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Sandcastle Help File Builder SHFB
Visual Studio integration for the Sandcastle Help File Builder.
Copyright © 2011-2015, Eric Woodruff, All Rights Reserved.
https://GitHub.com/EWSoftware/SHFB

SQL Server Data Tools 14.0.50730.0
Microsoft SQL Server Data Tools

VS2015 GoToDefinition Fix 1.0
Fixes the "One or more errors occurred" error, which appears in VS2015, when you triyng to use the "Go to definition (F12)" command on a referenced assembly in C#

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

@jamesholcomb - I think the issue is that NuGet is resolving to the lowest package that meets my version in my dependencies.

https://nuget.codeplex.com/wikipage?title=Dependency%20Resolution

What you are seeing is the default behaviour. I am going to update the nuspec reference, which I am hoping will solve this.

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

@jamesholcomb - I have updated NuGet can you try again?

from html2markdown.

jamesholcomb avatar jamesholcomb commented on July 18, 2024

That worked.

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

Thanks for your help @jamesholcomb

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

I'd be interested to know what application you are using Html2Markdown for. If you are willing to share.

from html2markdown.

jamesholcomb avatar jamesholcomb commented on July 18, 2024

I use it for converting VS XML doc to markdown.

from html2markdown.

baynezy avatar baynezy commented on July 18, 2024

Ah that is really interesting, thank you. Nice to know it is of use to people.

from html2markdown.

jamesholcomb avatar jamesholcomb commented on July 18, 2024

Thanks for writing it :-)

from html2markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.