WeihanLi / dotnet-exec

dotnet execute with custom entry point, another dotnet run without project file
Apache License 2.0
43 stars 4 forks source link

`$(RootNamespace)` caused `__GlobalUsings` error #5

Closed WeihanLi closed 1 year ago

WeihanLi commented 1 year ago

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