Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

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

@rajsesh

Description

@rajsesh

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions