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

MGC is not clearing output folder before writing new files #3469

Closed
ArcturusZhang opened this issue May 29, 2024 · 1 comment · Fixed by #3616
Closed

MGC is not clearing output folder before writing new files #3469

ArcturusZhang opened this issue May 29, 2024 · 1 comment · Fixed by #3616
Assignees
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp

Comments

@ArcturusZhang
Copy link
Member

No description provided.

@ArcturusZhang ArcturusZhang added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label May 29, 2024
@jorgerangel-msft
Copy link
Contributor

I can confirm I ran into this as well. We simply need to add the clear-output-folder configuration option to our test project(s).

@jorgerangel-msft jorgerangel-msft self-assigned this Jun 17, 2024
@jorgerangel-msft jorgerangel-msft linked a pull request Jun 18, 2024 that will close this issue
jorgerangel-msft added a commit to jorgerangel-msft/typespec that referenced this issue Jun 18, 2024
Updates the generator to clear the generated output folder by default.

fixes: microsoft#3469
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants