Control mez output file name

Open
#318 0 comments 0 reactions 1 assignee View on GitHub

@mattmasson is already working on this.

Since Apr 5, 2024.

Assessment

This issue has not been assessed yet.

Description

sdk tools
Preflight Checklist
Power Query SDK

0.3.1

Regression From

No response

Platform

Windows

Architecture

x64

OS Version

No response

VSCode version

No response

PQSdkTool Path

No response

Bug Description

In my .vscode/settings.json I have changed the name for the mez file:

"powerquery.sdk.defaultExtension": "${workspaceFolder}\\bin\\AnyCPU\\Debug\\NotSameNameAsDirectory.mez",

I have also changed my .proj file PropertyGroup

  <PropertyGroup>
    <OutputPath Condition="'$(OutputPath)' == ''">$(MSBuildProjectDirectory)\bin\AnyCPU\Debug\</OutputPath>
    <IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(MSBuildProjectDirectory)\obj\</IntermediateOutputPath>
    <MezIntermediatePath>$(IntermediateOutputPath)MEZ\</MezIntermediatePath>
    <MezOutputPath>$(OutputPath)NotSameAsDirectory.mez</MezOutputPath>
  </PropertyGroup>

However, when I run the build task MakePBX the generated mez file name is the parent directories name.

Steps to Reproduce
  1. Create new extension project, in a folder called bug-folder
  2. update the .vscode/settings.json to have a new mez file name, CoolName.mez
  3. update the .proj file and change the MezOutputPath to also have the CoolName.mez
Actual Experience

bug-folder.mez is created instead of CoolName.mez

Expected Experience

No response

Additional Context

No response

Dominant language
TypeScript
Stars
92
Forks
23
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode-powerquery-sdk

All issues in microsoft/vscode-powerquery-sdk

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.