-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.cs
code files in Shared Projects are not formatted
#945
Comments
Do you have an example of your setup? I am assuming the projects are using CSharpier.MSBuild. The dotnet tool just works on directory contents and has been working with the CSharpier VS plugin, which uses a shared project. |
Can you provide more than just a link? How do I reproduce the problem? |
I have created a sample repository with the error image. - https://github.com/samtrion/bug-csharpier-945 By way of explanation, I use a The code inside the The same error pattern can be observed via a link reference to a file. <ItemGroup>
<Compile Include="..\Test.Shared\ExtraLongMethodBody.cs" Link="ExtraLongMethodBody.cs" />
</ItemGroup> Also in this case the file |
Thanks, I can see the problem now, but there isn't an easy fix. The way
There may be some other way to do this in the context of msbuild, but my googling hasn't turned up anything yet. |
If you use Shared Projects
.shproj
, the contents are not formatted here. Although the code actually belongs to the consuming.csproj
projects.The text was updated successfully, but these errors were encountered: