Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm that the <UsingTask> declaration is correct #1557

Closed
bdebaere opened this issue Oct 2, 2019 · 0 comments
Closed

Confirm that the <UsingTask> declaration is correct #1557

bdebaere opened this issue Oct 2, 2019 · 0 comments
Labels
infrastructure build environment, engineering system and other things for developer productivity.

Comments

@bdebaere
Copy link
Contributor

bdebaere commented Oct 2, 2019

For every project in the OData.Net45.sln I get the error below.

The "StyleCopTask" task could not be loaded from the assembly C:\Users_\source\repos\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\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 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. Microsoft.OData.Edm

Assemblies affected

Microsoft.OData.Client
Microsoft.OData.Core
Microsoft.OData.Edm
Microsoft.Spatial

Reproduce steps

Clone solution on Win10.
Build solution.

Expected result

Build succeeds.

Actual result

Build fails with:
The "StyleCopTask" task could not be loaded from the assembly C:\Users_\source\repos\odata.net\sln\packages\StyleCop.MSBuild.4.7.49.0\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 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. Microsoft.OData.EdmWhat is actually happening.

@bdebaere bdebaere mentioned this issue Oct 2, 2019
1 task
@KanishManuja-MS KanishManuja-MS added the infrastructure build environment, engineering system and other things for developer productivity. label Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure build environment, engineering system and other things for developer productivity.
Projects
None yet
Development

No branches or pull requests

2 participants