Skip to content
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

Roslyn code analyzer samples contain install.ps1/uninstall.ps1 that are no longer supported #5313

Open
Alex-Sob opened this issue Aug 25, 2022 · 0 comments

Comments

@Alex-Sob
Copy link

Alex-Sob commented Aug 25, 2022

Roslyn code analyzer samples contain install.ps1/unistall.ps1, but they are no longer supported:
https://devblogs.microsoft.com/nuget/nuget-now-fully-integrated-into-msbuild/#will-existing-nuget-packages-work-if-i-am-using-packagereference-for-wpf-windows-forms-or-asp-net-projects

Additionally, it seems that it's easier to include files in the package using Content element instead of using TargetsForTfmSpecificContentInPackage in the project file, like this:

<Content Include="...">
    <PackagePath>analyzers\dotnet\cs</PackagePath>
</Content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant