Skip to content

Project templates are broken for .NET Framework #133

@Youssef1313

Description

@Youssef1313

Used Visual Studio

Visual Studio 2022

Are the latest Visual Studio updates installed?

Yes

Content of reqnroll.json (if present)

No response

Issue Description

https://github.com/reqnroll/Reqnroll.VisualStudio/blob/904c74a0be9a8175d83c2bb0bc752b982fddab50/Reqnroll.VisualStudio.ProjectTemplate/ProjectTemplate.csproj

The template doesn't compile for .NET Framework.

First, fails with:

Invalid 'nullable' value: 'Enable' for C# 7.3. Please use language version '8.0' or greater.

Then after addressing this, it fails with errors like:

obj\Debug\net48\TUnit.Core.SourceGenerator\TUnit.Core.SourceGenerator.Generators.AotModuleInitializerGenerator\AotModuleInitializer.g.cs 16

Steps to Reproduce

Create a project using .NET Framework.

Link to a project repository that reproduces the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions