novotnyllc / MSBuildSdkExtras

Extra properties for MSBuild SDK projects
MIT License
347 stars 42 forks source link

Cant find GetAssemblyAttribute target (v1.6.61) #142

Closed robsonj closed 5 years ago

robsonj commented 5 years ago

I'm sure its something missing in our WPF project, but we're seeing the following error...

The target "GetAssemblyAttributes" does not exist in the project PROJECTNAMEHERE PATH.nuget\packages\msbuild.sdk.extras\1.6.61\Build\ReferenceAssembly.targets

Any idea on what we need to do to resolve this issue?

Thank you, Jonathan

clairernovotny commented 5 years ago

Do you have the .NET Core SDK installed, and if so, what version? (you should be able to run dotnet --info from your solution directory to find out).

robsonj commented 5 years ago

Yep, I came to the same conclusion. One of our devs has an old version of VS2017, thus also an old SDK. I’m updating his install now which should also get him the newer SDK.

Will close if that solves it - most likely

robsonj commented 5 years ago

Resolved. Was due to having an old SDK

robsonj commented 5 years ago

Thank you for the quick response btw @onovotny !