You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use this project for generating the AssemblyInfo. I am using the sameple code <AssemblyInfo CodeLanguage="CS" OutputFile="VersionInfo.cs" AssemblyVersion="1.0.0.0" AssemblyFileVersion="1.0.0.0" />
However, dotnet build fails:
MyProject.csproj(34,3): error MSB4062: The "MSBuild.Community.Tasks.AssemblyInfo" task could not be loaded from the assembly $MyPath\.nuget\packages\msbuildtasks\1.5.0.235\build\\..\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
The path to MSBuild.Community.Tasks.dll exists.
I am using dotnet, my project is an Sdk Style project (Microsoft.NET.Sdk) and my tagetfranework is netstandard2.0
Hi,
I just tried to use this project for generating the AssemblyInfo. I am using the sameple code
<AssemblyInfo CodeLanguage="CS" OutputFile="VersionInfo.cs" AssemblyVersion="1.0.0.0" AssemblyFileVersion="1.0.0.0" />
However, dotnet build fails:
The path to MSBuild.Community.Tasks.dll exists.
I am using dotnet, my project is an Sdk Style project (Microsoft.NET.Sdk) and my tagetfranework is netstandard2.0
This is my dotnet version
Any idea what I could check?
The text was updated successfully, but these errors were encountered: