You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is quite annoying. While it should be possible to generate consistant endings, VS shouldn't care at all about such things for generated files.
You can upvote this Roslyn bug: dotnet/roslyn#54633
Windows 10 22H2
Visual Studio: Community 2202 17.12.2
dotnet project: 8.0
ServiceScan.SourceGenerator: 1.2.5
Hi
I config:
result is:
and compile source, everything is OK.
![image](https://private-user-images.githubusercontent.com/21136680/392261134-0c3feff2-6b0c-41b3-84e9-5e079d1eb7f1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzOTYxNzMsIm5iZiI6MTczOTM5NTg3MywicGF0aCI6Ii8yMTEzNjY4MC8zOTIyNjExMzQtMGMzZmVmZjItNmIwYy00MWIzLTg0ZTktNWUwNzlkMWViN2YxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDIxMzExM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExNTcyN2Q0MTA0YWVjMTlhODMwZDAzYzFlNmQ3ZDAyOTAwNmFjMDQ4NDk4YzhiZDZhMTM5YjcxM2M0MjgzMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bJsHHlSRaKNlDLElCcbG3bxsjRIVbbrSgRRqDx95ibI)
but when open source file is generated, see warning:
this warning show when use '\n' instance of '\r\n'.
NOTE: Generated file must have two or more services added.
The text was updated successfully, but these errors were encountered: