-
-
Notifications
You must be signed in to change notification settings - Fork 986
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
Auto-generated project has invalid XML #1532
Comments
Could you please:
More about troubleshooting BDN: https://benchmarkdotnet.org/articles/guides/troubleshooting.html#benchmarkdotnet |
Yes, I have pasted it below.
|
Any ideas? |
We have a very simple logic that tries to copy selected MSBuild settings from the project file that defines the benchmarks to the auto-generated project:
BenchmarkDotNet/src/BenchmarkDotNet/Toolchains/CsProj/CsProjGenerator.cs Lines 114 to 116 in fa7da4e
The problem is that we are just using Here most probably you have changed something in your project file and we copy too much: <LangVersion>8.0</LangVersion><LangVersion>preview</LangVersion> The workaround for you would be to have a single (or none) The proper fix requires a major redesign on our side and we are already working on it: #1403 |
Ok, let me try just one version. I will get back to you. David |
I set my toolchain to NetCoreApp50 and removed the LangVersion, AnalysisLevel and LangVersion elements from the project file, but I'm still getting the error. |
please share the new |
Ok, still having the issue. Below is the output for the run and the csproj file.
|
Does |
I will check and get back to you. Thanks. |
Ok, that worked. But... at first I just commented out the tag and I still got the error. I had to remove the tags entirely from the csproj. |
The issue has been fixed by #1420. |
Last week I had to rebuild my machine and reinstalled VS2019 Preview, but now when I run the benchmark I get the error below. It was working fine before the rebuild, so I am guessing I am missing something but don't know what.
The text was updated successfully, but these errors were encountered: