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

Build is now confusing when "Enable full solution analysis" is off #11378

Closed
davkean opened this issue May 17, 2016 · 5 comments · Fixed by #11478
Closed

Build is now confusing when "Enable full solution analysis" is off #11378

davkean opened this issue May 17, 2016 · 5 comments · Fixed by #11478
Assignees

Comments

@davkean
Copy link
Member

davkean commented May 17, 2016

When "Enable full solution analysis" is off, build is now very confusing:

  1. Sync to dotnet/project-system@b6f9b16
  2. Run build.cmd from a VS 15 command prompt
  3. Open src\ProjectSystem.sln
  4. Turn off Enable full solution analysis
  5. In the Error List, switch to Build + IntelliSense
  6. Build

Expected: Build fails, with the following Errors in the error list:

Warning RS0003  Do not directly await a Task without calling ConfigureAwait Microsoft.VisualStudio.ProjectSystem.Managed.VS C:\roslyn-project-system\src\Microsoft.VisualStudio.ProjectSystem.Managed.VS\ProjectSystem\VS\Build\LanguageServiceErrorListProvider.cs 86  Active
Error   RS0006  Attribute 'AppliesToAttribute' comes from a different version of MEF than the export attribute on 'Microsoft.VisualStudio.ProjectSystem.VS.Build.LanguageServiceErrorListProvider'  Microsoft.VisualStudio.ProjectSystem.Managed.VS C:\roslyn-project-system\src\Microsoft.VisualStudio.ProjectSystem.Managed.VS\ProjectSystem\VS\Build\LanguageServiceErrorListProvider.cs 17  Active
Warning RS0003  Do not directly await a Task without calling ConfigureAwait Microsoft.VisualStudio.ProjectSystem.Managed.VS C:\roslyn-project-system\src\Microsoft.VisualStudio.ProjectSystem.Managed.VS\ProjectSystem\VS\Build\LanguageServiceErrorListProvider.cs 86  Active

Actual: Build fails, no errors or warnings are displayed in the errorlist

If I switch to build-only, I see the above errors.

@davkean davkean changed the title When Build is now confusing when "Enable full solution analysis" is off Build is now confusing when "Enable full solution analysis" is off May 17, 2016
@mavasani mavasani added the Bug label May 20, 2016
@heejaechang
Copy link
Contributor

I tested this on simple solution and it worked. does both of you have latest Roslyn bits installed?

@davkean
Copy link
Member Author

davkean commented May 20, 2016

I'm on 1.2.1, NIck's on 1.3.

@nguerrera
Copy link
Contributor

Maybe I'm not quite on 1.3. I followed the steps here: https://github.com/dotnet/roslyn-internal/tree/master/Closed/Test/Solutions/RegenerateNewtonsoftErrorLogBaseline.txt and am running devenv /rootSuffix RoslynDev. Does that give me up to date error list bits?

@nguerrera
Copy link
Contributor

Can you try the solution referenced there?

@heejaechang
Copy link
Contributor

this repro require dev15, so let me try nick's repro.

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

Successfully merging a pull request may close this issue.

4 participants