Hi everyone,
I'm trying to build our .Net application in Bitbucket pipelines. We want to target the .Net framework 4.5.2.
Here is my project.json file:
{
"name": "MyProjectName",
"frameworks": {
"net452": {
"frameworkAssemblies": {
"System.ComponentModel.DataAnnotations": "4.0.0.0",
"System.Data": "4.0.0.0",
"System.Web": "4.0.0.0",
...
},
...
}
}
}If I use the dotnet build command on my machine, it works well. But in Pipelines, I get this message:
"<span class="ansi-red-fg">error DOTNET1012: The reference assemblies directory was not specified. You can set the location using the DOTNET_REFERENCE_ASSEMBLIES_PATH environment variable.</span><span>"</span>
Is it possible to build .Net projects with framework assemblies? And if yes, what changes should I do?
Thanks in advance.