English 中文(简体)
Build ASP.NET Core from source error MSB4036: The "GenerateFileFromTemplate" task was not found
原标题:

I build ASP.NET Core from the source, main branch on win11. I execute restore.cmd got an error:

aspnetcoreeng	oolsGenerateFilesGenerateFiles.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:UserschiwenjunDocumentsSourcesgithubaspnetcore.dotnetsdk8.0.100-preview.5.23275.15" directory.

How can I solve this problem, thanks!

问题回答

暂无回答




相关问题
Blazor Server App : Unable to unprotect the message.State

I am getting an Exception as above in my Blazor server application. Below is my Program.cs File builder.Services.AddAuthentication(AzureADB2CDefaults.BearerAuthenticationScheme) .AddOpenIdConnect(...

System Text JsonSerializer Deserialization of TimeSpan

In researching how to deserialize a TimeSpan using Newtonsoft s JSON.net I came across code in my current project that did not use Json.net. It used System.Text.Json.JsonSerializer and appeared to not ...

TCP Connection Creation and Closing Event Hooking [closed]

What helper classes C# provides to monitor all TCP connection on an OS. A piece of Sample code would also be appreciated. Note: Original intent was to monitor this on Windows but would be nice to do ...

热门标签