Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Can we manage Power Bi custom Visual in Visual studio 2019 (not visual studio code)?

Coming from a C# developer, I loved to use Visual Studio to mange my projects.  Having very little knowledge in Typescript, I am developing a power bi custom visual,  VS Code is small but lack of so ...
  • dm-p's avatar
    7 years ago

    Hi Anonymous - as a substitute for opening VS Code to run pbiviz start, you should just be able to run this from the console or PowerShell from the root directory (which is basically what the console in VS code is doing)? I use this add-in for ad-hoc stuff (which spans a PowerShell window in my project's root folder), and it seems to work fine.

    As to integrating more fully with VS, it's a Node.js/TypeScript project, so it should be possible to bind this kind of stuff in, but as the visual is compiled to and fully loaded inside the developer visual in the Power BI service rather than locally, you may not be able to attach breakpoints in the way that you might normally in VS.

    I'd be keen to hear if anyone has any alternatives, as options are always nice :)