Closed jordanpowell88 closed 3 years ago
Hi Jordan! Do you see the extension under Tools > Extensions and Updates as installed? You need to restart VS after installing if it is not there.
Yes and I've done a restart...any thoughts?
Hmm, I just tried installing again and publishing a new WebApplication template project in to a folder and it works as it is described. Can you try the same scenario?
Or maybe try browsing your windows using Alt-Tab when you see this in case the dialog box is not in focus:
I uninstalled and re-installed it like you suggested and published again with no luck.
I tried installing it on few other computers, but it works every time... I'll keep testing, but in the mean time, can you try this: https://blogs.msdn.microsoft.com/visualstudio/2010/02/24/troubleshooting-extensions-with-the-activity-log/ and see it you get any errors
This should be reopened.
1) No popup after publishing a .NET 5 ASP API. 2) No instructions on how to configure the webhook URL in the json manually.
Hey @dylanvdmerwe ! I'm really sorry but I can't reproduce the issue, at least not with the amount of information that I have. Json file should be in the root of your solution, but I guess if the extension is not working then it is not created there.
I just tested again on two computers with a new .net 5 web api project, publishing both to a folder and to a web app in azure, and extension works as expected.
I have added instructions on how to run the extension in debug mode https://github.com/dalibormesaric/PublishNotifier/blob/master/SETUP.md in case you are willing to provide some help in chasing down this bug :)
Of course I will help track it down and assist.
Firstly, this is VS 2019 16.8.4.
You will need to guide me more on how to do this. I do not see the options anywhere in my project?
Great! Frist you will need to add Visual Studio extension development workload in your visual studio installer by clicking on Modify, then you need to clone PublishNotifier repository and follow the instructions I mentioned above. When you run the extension in debug mode, it will open an experimental instance of visual studio where you can open your web project and try publishing it. More information
@dalibormesaric sorry for the delay.
I am running the debug PublishNotifier with my solution open.
I then try to publish the project as per the normal process. The publish occurred successfully but no extension popup.
After publish the following exception was raised by PublishNotifier instance:
Path value is: C:\Projects\WunderlustAPI\WebService.SiteApi\PublishNotifier.json
but it looks wrong. There's a folder missing.
I think you should rather identify where the .sln file is and write the PublishNotifier.json
file there right so there is one config per solution? Or is there one config per project? My solutions are heavily split up into folders:
Inside WebServiceProjects dir, there is a WebService.SiteApi dir inside which the the project. In this specific solution there are a few publishable projects:
Please let me know if I can assist further.
Wow, thank you so much for your report! I was able to recreate the issue, and it was due to having projects in one more level of directories. The way I constructed the project path was wrong, and it should be fixed now.
I published a new version to marketplace https://marketplace.visualstudio.com/items?itemName=dalibormesaric.PublishNotifier , so please give it a try and let me know if this is fixed now.
Thanks again @dylanvdmerwe ! Hopefully this fixes the original issue for @jordanpowell88 as well :)
I wrote some ideas on what could be added to the extension here https://github.com/dalibormesaric/PublishNotifier/blob/master/CHANGELOG.md and if you think some would bring value to you, please open an issue and I'll do it.
You are a star! Love your work and look forward to using the extension!
I installed the extension and created the incoming slack webhook but I am not able to get the publish notifier to display. The way I understand it based upon the documentation is that it should appear after the publish has completed but nothing is happening? Not sure what I'm doing incorrectly.
Im using VS 2017 Professional on Windows 10. Is their a way to edit this setting manually?