Hi Atlassian community,
I have a pretty simple pipeline configuration, however, the .NET framework isn't being found. The full error is below:
/usr/share/dotnet/sdk/2.2.203/Microsoft.Common.CurrentVersion.targets(1183,5): error MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.7.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. [/opt/atlassian/pipelines/agent/build/Scripts.csproj
I am also getting a "Not found" when trying to get dotnetcore in my caching:
Cache "dotnetcore": Downloading
Cache "dotnetcore": Not found
Finally, here is my configuration file:
# This is a sample build configuration for .NET Core.
# Check our guides at https://confluence.atlassian.com/x/5Q4SMw for more examples.
# Only use spaces to indent your .yml configuration.# -----
# You can specify a custom docker image from Docker Hub as your build environment.
- dotnet restore SugarWarrior.sln
- dotnet build Scripts.csproj
- dotnet test EditmodeTests.csproj
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.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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