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

error CS0433: The type 'System.Threading.ThreadLocal<T>' in packaging branch #2237

Closed
rajsesh opened this issue Mar 15, 2017 · 1 comment
Closed

Comments

@rajsesh
Copy link
Contributor

rajsesh commented Mar 15, 2017

This seems to be caused by the redgate readyroll extension.

150>------ Rebuild All started: Project: BuildFinalizer, Configuration: Debug ARM ------
150>E:\src\WinObjC\common\winobjc.nuproj.common.targets(180,5): error : The source file for this compilation can be found at: "C:\Users\rajsesh\AppData\Local\Temp\c5f62782-3fb0-435f-b95c-ff56b9528ffb.txt"
150>E:\src\WinObjC\common\winobjc.nuproj.common.targets(180,5): error MSB3758: An error has occurred during compilation. warning CS1685: The predefined type 'System.Threading.Tasks.Task' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
150>E:\src\WinObjC\common\winobjc.nuproj.common.targets(180,5): error MSB3758: An error has occurred during compilation. warning CS1685: The predefined type 'System.Threading.Tasks.Task' is defined in multiple assemblies in the global alias; using definition from 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
150>E:\src\WinObjC\common\winobjc.nuproj.common.targets(180,5): error MSB3758: An error has occurred during compilation. c:\Users\rajsesh\AppData\Local\Temp\lsjlkqsu.0.cs(10,22) : error CS0433: The type 'System.Threading.ThreadLocal<T>' exists in both 'c:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\5mn5jwtd.qae\System.Threading.dll' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll'
150>E:\src\WinObjC\common\winobjc.nuproj.common.targets(180,5): error MSB4036: The "LockGitVersion" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin" directory.
150>Done building project "WinObjC.Frameworks.Core.nuproj" -- FAILED.
@rajsesh
Copy link
Contributor Author

rajsesh commented Mar 15, 2017

@bbowman removing the "ReadyRoll" extension resolved it.

@rajsesh rajsesh closed this as completed Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant