error CS1704 when upgrading project to 5.6.1f1 from 5.3.4p6

I’m getting this incredibly frustrating error involving UnityVS trying to upgrade my project from 5.3.4p6 to 5.6.1f1. I’ve reinstalled visual studio fresh but it’s still throwing the error. The project runs fine in 5.3.4p6. I’ve tried deleting my Unity library folder. This occurs with Unity’s compiler and Visual Studio Community 2015 and 2017. Do you have any ideas or suggestions on what I can do to fix this error? Thanks!

This is the only error that is going on -

error CS1704: An assembly with the same name `SyntaxTree.VisualStudio.Unity.Bridge’ has already been imported. Consider removing one of the references or sign the assembly
C:/Program Files (x86)/Microsoft Visual Studio Tools for Unity/2015/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll (Location of the symbol related to previous error)
Assets/UnityVS/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll (Location of the symbol related to previous error)

Compilation failed: 1 error(s), 0 warnings

Edit/Update:

Found out that UnityVS is built into Unity itself. I deleted the UnityVS plugin in the project and got past this error.

3 Likes

Move “SyntaxTree.VisualStudio.Unity.Bridge.dll” out of the folder “C:/Program Files (x86)/Microsoft Visual Studio Tools for Unity/2015/Editor

It solved for me

1 Like

I would do the exact opposite from Washington_SP. I had a folder named UnityVS in my assets folder and had to remove that. UnityVS comes integrated with VS2017 so i would keep the VS version instead of updating by hand.

10 Likes

Thanks, @neural that fixed the issue for me on a recent project import!

Mee too, Thank you!

Perfect!

1 Like

Neural’s option worked for me as well.

Yep… Nerual’s option works

works for me, thanks dude