Forum Discussion
Visual Studio Code cannot find VisualUpdateOptions
- 9 years ago
Hi ConnectedRoman,
From what I see from the code you provided, it seems Visual Studio Code [using pbiviz new ... ] has generated a v1.7.0 version while the sample demo you're refering to was built in an earlier v1.5.0 version. So if you use any portion of the sample demo "AS-IS" - particularly pbiviz.json or tsconfig.son this may generate conflicts with your version some point and may be the reason you see the error.
So in order to avoid conflict and use demo code sample "AS-IS" you'll either have the choice to import a v1.5.0 code version in your app, under the .api folder
or keep your existing v1.7.0 version and make a double-check to make sure any piece of code you may have borrowed from demo sample is pointing to the right version, especially pbiviz.jsonand tsconfig.json
Hi ConnectedRoman,
From what I see from the code you provided, it seems Visual Studio Code [using pbiviz new ... ] has generated a v1.7.0 version while the sample demo you're refering to was built in an earlier v1.5.0 version. So if you use any portion of the sample demo "AS-IS" - particularly pbiviz.json or tsconfig.son this may generate conflicts with your version some point and may be the reason you see the error.
So in order to avoid conflict and use demo code sample "AS-IS" you'll either have the choice to import a v1.5.0 code version in your app, under the .api folder
or keep your existing v1.7.0 version and make a double-check to make sure any piece of code you may have borrowed from demo sample is pointing to the right version, especially pbiviz.json
and tsconfig.json
- ConnectedRoman9 years agoFrequent Visitor
Thank you very much for your answer, that's something I didn't consider.
The problem was fixed when I added the barChart.ts to the tsconfig.json "files" member. I missed that I have to add everything to that file, as I'm pretty new to TypeScript.
- v-chuncz-msft9 years agoCommunity Support
Glad to hear that you've solved this problem. You may help mark it as answer. Your contribution is highly appreciated.