ngs-doo / dsl-compiler-client

DSL Platform - compiler clients
https://dsl-platform.com
BSD 3-Clause "New" or "Revised" License
25 stars 19 forks source link

Bug: Visual Studio plugin does not detect .dsl files in "Solution Folders" #81

Closed Kobus-Smit closed 7 years ago

Kobus-Smit commented 7 years ago

Seems the Visual Studio plugin only detect .dsl files if they are in Projects in the top level of the Solution Explorer.

If my Project with my .dsl files is in a Solution Folder then the Parse button returns:

DSL Platform compiler. Copyright � N.G.S. 2017
Version: 1.8.6456.19341
Usage: target=revenj.net dsl=dsl-folder

image and the Compile button: Object reference not set to an instance of an object.

image

I'll put it on my TODO list to fix someday but for now I just move my Project to the top level.

image

zapov commented 7 years ago

I know that plugin has problems detecting dsl files within the solution folders, but have not yet looked how to fix that. But it shouldn't break if you don't have any files in the root project... I get a different error message, so it might also be a VS version issue.

Which VS are you using?

Kobus-Smit commented 7 years ago

Visual Sudio 2017 v15.3.5 on Windows 10

It's not that critical issue to me, just kind of cosmetic.

zapov commented 7 years ago

It should be working with new version. You can download it off: https://github.com/ngs-doo/dsl-compiler-client/releases/tag/VS1.7.3

Kobus-Smit commented 7 years ago

Thanks @zapov.

I've created PR #85 Fix parsing/compile error when project name ends in .dsl