英文:
Build ASP.NET Core from source error MSB4036: The "GenerateFileFromTemplate" task was not found
问题
我在 win11 上构建了 ASP.NET Core 的 源代码,主分支。执行 restore.cmd 出现错误:
aspnetcore\eng\tools\GenerateFiles\GenerateFiles.csproj(37,5): error MSB4036: The "GenerateFileFromTemplate" task was not found. Check the following: 1.) The name of
the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <Usin
gTask> in the project file, or in the *.tasks files located in the "C:\Users\chiwenjun\Documents\Sources\github\aspnetcore\.dotnet\sdk.0.100-preview.5.23275.15" directory.
请问如何解决这个问题,谢谢!
英文:
I build ASP.NET Core from the source, main branch on win11. I execute restore.cmd got an error:
aspnetcore\eng\tools\GenerateFiles\GenerateFiles.csproj(37,5): error MSB4036: The "GenerateFileFromTemplate" task was not found. Check the following: 1.) The name of
the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <Usin
gTask> in the project file, or in the *.tasks files located in the "C:\Users\chiwenjun\Documents\Sources\github\aspnetcore\.dotnet\sdk.0.100-preview.5.23275.15" directory.
How can I solve this problem, thanks!
答案1
得分: 1
我已解决了这个问题,并将其记录在github。
英文:
I have solved the problem and recorded it at github
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论