ice
ice copied to clipboard
C# solution/project file bug
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.
I think this is a problem with dotnet format not correctly loading the projects, let's see if we get a reply from https://github.com/dotnet/sdk/issues/51529