microsoft / vs-azure-iot-edge-docs

Documentation for Azure IoT Edge Tools for Visual Studio
Creative Commons Attribution 4.0 International
5 stars 6 forks source link

When trying to generate new modules nothing happens #47

Open AnOdyssey opened 9 months ago

AnOdyssey commented 9 months ago

Steps to Reproduce:

  1. Generate a new project. Parameters don't mather neither does the container registry that gets entered
  2. Once the project is done generating there will be no modules even tho the flow allows you to add one.
  3. After the project is done generating trying to add a module will result in nothing. No error, no module

Any advice on what this might be?

marianan commented 9 months ago

@AnOdyssey thanks for reporting this issue. We are investigating the root cause at this time. As a workaround, other VS editions work without issues - Enterprise and Professional.

AnOdyssey commented 8 months ago

Hey @marianan I've tried with a vs professional edition but I'm having the same issues. Any advice?

marianan commented 8 months ago

@AnOdyssey we are working on guidance to decouple IoT Edge module development from IDE so it works in any IDE. Could you give this guidance a try and let us know if you run into issues or have questions? Thanks - https://dev.to/ridomin/developing-iotedge-modules-32ag

tcochunk commented 5 months ago

I am having the same problem??? The odd thing is that i have 2 computers - desktop running win 10 pro and a laptop running win 11 pro. the desktop works as expected and running same versions of visual studio 2022 community edition as well as the same version of the extension (2.0.8). as a work around, i added a project on desktop, pushed to repo and on laptop pulled the changes down .... everything worked as expected??? This is not a solution i can perform long term.

any updates?

this seems to be the same as https://learn.microsoft.com/en-us/answers/questions/1368466/using-vs-2022-not-able-to-create-module-in-iot-edg

PatAltimore commented 3 months ago

The Azure IoT Edge tools for Visual Studio extension is missing the project templates for C and C# modules. We are working to resolve the issue. If you can't create IoT Edge modules using the extension, use the following workaround.

Download the following files and place them in the listed Visual Studio template directory:

Template file Add to directory
azureiotedgemodule-v0.0.4.zip %userprofile%\Documents\Visual Studio 2022\Templates\ProjectTemplates\Visual C#
azureiotedgevcmodulevs17-v0.0.9.zip %userprofile%\Documents\Visual Studio 2022\Templates\ProjectTemplates\Visual C++ Project