WeihanLi / dotnet-exec

dotnet execute with custom entry point, another dotnet run without project file

Home Page:https://weihanli.github.io/dotnet-exec/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`$(RootNamespace)` caused `__GlobalUsings` error

WeihanLi opened this issue · comments

When we use the --project to exact the global usings and references from project file, it would fail when we're using <Using Include="$(RootNamespace)" /> in our project file

  <ItemGroup>
    <Using Include="$(RootNamespace)" />
  </ItemGroup>

Maybe we could ignore these usings if we could not find a property to replace it in project file