KreativJos / csharpextensions

C# Extensions for Visual Studio Code
MIT License
73 stars 35 forks source link

Project name disappears in namespace when creating new *.cs file #86

Closed d0972058277 closed 2 years ago

d0972058277 commented 2 years ago

CleanShot 2022-04-21 at 14 35 52

KreativJos commented 2 years ago

Could you provide some context?

  1. The version of the extension
  2. The folder structure from the csproj to the created file
  3. The csproj TargetFramework & optional RootNamespace
  4. Your OS (Mac / Windows / Linux)
d0972058277 commented 2 years ago

Could you provide some context?

  1. The version of the extension
  2. The folder structure from the csproj to the created file
  3. The csproj TargetFramework & optional RootNamespace
  4. Your OS (Mac / Windows / Linux)

The version of the vs code: v1.66.2

The version of the extension: v1.6.2

The folder structure & csproj TargetFramework: ServiceCluster-Notification └ charts └ src --└ NotificationSystem.Domain ----└ (NotificationSystem.Domain.csproj) netstandard2.0 --└ NotificationSystem.Application ----└ (NotificationSystem.Application.csproj) netstandard2.0 └ test --└ NotificationSystem.UseCase.Test ----└ (NotificationSystem.UseCase.Test.csproj) netcoreapp3.1 ----└ Aggregates ----└ Commands ----└ DomainEventHandlers ----└ IntegrationEvents

My OS: Apple M1 Max macOS Monterey 12.2.1

It was working fine yesterday, but today I found the problem. Now using jchannon's C# Extensions v1.3.1 does not have this problem.

KreativJos commented 2 years ago

Seems to be the same issue as #88 I can replicate this, and the issue doesn't occur in PR #92

KreativJos commented 2 years ago

Fixed & released in version 1.6.3