-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
Description (optional)
If Project foder path legth is larger then 72, Generating file might fail due to path is longer then 260.
Reproduction Steps
- Create a csproj in folde like
C:\Users\dummy\project\dummyrepor\dotnetbackend\dummyrepo.somebasementrepo\ - Import PolySharp
- Build
Expected Behavior
Build success.
Actual Behavior
Got Build Error:
CS0016 could not write to output“C:\Users\dummy\project\dummyrepor\dotnetbackend\dummyrepo.somebasementrepo\obj\Debug\netstandard2.0\generated\PolySharp.SourceGenerators\PolySharp.SourceGenerators.PolyfillsGenerator\System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute.g.cs” ........
System info
- PoloySharp Version: PackageVersion Include="PolySharp" Version="1.14.1"
- Operating System: Windows 11 Professional 23H2
- dotnet version 8.0.400
- Visual studio version 17.11.4
Additional context (optional)
Can we remove the repeated PolySharp.SourceGenerators in the path to reduce path length ?
Metadata
Metadata
Assignees
Labels
No labels