dot-env-generator icon indicating copy to clipboard operation
dot-env-generator copied to clipboard

No DotEnv class, namespace or file is generated

Open nickpreston24 opened this issue 1 year ago • 2 comments

When I build after copy/pasting the example.env, there doesn't seem to be any indication of any code changes. No files added.

image

In my screenshot, the build succeeded and the only file changed is my csproj from adding the package.

Was there supposed to be C# code generated somewhere?

OS: Manjaro Linux .net version: .net 8.0

nickpreston24 avatar Oct 10 '24 15:10 nickpreston24

Sorry for the delay - if you pull this repo and try the example, does it work?

andrewmd5 avatar Oct 12 '24 09:10 andrewmd5

No prob.

I did this:

  1. Cloned the repo.
  2. nano and copied the example.env
  3. dotnet build.

I was unsure where to put the ItemGroup, however, so I left it out.

Nothing was generated, or if it was, it's hidden somehow (I'm new to generation, but looking to get into it).

nickpreston24 avatar Oct 13 '24 23:10 nickpreston24