It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

(ResolveAssemblyReferences target) ->

We recently updated to .NET 4.6.1, and now when attempting to build I am getting warnings and full on failures.

-Builds locally using MSBuild.

-Builds on Server using MSBuild directly, some warnings, but builds.

-A clean from scratch deployment generates this: 

C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(991,5): warning MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.6.1" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend.


The failure project is far more confusing, outputting false update suggestions to the assemblies. 


How do I manage the target framework specifically for Bamboo?


2 answers

Hi,

we have the same issue here.

already installed 4.6 sdk and target pack - but still got the error.

how could you solve it?

thanks & kind regards

M

Hi there,

I've actually same concern and I found this, it might be help ;)

The feature request for Windows/.NET builds is here: https://bitbucket.org/site/master/issues/13452/support-for-native-windows-net-builds-on 

Follow that ticket for updates from Atlassian team.

Meanwhile, you can include assemblies directly with the nuget related.

https://www.nuget.org/packages/Microsoft.NETFramework.ReferenceAssemblies.net461/

Same problem for me is now resolved.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,547 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you