DefinitelyTyped/definitelytyped.github.io

angularjs.TypeScript.DefinitelyTyped NuGet package has dependency on out of date jquery.TypeScript.DefinitelyTyped NuGet package

apulliam opened this issue · 5 comments

I was installing 4.3.0 angularjs.TypeScript.DefinitelyTyped with NuGet and noticed I was getting 222 errors in the jquery TS definitions. Took a while to figure out that angularjs.TypeScript.DefinitelyTyped installs an out-of-date jquery.TypeScript.DefinitelyTyped NuGet package. Once I manually updated to 2.3.1 the errors went away, but wanted to let the NuGet package owner to update the dependency - since the issue wasn't obvious at first and may cause dev's to needlessly waste time tracking down (as I did :-) )
-Alan

Thanks @apulliam - this seems to be a bug in NuGet (or so we think) there is not a 'version' specified in the .nuspec which should tell it to pull the most recent version (which it doesn't in some cases).

Hi Jason. Thanks for the follow-up. I’m a Technical Evangelist for Microsoft. Can you provide a little more detail? I’d be happy to connect you with our folks who work with NuGet to see if we can figure out the problem.

-Alan

Alan Pulliam
Technical Evangelist
Microsoft Developer Experience (DX)

From: Jason Jarrett [mailto:notifications@github.com]
Sent: Thursday, October 29, 2015 3:41 PM
To: DefinitelyTyped/definitelytyped.github.io definitelytyped.github.io@noreply.github.com
Cc: Alan Pulliam apulliam@microsoft.com
Subject: Re: [definitelytyped.github.io] angularjs.TypeScript.DefinitelyTyped NuGet package has dependency on out of date jquery.TypeScript.DefinitelyTyped NuGet package (#47)

Thanks @apulliamhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapulliam&data=01%7c01%7capulliam%40microsoft.com%7c3cf84c8098644c8be0aa08d2e098ed36%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=2s9ucyKkW8Xvuum1229Spx2KBbkFx%2fScio%2fs2xusfPE%3d - this seems to be a bug in NuGet (or so we think) there is not a 'version' specified in the .nuspec which should tell it to pull the most recent version (which it doesn't in some cases).


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fDefinitelyTyped%2fdefinitelytyped.github.io%2fissues%2f47%23issuecomment-152297980&data=01%7c01%7capulliam%40microsoft.com%7c3cf84c8098644c8be0aa08d2e098ed36%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=tEdIfV6mYEPE2bQKbjlsigltVO6xuWgO2KlDEN2WMn8%3d.

@apulliam would be great if you could look into this or get someone else to look into it further.

Here's another issue where we discuss item: DefinitelyTyped/DefinitelyTyped#5446

I don't have time to dig into NuGet specifically to find out further at the moment. Hope this helps.

Hi Jason,

Not sure if I’m going to be successful, but I’ve tried to start a thread with our folks who work with NuGet.

Please send me your direct email and I’ll include you on the thread – if it make progress ;-)

-Alan

From: Jason Jarrett [mailto:notifications@github.com]
Sent: Thursday, October 29, 2015 4:45 PM
To: DefinitelyTyped/definitelytyped.github.io definitelytyped.github.io@noreply.github.com
Cc: Alan Pulliam apulliam@microsoft.com
Subject: Re: [definitelytyped.github.io] angularjs.TypeScript.DefinitelyTyped NuGet package has dependency on out of date jquery.TypeScript.DefinitelyTyped NuGet package (#47)

@apulliamhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fapulliam&data=01%7c01%7capulliam%40microsoft.com%7ce18538e0dce54ddc672208d2e0a1c981%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=%2bAM2Mkhc7k1zhr7Ne%2b5B4ojv1KBhYxH57gDglWD0kTw%3d would be great if you could look into this or get someone else to look into it further.

Here's another issue where we discuss item: DefinitelyTyped/DefinitelyTyped#5446https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fborisyankov%2fDefinitelyTyped%2fissues%2f5446&data=01%7c01%7capulliam%40microsoft.com%7ce18538e0dce54ddc672208d2e0a1c981%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=w29heAetROsj1DQLGDfdvnhiT8f1DnuTuia%2bxrW2WiY%3d

I don't have time to dig into NuGet specifically to find out further at the moment. Hope this helps.


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fDefinitelyTyped%2fdefinitelytyped.github.io%2fissues%2f47%23issuecomment-152315235&data=01%7c01%7capulliam%40microsoft.com%7ce18538e0dce54ddc672208d2e0a1c981%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=PK%2fA12VaEjGEV9z3eESQ%2fcoYdZy2Bz8S2JZ94OmxbIg%3d.

For anyone running into this issue: check the following setting in Visual Studio:

image

The default behavior may not have been “Lowest” before which may explain why this issue is new to Visual Studio 2015. To get things to work with the current angular TS definition package, you need to choose "highest" when you install or upgrade your package.