-
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
Analyzer Template is ... broken #583
Comments
This was fixed by #581.
I believe this is caused by the path being too long. Can you tell me the total number of characters appearing in the value for
Five projects is the expected result. If the documentation says otherwise then it will need to be updated.
@StevenTCramer |
I'm using VS2019 16.7.1 and I got further, but I needed to add an additional NuGet package source to "https://dotnet.myget.org/F/roslyn-analyzers/api/v3/index.json" to get the Test project to build. |
And the defaults tests are failing:
Also tested in 16.8.0 Preview 1. |
This file is added by the template, but you may need to restart Visual Studio after creating the new project for it to take effect.
This can happen if the %TEMP%\test-packages folder contains incomplete data for a package. Deleting the folder should fix it. Ideally, the test would recover automatically from this situation; consider filing a new issue for it. |
@sharwell I'm on VS2019 Version 16.8.0 Preview 1.0 now and still get theMicrosoft Visual StudioThe path is not of a legal form.OKSo curious what version has this been fixed in? Maybe not shipped yet? |
@StevenTCramer it should be fixed in 16.8 Preview 2. |
I'm going to close this issue, as the primary problem related to invalid paths has been resolved. I believe there are a couple additional issues that people have experienced so I'll try to move those to new issues. |
@MichaRotstein can you file a separate issue for that error? I believe it's caused by path lengths (#583 (comment)) |
thanks I opened #601 |
Still an issue for me in VS2019 16.7.7 As workaround you can create empty solution first, then add new project from template. |
@akmetainfo This should be fixed in the 16.8 releases. See #583 (comment) above. 😄 |
@StevenTCramer commented on Sat Aug 08 2020
Can't create new Analyzer project
First I try to create from empty folder and get:
So I create a sln and try to add new project and then get
Yet it does create 5 projects NOT the 3 referenced here. And they don't complie and look like:
So it seems the template is broken and the docs are out of date or I have managed to somehow do this wrong. :)
Thanks.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@garfbradaz commented on Sun Aug 09 2020
Same issue reported here:
dotnet/docs#19876
Except mine dont creating the project's at all.
@BillWagner commented on Mon Aug 10 2020
ping @jmarolf
I think this is an error with the template. Should I move this to the roslyn repo?
@jmarolf commented on Mon Aug 10 2020
please move this to the dotnet/roslyn-sdk repo
The text was updated successfully, but these errors were encountered: