getgauge / gauge-visualstudio

Visual Studio plugin for Gauge
10 stars 9 forks source link

Project and Spec file templates don't appear in VS project templates #215

Closed 0vid1u closed 6 years ago

0vid1u commented 6 years ago

Expected behavior

Project and Spec file templates should be appear in VS project templates

Actual behavior

Project and Spec file templates don't appear in VS project templates

Steps to reproduce

  1. Install extension from microsoft market place
  2. Create new project
  3. Select Gauge Test Project template

Version Information

VisualStudio Version and Edition :- 2015 Community and Enterprise Gauge VisualStudio Plugin Version :- 0.3.2

Run gauge -v on your system and paste the results here.


U:\>gauge -v
Gauge version: 0.9.4
Commit Hash: c96bdbb

Plugins
-------
csharp (0.10.1)
html-report (4.0.2)
screenshot (0.0.1)
xml-report (0.2.0)
sriv commented 6 years ago

The project and item templates were removed from the plugin. The plan is to make them available as part of Visual Studio Marketplace Templates.

This will help in maintaining templates without having to release the VS plugin.

Does this make sense? Or do you see a good reason to keep the templates within the plugin?

opursail commented 6 years ago

Maybe leave the project and item templates in the visual studio plugin until they are available as part of Visual Studio Marketplace Templates.

sriv commented 6 years ago

Thanks for the patience @ovixeu and @opursail .

I moved the templates to https://github.com/getgauge-contrib/gauge-visualstudio-templates

These are published here: https://marketplace.visualstudio.com/items?itemName=vs-publisher-1071478.gauge-visualstudio-templates

It might take a while for the templates to appear in the search results of VS New Project window. If you can't locate it, do let me know.

Closing this issue, feel free to open any discussions in https://github.com/getgauge-contrib/gauge-visualstudio-templates

karimnabli commented 5 years ago

Hi @sriv, I am commenting here to avoid to open new ticket similar to this one. Actually, I am experiencing the same issue, win10 - gauge installed either manually or with npm. $ gauge --version Gauge version: 1.0.4 Commit Hash: 3a9a647 Plugins csharp (0.10.5) dotnet (0.1.1) html-report (4.0.8) screenshot (0.0.1)

Visual studio professional 2017 v15.9.11 I have installed the IDE plugin 0.3.7 and the latest nightly one(I mean I have tried both of them) gauge is in the path, and there is GAUGE_HOME env-var. But I can't create a Guage project from VS2017. And even with a created project from the command line, the spec file could not be opened with Gauge pb1

pb2

pb3

pb4

I have been using Gauge at a very early stage with java and IntelliJ and got almost no problem, however with cs I am bit disappointed. definitely, I need a bit of support. Shall I open new issue or you will re-open the current if the bug is confirmed?

sriv commented 5 years ago

Hi @nablik - so there are two parts of your comment:

  1. unable to create a gauge project - You'll need to install https://marketplace.visualstudio.com/items?itemName=vs-publisher-1071478.gauge-visualstudio-templates. But I see that it is available for VS 2015 only. Please log an issue for VS2017 support here: https://github.com/getgauge-contrib/gauge-visualstudio-templates

  2. Unable to open a spec file - this is strange and not expected. Please create another issue in this repository, and if you have a sample project for us to check it, that'd be great. Also please mention which OS. VS version etc in the new issue.

I can say this isn't your fault and we'll help get this sorted.

karimnabli commented 5 years ago

Hi @sriv, I think there is no need to create an issue (https://github.com/getgauge/gauge-visualstudio/issues/251) I am importing dotnet project instead of csharp. I am a newbie in c# world, and I thought that the future of c# development is the core one. And I do like using VS2017 instead of VSCode. Is there by any chance a plan from Gauge to support dotnet (.NetCore) in the future or not ?

sriv commented 5 years ago

hi @nablik - We do not have a plan to add dotnet core support in visual studio (yet!), but I wouldn't rule it out. Honestly, we don't know how much of a value add it would be for our users.

If this is something that is critical to a good number of users, we'd be happy to oblige. Please add your thoughts on #215.

Pull requests are also most welcome, in case anyone is interested.

/cc @zabil

karimnabli commented 5 years ago

will do. Thanks million.