Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Question: Is .NET CLI or VS 2017 supported? #646

Closed
conniey opened this issue Apr 6, 2017 · 5 comments
Closed

Question: Is .NET CLI or VS 2017 supported? #646

conniey opened this issue Apr 6, 2017 · 5 comments

Comments

@conniey
Copy link
Member

conniey commented Apr 6, 2017

Hi,

I am trying to update our repository to VS1017, but the build.ps1 uses dotnet.exe and msbuild 15 because we are building a VS2017 extension. Is the .NET Core CLI 1.0.0 or msbuild 15 supported? It doesn't appear to be under the Onboarding Steps, and the PR is failing because it can't locate dotnet.exe in its path.

Thanks!

@mmitche
Copy link
Member

mmitche commented Apr 6, 2017

@conniey dotnet.exe will not be on the path on any of the machines. There are simply too many versions laying around to risk putting it on the path. That said, a machine with VS2017 is available, which should put dotnet.exe on the path if you run the vs developer prompt inside your CI script.

https://github.com/dotnet/dotnet-ci/blob/master/jobs/generation/Utilities.groovy#L239

Let me know if you need help.

@conniey
Copy link
Member Author

conniey commented Apr 7, 2017

Thanks!

@conniey conniey closed this as completed Apr 7, 2017
@conniey conniey reopened this Apr 14, 2017
@conniey
Copy link
Member Author

conniey commented Apr 14, 2017

@mmitche, I was checking out my CI build and it appears to be unable to locate Visual Studio 2017. Could I be missing something?

Error:

11:54:00 D:\j\workspace\Debug_prtestf8d899aa\build\Set-VsDevEnv.ps1 : Could not locate: C:\Program Files (x86)\Microsoft Visual Studio\2017. 

@mmitche
Copy link
Member

mmitche commented Apr 17, 2017

@conniey You need to commit the change to the netci.groovy before the PR changes will be visible.

@conniey
Copy link
Member Author

conniey commented Apr 18, 2017

@mmitche Hey, I did that and then put my commits on top of it.. but I am getting the same issue. :/ Is there any way to see what's on the machine building the PR?

@conniey conniey closed this as completed Apr 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants