I'm authoring a new version of a package, and I would like to be able to test package install and usage without actually uploading the package to a gallery anywhere, so I can a) do some testing, and b) also be really sure that the nupkg I upload is *actually* contains the fix that I just tested.
Unfortunately if I upload it to a gallery, just in order to test it, there's a problem.
I'm going to need to do useless stuff like
-mark it prerelease for testing, then modify version and upload it again after testing?? (cos if it's broken I don't want to have to increment version numbers)
-unlist the prerelease version, and pray nobody downloads it ever, as I don't want to support it
-increment the version number
All that is in addition to the useful work of modifying the package content to contain the actual fix.
So here I am thinking if only I could do Install-Package -FromFile "C:\Users\tilovell\Desktop\PoliteCaptcha.0.4.0.1.nupkg"
[Sure hope this feature already exists and I just don't know where!]
Comments: Woah, that works! In my defense I thought of trying specifying the full nupkg file path for the Source value (a little different). But the error message I got back was unhelpful, so I gave up on Source at that point. Install-Package : Unable to find version '0.4.0.1-a' of package 'PoliteCaptcha'.
Unfortunately if I upload it to a gallery, just in order to test it, there's a problem.
I'm going to need to do useless stuff like
-mark it prerelease for testing, then modify version and upload it again after testing?? (cos if it's broken I don't want to have to increment version numbers)
-unlist the prerelease version, and pray nobody downloads it ever, as I don't want to support it
-increment the version number
All that is in addition to the useful work of modifying the package content to contain the actual fix.
So here I am thinking if only I could do Install-Package -FromFile "C:\Users\tilovell\Desktop\PoliteCaptcha.0.4.0.1.nupkg"
[Sure hope this feature already exists and I just don't know where!]
Comments: Woah, that works! In my defense I thought of trying specifying the full nupkg file path for the Source value (a little different). But the error message I got back was unhelpful, so I gave up on Source at that point. Install-Package : Unable to find version '0.4.0.1-a' of package 'PoliteCaptcha'.