You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by Douglas Service <ds...@gmail.com> on 2017/11/02 21:52:44 UTC

StyleCop errors

Has anyone seen these StyleCop errors? I just set up a new dev machine with
very latest version of VS2017 and I am trying to determine whether it is
the new VS version or some other issue.


"E:\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
"E:\reef\lang\cs\Org.Apache.REEF.Tang\Org.Apache.REEF.Tang.csproj" (default
target) (2) ->
"E:\reef\lang\cs\Org.Apache.REEF.Utilities\Org.Apache.REEF.Utilities.csproj"
(default target) (4:2) ->
(StyleCop target) ->

E:\reef\lang\cs\packages\StyleCop.MSBuild.4.7.49.1\build\StyleCop.MSBuild.Targets(101,5):
error MSB4062: The "StyleCopTask" task could not be loaded from the asse
mbly
E:\reef\lang\cs\packages\StyleCop.MSBuild.4.7.49.1\build\..\tools\StyleCop.dll.
Could not load file or assembly 'Microsoft.Build.Utilities.v3.5,
Version=3.5.0.
0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. 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. [E
:\reef\lang\cs\Org.Apache.REEF.Utilities\Org.Apache.REEF.Utilities.csproj]

Re: StyleCop errors

Posted by Douglas Service <ds...@gmail.com>.
Turned out to be an orphaned MSBuild process had the file open.

On Thu, Nov 2, 2017 at 9:52 PM, Douglas Service <ds...@gmail.com> wrote:

> Has anyone seen these StyleCop errors? I just set up a new dev machine
> with very latest version of VS2017 and I am trying to determine whether it
> is the new VS version or some other issue.
>
>
> "E:\reef\lang\cs\Org.Apache.REEF.sln" (default target) (1) ->
> "E:\reef\lang\cs\Org.Apache.REEF.Tang\Org.Apache.REEF.Tang.csproj"
> (default target) (2) ->
> "E:\reef\lang\cs\Org.Apache.REEF.Utilities\Org.Apache.REEF.Utilities.csproj"
> (default target) (4:2) ->
> (StyleCop target) ->
>   E:\reef\lang\cs\packages\StyleCop.MSBuild.4.7.49.1\
> build\StyleCop.MSBuild.Targets(101,5): error MSB4062: The "StyleCopTask"
> task could not be loaded from the asse
> mbly E:\reef\lang\cs\packages\StyleCop.MSBuild.4.7.49.1\build\..\tools\StyleCop.dll.
> Could not load file or assembly 'Microsoft.Build.Utilities.v3.5,
> Version=3.5.0.
> 0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
> dependencies. 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. [E
> :\reef\lang\cs\Org.Apache.REEF.Utilities\Org.Apache.REEF.Utilities.csproj]
>