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

naming clash? "ThisAssembly" exists in Microsoft.Build.Utilities.v4.0 #56

Closed
jennet opened this issue Oct 18, 2017 · 1 comment
Closed

Comments

@jennet
Copy link

jennet commented Oct 18, 2017

I'm getting errors when writing version info into my logs, debugging shows the error:

error CS0433: The type 'ThisAssembly' exists in both 'MyProduct.MyProj, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null' and 'Microsoft.Build.Utilities.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

I'm using VS2017.

At first I'd added it to all my projects in the solution but it didn't like the fact I had it in dependent projects, so I removed and have started trying to add just one by one, I've not managed the first one yet :) so I think I'm missing something obvious...

@jennet
Copy link
Author

jennet commented Oct 18, 2017

Apologies, this was only happening when I was checking the values in debug mode, it's writing the information to the logs as expected.

@jennet jennet closed this as completed Oct 18, 2017
@devlooped devlooped locked and limited conversation to collaborators Sep 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant