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

[BUG] "dotnet new azsdkdpg" generate unexpected file name after PR 32814 #35055

Open
chunyu3 opened this issue Mar 22, 2023 · 2 comments
Open
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. EngSys This issue is impacting the engineering system. Mgmt This issue is related to a management-plane library.

Comments

@chunyu3
Copy link
Member

chunyu3 commented Mar 22, 2023

Library name and version

dotnet new azsdkdpg

Describe the bug

This PR breaks the command dotnet new azsdkdpg --name Azure.XXX.Contosoz --clientName Contosoz --groupName XXX --serviceDirectory contoso --force to generate a valid template.

The Generated file name is not correct.
e.g. the project file name:
Actual: Azure.XXX.csproj
expected: Azure.XXX.Contosoz.csproj

@chunyu3 chunyu3 self-assigned this Mar 22, 2023
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 22, 2023
@chunyu3
Copy link
Member Author

chunyu3 commented Mar 22, 2023

The root cause is, in dotnet 7.0.2, When we reference a derived symbol in a symbol generator, the generated symbol value does not contain the derived symbol.

Filed an issue in dotnet/templating for this: dotnet/templating#6291

@jsquire jsquire added Client This issue points to a problem in the data-plane of the library. Mgmt This issue is related to a management-plane library. EngSys This issue is impacting the engineering system. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Mar 22, 2023
@chunyu3
Copy link
Member Author

chunyu3 commented May 5, 2023

Dotnet template resolve this issue for release/7.0.2xx.
expect to receive these changes with the next patch - preliminary in the middle of June.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. EngSys This issue is impacting the engineering system. Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

No branches or pull requests

2 participants