private void SendBuildRequestToTheServer(string solutionFilePath, string projectNameInSolution, PlatformName platform, bool isRebuildOfCodeForced) { var projectData = new CodePacker(solutionFilePath, projectNameInSolution); var request = new AppBuildRequest(Path.GetFileName(solutionFilePath), projectNameInSolution, platform, projectData.GetPackedData()); request.IsRebuildOfCodeForced = isRebuildOfCodeForced; request.ContentProjectName = GetContentProject(projectNameInSolution); Service.Send(request, false); }
public void AppBuildRequestMessageMustBeRestorable() { AppBuildRequest requestMessage = CreateValidBuildRequestWithDummyByte(); MessageTestExtensions.AssertObjectWhenSavedAndRestoredByToString(requestMessage); }
private void OnHandleBuildRequest(AppBuildRequest userBuildRequest) { NumberOfBuildRequests++; resultBuilder.BuildApp(userBuildRequest); }
public void BuildApp(AppBuildRequest userBuildRequest) { buildRequest = userBuildRequest; worker = new Thread(Run); worker.Start(); }