C#C
C#3y ago
SWEETPONY

❔ how to get path to folder?

I'd like to create folder in another csproj, how can I do it?
Now I only can do this using full path:
var folder = "C:\\Users\\Desktop\\dotnet\\Tools.ReportDesigner\\DebugReportData";
using var sw = File.CreateText( $"{folder}\\report.txt" );

where Tools.ReportDesigner is another csproj in sln
Was this page helpful?