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

The target "VSTest" does not exist in the project #774

Closed
craigktreasure opened this issue Jun 3, 2022 · 3 comments
Closed

The target "VSTest" does not exist in the project #774

craigktreasure opened this issue Jun 3, 2022 · 3 comments

Comments

@craigktreasure
Copy link

Getting an error after upgrading to 3.5.107 and running dotnet test:

.nuget\packages\nerdbank.gitversioning\3.5.107\build\PrivateP2PCaching.proj : error MSB4057: The target "VSTest" does not exist in the project.

Any suggestions?

Last working version is 3.4.255.

@AArnott AArnott added this to the v3.5 milestone Jun 5, 2022
@AArnott
Copy link
Collaborator

AArnott commented Jun 5, 2022

Thanks for reporting. Check out our release notes for a workaround while waiting for another update to address this.

@AArnott AArnott added the bug label Jun 5, 2022
@AArnott AArnott closed this as completed in a39b14e Jun 6, 2022
@alexrp
Copy link
Contributor

alexrp commented Jul 30, 2022

@AArnott The workaround described there doesn't seem to work with 3.5.108 - I still get error MSB4057: The target "VSTest" does not exist in the project. with an empty VSTest target defined in a file imported by setting NBGV_PrivateP2PAuxTargets... 🤔

Any chance a39b14e is going to be included in a release soon?

AArnott added a commit that referenced this issue Aug 3, 2022
@AArnott
Copy link
Collaborator

AArnott commented Aug 3, 2022

That commit was unfortunately made on main instead of v3.5. bdfbd7d is the cherry-picked commit for v3.5.
v3.5.109 should push to nuget.org in moments with the fix, @alexrp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants