LaubPlusCo.Helix.VsTemplates icon indicating copy to clipboard operation
LaubPlusCo.Helix.VsTemplates copied to clipboard

[Minor] "Place solution and project in the same directory" checkbox breaks creation of new project

Open Antonytm opened this issue 3 years ago • 0 comments

Create button doesn't work, when Place solution and project in the same directory is checked.

image

As Place solution and project in the same directory has no sense for Helix Solution project it is minor. But it is confusing when you accidentally forgot about the checkbox and wonder why Create button doesn't work. That is why it will be enough some information message about it.

Trace:

Exception occurred while parsing manifest: Could not find file or directory on relative \src\$layerName$\$modulename$\$platformProjectfolderName$\$moduleNamespace$.csproj - expected file on full path c:\projects\helix.templates\Example.Module.Platform.Clean.SDK\src\$layerName$\$modulename$\$platformProjectfolderName$\$moduleNamespace$.csproj

   at LaubPlusCo.Foundation.HelixTemplating.Services.ParseManifestService.GetFullPath(String path, Boolean createFolder)
   at LaubPlusCo.Foundation.HelixTemplating.Services.ParseManifestService.GetConditionalValue(XPathNavigator navigator)
   at LaubPlusCo.Foundation.HelixTemplating.Services.ParseManifestService.ParseProjectsToAttach()
   at LaubPlusCo.Foundation.HelixTemplating.Services.ParseManifestService.Parse(String fileContent)
   at LaubPlusCo.Foundation.HelixTemplating.Services.ParseManifestService.Parse(IDictionary`2 replacementTokens)
Info: Manifest "Simple "legacy" Helix Solution - Support for 'CLASSIC' project style (example)" selected

Antonytm avatar Feb 03 '22 07:02 Antonytm