-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Blazor 6 : "Microsoft.TypeScript.MSBuild" and a collocated JavaScript file with a .razor file cause a build error on the Ubuntu #40640
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
Comments
Thanks for contacting us. We plan to productize the feature referenced in the blog post and make it part of the framework in .NET 7: #40572 |
Hi @jsakamoto. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
Thanks for contacting us. We're moving this issue to the |
@mkArtakMSFT Thank you for replying. However, sorry to bother you, but... I was too disappointed with that reply, and I've felt really sad due to the careless attitude of that reply. 😢 I understand well that the product development team is very busy, and therefore, it is needed to prioritize so many issues. However, I've felt that you have read my post with a careless attitude.
I apologize if I don't understand that you might not be able to spend enough time understanding my post because you are so busy. 🙇 Anyway, I hope this post would be helpful to save the developers working on Linux OS and reduce the people who feel "I don't like .NET platform due to often happening such a build error". ❤️ |
@jsakamoto we apologize if you thought we didn't pay close attention to your issue. We normally comb through dozens of issues on a weekly basis and this is an issue that we've seen in the past, so our first action was to point out the common answer we give people in these situations. It normally happens because people put the outputs from the build into the things that are considered for inputs and doing so breaks incrementalism. In this case, it seems that the source of the issue is different as per the details below: I took a second look at your issue and it seems to be caused by the TypeScript MSBuild tasks adding additional content items on Linux for some reason as opposed to windows where it does not: The issue seems to come from the @danroth27 can you forward this issue to the TS folks? |
Filed an issue on TypeScript to track this problem here |
@javiercn Thank you for your sincere reply and for investigating this issue.
I can imagine it must be too much tough work. Sorry to bother you, but getting the reply "We are still triaging", "Wait for more time" or "We don't have enough time" might be better for me than getting a reply "It seems the same as a common issue" without well investigating.
Yes, I feel so too. Just curious, I feel strange that the Anyway, I do not mind if there is no reply to this comment.
Many thanks for your reaction. |
Describe the bug
On the Ubuntu Linux 20.04 LTS, for a Blazor WebAssembly project (.NET 6) with the following conditions, 2nd time or later of execution,
dotnet build
command causes the build error "Two assets found targeting the same path with incompatible asset kinds".Notice:
ubuntu-latest
.dotnet build
was completed successfully whether runs on Ubuntu or Windows.To Reproduce
Requirements
Steps to reproduce
dotnet build command
and confirm it will be a success.dotnet build command
one more time, then you will see the build error.Exceptions (if any)
The build error message is below:
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: