-
Notifications
You must be signed in to change notification settings - Fork 256
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
Issues building the default analyzer + codefix template #718
Comments
Commenting the <!--<PackageReference Include="Microsoft.VSSDK.BuildTools" Version="15.1.192" PrivateAssets="all" />--> Why is this package needed? Can it be safely removed from the template? |
* Create dotnet.yml * Use windows instead to workaround build failure on Linux * Remove Microsoft.VSSDK.BuildTools See dotnet/roslyn-sdk#718 (comment) * Disable some rules for tests
The vsix project does not support building with The VSSDK build tools package is essential for correct behavior of the project it is installed in. |
Can you elaborate more on this? I'm getting the correct behavior without it when I set the Vsix project as the startup project and run it. |
In that case, it's running an old version that was installed by a previous build. |
I'm going to resolve this one as wontfix. It's technically can't fix, but the reason is external to this repository. |
@sharwell The first issue (building on Linux) (wasn't discussed in comments) can probably have some fix. |
@Youssef1313 This was already fixed for dotnet/roslyn-analyzers (dotnet/roslyn-analyzers@c0f21b4), so we could use the same approach here. We changed |
See Youssef1313/YAnalyzers#7
With the first commit, I'm adding a GH Action that tries to build the default template. It fails with:
The reason is the path separator being the same as the package version separator on Linux.
This is caused by the usage of
MSBuildProjectFullPath
introduced with d4e9656. I'm not sure what the proper fix is.With the second commit where I switched to Windows, it fails with:
I can reproduce this behavior locally, but only from command-line build.
Building in Visual Studio works.
cc @jmarolf @sharwell
The text was updated successfully, but these errors were encountered: