Tooling: Visual Studio 2015 Export Template Not Working

Created on 17 Aug 2016  Â·  6Comments  Â·  Source: aspnet/Tooling

_From @TLHamilton on August 17, 2016 16:5_

In Visual Studio 2015 I will create a new project File>New>Project>Templates>Visual C#>Web>ASP.NET Core Web Application (.Net Framework).

Once created, I will export a template from the project File>Export Template.

When I try to use this template to create another new project, none of the Template contents shows up.

I have seen a few comments about this on the web, but have not found a solution.

Is this a known problem? Is there a solution or work around?

Thanks.

_Copied from original issue: aspnet/Mvc#5153_

TFS Tracked

Most helpful comment

Found a workaround on Stackoverflow (It is working for me with VS 2015 Update 3):

http://stackoverflow.com/a/39718930

Copied from link:

I found the way to do this. Open up the zipfile and edit the .vstemplate file. The line that is missing is
<CreateInPlace>true</CreateInPlace>

This line goes between

<TemplateData></TemplateData>

This solves the problem for .NET Core 1.0.1 Tooling Preview 2, VS2015 Update 3.

All 6 comments

_From @ThoughtHaven on August 17, 2016 17:33_

I haven't verified this, but someone may have found a work around. Hope this works for us both.

_From @TLHamilton on August 17, 2016 20:13_

Sorry, but I could not get it to work when this work around was purposed and I still cannot get it to work.

I would be very interested if someone can verify this.

From: Brendan Ridenour [mailto:[email protected]]
Sent: Wednesday, August 17, 2016 10:34 AM
To: aspnet/Mvc [email protected]
Cc: Tom Hamilton [email protected]; Author [email protected]
Subject: Re: [aspnet/Mvc] Visual Studio 2015 Export Template Not Working (#5153)

I haven't verified this, but someone may have found a work aroundhttps://github.com/aspnet/Tooling/issues/306#issuecomment-195498755. Hope this works for us both.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/aspnet/Mvc/issues/5153#issuecomment-240486531, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOOR9VPtnz7YEWs_takUr9eHf6gl-t9vks5qg0X5gaJpZM4JmnYg.

_From @ThoughtHaven on August 17, 2016 20:16_

Didn't work for me either, unfortunately. It'll be nice when somebody gets this working.

TFS Bug#255944

Same issue here, workaround didn't work for me. VS 2015 Update 3.

Found a workaround on Stackoverflow (It is working for me with VS 2015 Update 3):

http://stackoverflow.com/a/39718930

Copied from link:

I found the way to do this. Open up the zipfile and edit the .vstemplate file. The line that is missing is
<CreateInPlace>true</CreateInPlace>

This line goes between

<TemplateData></TemplateData>

This solves the problem for .NET Core 1.0.1 Tooling Preview 2, VS2015 Update 3.

Was this page helpful?
0 / 5 - 0 ratings