-
Notifications
You must be signed in to change notification settings - Fork 24
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
Problem with BTDF v5.8 when .NET Framework 3.5 is installed on the machine #478
Comments
Thanks - can you please provide more specifics? Is this the Deployment Framework installer MSI or an application MSI? Is the issue with the Visual Studio addin generating the MSI? What version of BizTalk? |
Hi Thomas, So what we try to do is an MSI file of our BizTalk solution and make an MSI to run/install on our machine. When we uninstall the .NET Framework 3.5 in (add/remove Windows features) we succeded in the installation with the generated MSI file. If we have the .NET Framework 3.5 installed, and run the MSI file we got the following error when we trying to deploy: |
Thanks - odd, the process is v4.0.30319\MSBuild.exe, yet it's reporting v2.0.50727. That may have to do with the ToolsVersion in the project file... can you check that in your .btdfproj? You should have ToolsVersion="15.0" on your Project element. |
Hi, Then I looked in C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0 and the file "BizTalkDeploymentFramework.targets". In this file I have found the Target with the name "SetToolVersionParam". If I compare this Target with the older version of Deployment Framework the ToolsVersionParam have been changed from 4.0 to 12.0. If Ichange back the value of ToolsVersionParam from 12.0 to 4.0 everything seems to work like a charm, even if I have the .NET Framework 3.5 installed on the machine. Is this a bug in the framework or something that is wrong with the configuration on my machine? |
Thanks for that additional diagnosis! The Framework's runtime configuration (which often executes on machines without Visual Studio) should probably be fixed at ToolsVersion="4.0". Anything greater is only valid if someone manually installed a newer MSBuild or Visual Studio. I'll plan to revert the ToolsVersion in BizTalkDeploymentFramework.targets. |
Hi,
We have noticed some problems with the deployment framework v5.8 when we have .NET Framework 3.5/4.0 installed. The issue appear on my computer with Windows 10 installed and the .NET 3.5 featured activated in "Add/remove programs/features". When I uninstalled the .NET framework 3.5 the MSI worked like a charm to run.
I made the installation by running MSBuild command and generate a MSI file and then install this one on my computer.
The text was updated successfully, but these errors were encountered: