Skip to content

C# solution/project file bug #4355

@bernardnormier

Description

@bernardnormier

When I run:

dotnet format msbuild\ice.sln -v diag

on Windows, I get a large number of these errors:

Msbuild failed when processing the file 'C:\Users\bernard\source\repos\ice\csharp\test\IceBox\configuration\msbuild\testservice\testservice.csproj' with message: The "ZeroC.Ice.Slice.Tools.Slice2CSharpDependTask" task could not be loaded from the assembly C:\Users\bernard\source\repos\ice\csharp\tools\ZeroC.Ice.Slice.Tools\bin\Debug\netstandard2.0\ZeroC.Ice.Slice.Tools.dll. Could not load file or assembly 'C:\Users\bernard\source\repos\ice\csharp\tools\ZeroC.Ice.Slice.Tools\bin\Debug\netstandard2.0\ZeroC.Ice.Slice.Tools.dll'. The system cannot find the path 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.

I get this message in a VS environment and outside a VS environment.

In this tools directory, I have a bin\Release, but no bin\Debug.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions