Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search all sub-folders for <solutionNameNoExtension>.Deployment.btdfproj #430

Open
tfabraham opened this issue Nov 6, 2017 · 3 comments

Comments

@tfabraham
Copy link
Member

tfabraham commented Nov 6, 2017

In the DeploymentFramework.VisualStudioAddIn.Util.GetDeploymentProjectPath method, it would be good if the solution searched all subfolders below the solution file for the .Deployment.btdfproj

If I structure my code in folders as I would like them to be, when running the BTDF Visual Studio menu\toolbar options, I get the error message:

“Could not find a .btdfproj file for this solution. Valid locations relative to the solution root are: .Deployment<solutionNameNoExtension>.Deployment.btdfproj,
.Deployment\Deployment.btdfproj, Deployment<solutionNameNoExtension>.Deployment.btdfproj
or Deployment\Deployment.btdfproj.",

I would be keen to have all my BizTalk application solution files in a root folder with code for these different BizTalk applications in sub-folders that don’t match what BTDF currently requires.
This .Deployment.btdfproj files would still be unique across the folder structure.

This work item was migrated from CodePlex

CodePlex work item ID: '11177'
Vote count: '1'

@tfabraham
Copy link
Member Author

[tfabraham@7/17/2017]
Hi Charlie,

Thanks for the feedback. It was implemented with those limitations for performance reasons and to keep the implementation simple. The add-in doesn't track the location of the .btdfproj(s) as the state of the solution and its projects changes. As a result, the search happens every time a BTDF command begins. The limitations ensure that the repeated search time is negligible. The ultimate solution is still the most complex (by far) -- a full blown custom project type. I'll track this on the backlog.

Thanks!
Tom

@tfabraham
Copy link
Member Author

[charliemott@7/18/2017]
Thanks for the response. I would personally accept some (not a lot) performance drop in BTDF to support my ideal source code structure for BizTalk solutions. I am keen to maintain just a single copy of the following files across all our BizTalk application solutions. These files need to reside in the same file as the solution file.

CustomDictionary.xml
Settings.StyleCop
.DotSettings (Resharper)
sit.runsettings

I did look into some TFS source control mechanism of synchronising these files in multiple folders. But this does not seem to exist in TFS (https://stackoverflow.com/questions/17433932/tfs-check-out-in-different-folders-at-once).

@tfabraham
Copy link
Member Author

[tfabraham@7/24/2017]
I've packaged some of those same files in one or more custom, internal NuGet packages, so that they can be easily shared and centrally managed in source control. It worked very well. Even if your BizTalk version doesn't support NuGet packages in the projects, you can always add custom steps in the project to call NuGet.exe.

Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant