Open syedhamjath opened 5 years ago
If there's multiple paths that devenv.com exists. The issue in the powershell script is $devenv = (Get-ChildItem C:\ -Filter "devenv.com" -Recurse -Name) can return multiple paths. and then it blindly does $devenv = "C:\$devenv". A simple fix in the powershell can check if there's multiple and if there is it would grab the first. I might do a clone of this repo and publish it, or do PR and hope this gets fixed.
Created a pull request that will fix the problem. Cross our fingers that the owner will push out the update.
@syedhamjath I created another Extension and published it on Azure Devops. It's called SSRS Deploy V2. Feel free to check it out. You'll need to remove the extension that's for this site. I've added more features, such as specifying Server Version (SSRS2008, SSRS2016, etc)
Hi! I merged the pull request and I'm building the marketplace package right now. @jbarber2016 I'd be happy to accept more pull requests to see if the other additions you've made can be merged into this component as well if you'd like to. Arno
@avdbrink I was looking into replacing devenv.com with msbuild. There's now support for using msbuild. The reason is I have seen messages from devenv.com that will say license has expired for Visual Studio. The hard part though is figuring out how to replace the variables for Server Url and all the others. Perhaps this is something we can both solve.
I've created #6 so that you can enter the path to devenv via a variable.
If multiple version of visual studio is installed the path of the $devenv variable becomes invalid hence add a property to get IDE Visual studio version and use the appropriate while deployment. This removes the need for search and deployment is faster.