Luke Puplett
Luke Puplett

Reputation: 45253

Visual Studio 2015 Build Tools missing DNX

I've installed Visual Studio 2015 Build Tools onto our TeamCity server but the DNX folder is missing from within its installation root.

MSBuild 14 won't build an xproj because it imports Microsoft.DNX.targets

I've installed the latest DNX via the DNVM but it didn't create the DNX folder I was hoping it would.

The folder is obviously there on my dev box with VS2015 installed. I guess I could install the VS Community Edition, but why would the build tools be missing a crucial component??

Upvotes: 0

Views: 695

Answers (1)

Luke Puplett
Luke Puplett

Reputation: 45253

Right now the DNX MSBuild targets are only installed with Visual Studio 2015 (specifically the Web Development Tools component).

https://github.com/aspnet/dnx/issues/2207#issuecomment-120076364

So it looks like I'll have to install Visual Studio 2015 Community Edition on the build server.

People are saying I should be using dnu from the command line, but the issue is that I need to make an MSDeploy package, and AFAIK, only MSBuild can do this.

Looks like I need to read this.

http://docs.asp.net/en/latest/publishing/iis.html

Upvotes: 1

Related Questions