Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure project files #1

Merged
merged 5 commits into from
Dec 2, 2018

Conversation

akrantz
Copy link
Owner

@akrantz akrantz commented Dec 2, 2018

No description provided.

If the functions.html is loaded from webpack-dev-server using url https://localhost:3000/functions.html,
it encounters errors. This appears to be because webpack-dev-server assumes a browser environment but
custom functions are run directly using the JavaScript runtime.

To work around this, use the dist folder for the custom function urls (page, metadata, and script):
page:     https://localhost:3000/dist/functions.html
metadata: https://localhost:3000/dist/functions.json
script:   https://localhost:3000/dist/functions.js

The taskpane which runs in the browser WebView control is still loaded using webpack-dev-server
(https://localhost:3000/taskpane.html).
package.json Outdated Show resolved Hide resolved
src/functions/functions.ts Outdated Show resolved Hide resolved
@akrantz akrantz merged commit 812de95 into vscode-debugging-typescript Dec 2, 2018
@akrantz akrantz deleted the vscode-debugging-restructured branch December 2, 2018 17:01
akrantz pushed a commit that referenced this pull request Dec 10, 2018
Added descriptions and a computation-intensive function
akrantz added a commit that referenced this pull request Feb 7, 2019
Update readme with link to JavaScript version of template
akrantz added a commit that referenced this pull request Feb 26, 2019
Converted TypeScript project to JavaScript
akrantz added a commit that referenced this pull request Mar 12, 2019
The following requirements will cause manifest validation to fail.

  <Requirements>
    <Sets DefaultMinVersion="1.1">
        <Set Name="CustomFunctionsRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements>

c:\dev\git\Excel-Custom-Functions>npm run validate

> [email protected] validate c:\dev\git\Excel-Custom-Functions
> office-toolbox validate -m manifest.xml

Calling validation service. This might take a moment...
-------------------------------------
Validation: Failed

Error #1:
No supported Office products detected: There are no platforms which fulfil the requirements specified in the manifest. The most common reasons for this failure are issues in the Requirements section. Please review the manifest and try again. (link: undefined)
-------------------------------------
akrantz added a commit that referenced this pull request Mar 13, 2019
…eDev#124)

The following requirements will cause manifest validation to fail.

  <Requirements>
    <Sets DefaultMinVersion="1.1">
        <Set Name="CustomFunctionsRuntime" MinVersion="1.1"/>
    </Sets>
  </Requirements>

c:\dev\git\Excel-Custom-Functions>npm run validate

> [email protected] validate c:\dev\git\Excel-Custom-Functions
> office-toolbox validate -m manifest.xml

Calling validation service. This might take a moment...
-------------------------------------
Validation: Failed

Error #1:
No supported Office products detected: There are no platforms which fulfil the requirements specified in the manifest. The most common reasons for this failure are issues in the Requirements section. Please review the manifest and try again. (link: undefined)
-------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant