I have a complete nanoframework project folder I azure blob , I have take the zip file from blob do a MS build of the nanoframework project and again store the build files to the blob.
using Microsoft.Build.Evaluation;
using Microsoft.Build.Execution;
using Microsoft.Build.Framework;
using Microsoft.Build.Logging;
string projectFileName = @"C:\Users\Dell\source\repos\NFApp9\NFApp9.sln";
ProjectCollection pc = new ProjectCollection();
Dictionary<string, string> GlobalProperty = new Dictionary<string, string>();
GlobalProperty.Add("Configuration", "Debug");
GlobalProperty.Add("Platform", "x86");
BuildRequestData buildRequest = new BuildRequestData(projectFileName, GlobalProperty, null, new string[] { "Clean", "Rebuild" }, null);
BuildParameters buildParameters = new BuildParameters(pc)
{
Loggers = new[] { new ConsoleLogger(LoggerVerbosity.Normal) }
};
BuildResult buildResult = BuildManager.DefaultBuildManager.Build(buildParameters, buildRequest);
This is the code Iam trying out but i get the error: