Add Dataverse TS File Command missing #164
-
|
Hi all |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Once you setup the project using "TypeScript" or "Webpack" then you should be able to use "Add Dataverse TS File" option. TypeScript project will initiate a regular TS project with proper tsconfig file whereas Webpack will create a TS project but with webpack configurations so you can get the benefits of tree shaking, etc. If you arent familiar with webpack; I'd recommend you to start looking into it but in meantime you can start with a TypeScript project. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem. No matter which type of a project I create, I don't see the "Add Dataverse TS/JS file" option, only "Add new RESX" file. I'm also on v2.2.0. |
Beta Was this translation helpful? Give feedback.
-
|
Sometimes due to how VSCode works you migh have to reopen the folder or the workspace |
Beta Was this translation helpful? Give feedback.

Once you setup the project using "TypeScript" or "Webpack" then you should be able to use "Add Dataverse TS File" option. TypeScript project will initiate a regular TS project with proper tsconfig file whereas Webpack will create a TS project but with webpack configurations so you can get the benefits of tree shaking, etc.
If you arent familiar with webpack; I'd recommend you to start looking into it but in meantime you can start with a TypeScript project.