-
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
Wrong install dir on VS2019? #477
Comments
Hi, can you please provide some context? What were you doing when you experienced the issue? Thanks! |
Sure! I just started working with BT2020 and I have lot of projects to migrate, all using BTDF for deploy. This is on a brand new DEV environment with all the BT2020 bits installed along with VS2019 Professional. I also added BTDF 5.8RC1 using the MSI installer from the release page https://github.com/BTDF/DeploymentFramework/releases/tag/v5.8.0-rc1. This installs BTDF all fine into the main MSBuild install folder The framework is referenced like so in the existing project files: But when I try to run this, using the command line since the plugin isn't ready, I get this error:
As you can see MSBuild is no longer looking for the framework in A bit of googling gave me this VS Enviroment-vars page at MS, where It not a big issue, its easy to just copy the install folder or just hard code the correct path in the project config, but it did not work for me out of the box. (I did check out the samples for the latest release as well, the samples still point to |
I also had this error |
It seems that the
MSBuildExtensionsPath
in Visual Studio 2019 is no longer pointing to the MSBuild install directory. Rather it points to a MSbuild folder below the VS2019 install folder:This caused the deploys to fail. I had to manually copy the BTDF folder into the new MSBuild folder.
I will also look into redefining the path variable in the btdfprj-file, which may be a better option than changing the install target folder.
The text was updated successfully, but these errors were encountered: