1. 15 1月, 2019 1 次提交
  2. 18 12月, 2018 1 次提交
  3. 12 12月, 2018 1 次提交
    • J
      Use release bootstrap compiler · 220e0938
      Jared Parsons 提交于
      The point of using the bootstrap compiler is validating that we can
      build the C# code base with the latest C# compiler. Unfortunately the
      debug version of the compiler is significantly slower than the Release
      version and it slows down our Debug unit test runs accordingly.
      
      This change causes us to prefer a release version of the bootstrap
      compiler. The debug bootstrap compiler is still used in the determinism
      leg hence we wont't lose coverage here. This should bring our Release
      and Debug desktop tests back to the same run time.
      220e0938
  4. 11 12月, 2018 1 次提交
  5. 07 12月, 2018 1 次提交
  6. 28 11月, 2018 2 次提交
  7. 30 10月, 2018 1 次提交
  8. 19 10月, 2018 1 次提交
    • J
      Use Exec-Process · a79cfa4e
      Jared Parsons 提交于
      The `&` operator in Powershell does not easily allow arguments to be
      conditionally emitted into a command. This is because instead of
      inserting string contents when using variable replacement it will insert
      a quoted string instead. Using `Exec-Process` instead as it does proper
      substitution
      a79cfa4e
  9. 01 8月, 2018 1 次提交
  10. 27 7月, 2018 1 次提交
  11. 20 7月, 2018 1 次提交
  12. 23 6月, 2018 1 次提交
  13. 08 6月, 2018 1 次提交
  14. 12 4月, 2018 1 次提交
  15. 28 3月, 2018 1 次提交
    • J
      Update PATH to our xcopy CLI · d84b8ec9
      Jared Parsons 提交于
      In the case the CLI was previously downloaded but not yet on `%PATH%` we
      need to manually add it there. Not doing it leads to cases where MSBuild
      can't find the proper SDK and as a result failing the build.
      
      closes #25649
      d84b8ec9
  16. 21 3月, 2018 1 次提交
  17. 20 3月, 2018 2 次提交
  18. 14 2月, 2018 1 次提交
  19. 13 2月, 2018 1 次提交
  20. 03 2月, 2018 1 次提交
    • D
      Merge dev15.7.x to dev15.7.x-vs-deps (#24598) · 6e9d56a2
      dotnet bot 提交于
      * Remove duplicate lock DocumentState.s_syntaxTreeToIdMapLock
      
      This lock is only being used to protect access to an instance which contains
      internal synchronization.
      
      * Better handle surrounding directives when inlining a local variable.
      
      * Add tests.
      
      * Share code between VB and C#.
      
      * Reduce allocations in UnboundLambda
      
      Fixes #23463
      
      * Restore ReturnInferenceCacheKey as the key for _returnInferenceCache
      
      * Update code to more closely follow patterns of the original code
      
      * Cleanup from code review
      
      * basic fix for intellisense in Immediate window
      
      * better comments and cleanup
      
      * Add basic integration tests
      
      * cleanup inproc Immediate window integration test helper
      
      * fix incorrect comment
      
      * address PR feedback
      
      * create Immediate window on ImmediateWindow_InProc.GetText()
      
      * Verify MSBuild version in Developer CMD prompt
      
      Roslyn is designed to have the simplest possible contribution story:
      clone then build. Every pre-req needed is either located on the machine
      or bootstrapped via NuGet. All the way down to using an xcopy MSBuild if
      needed.
      
      The one case which causes a problem is the VS command prompt. In this
      case MSBuild is pre-installed on the machine and may or may not be
      suitable for building Roslyn.
      
      Previously when building from a VS command prompt we just used whatever
      MSBuild was provided. The assumption being a developer command prompt
      was an explicit statement of whath MSBuild you wanted to use. Based on
      all of our customer reports though this does not seem to be the
      assumption that consumers of our repo have. The build gave them no
      explicit errors about the provided toolset and hence when the build
      failed they assigned flakiness to our repo.
      
      Going forward we are applying the same version validation to MSBuild
      when provided via a developer command prompt. If it doesn't match we
      will refuse to build asking the user to upgrade VS or build from a
      normal command prompt.
      
      * Remove unneeded debugging line
      
      * Comment about pre-release
      
      * Added minimum version
      
      * Add Omit If Default style option
      
      * Add space to be like test without the omit
      
      * Add/Remove without needing a property
      
      * Reformat
      
      * PR feedback
      
      * Fix VB diagnostic based on feedback
      
      * Handle case of NotApplicable modifier and field declaration list
      
      * Fix tests
      
      * PR feedback
      
      * PR feedback
      
      * PreviewCodeAction was overriding ComputeOperations but returning a post-processed operation from original action. This results in another PostProcess being called on the codeaction. If postprocess was overriden in originalaction that'll be ignored the second time (#23920)
      
      * Support negative null-check when we are suggesting to inline type checks
      
      Fixes #21097
      Fixes #24286
      
      * fix a case where persistent storage registration fails and some clean… (#24458)
      
      * fix a case where persistent storage registration fails and some clean up code around it.
      
      * added readonly
      
      * address PR feedback
      
      * removed comments no longer relevant
      
      * renamed lock name
      
      * moved waiter from diagnostics.dll to features.dll where all interfaces are defined. (#24512)
      
      * put listener change back in (https://github.com/dotnet/roslyn/pull/24120)
      
      * leave old types in legacy folder until partner teams move to new interface
      
      * added legacy waiter to support partner teams
      
      * Remove methods indirecting access to _metadataFileNameToConvertedProjectReference
      
      This field is documented as being written and read from any thread,
      but in practice all uses are guarded by an AssertIsForeground(). Thus
      we can get rid of the helper methods that are trying to "help" by
      locking before accessing the fields, making it really hard to track all
      the real uses of it.
      
      * Make method static that doesn't need state
      
      * add a comment to address PR feedback
      
      * Fix up tests of P2P to metadata reference conversion
      
      It turns out we had some tests, but the tests were disabled. This was
      because the tests weren't working properly anyways: they were calling
      into UpdateProjectBinPath which only updated some (but not all) of
      the project state. That was an internal helper method that shouldn't
      be used by tests. Updating the tests to use
      SetBinOutputPathAndRelatedData works better.
      
      * Delete debug-only reference validation
      
      This was some legacy code that tried to verify that the references
      we have from the project system match up to what DTE and other sources
      say. This was debug-only, and the actual asserts were commented out.
      This is deadweight at this point, so delete it.
      
      * added and cleaned up logs around build and live diagnostics. (#24551)
      
      also added RoslynActivityLogger that can be enabled through project-system-tool
      
      * Avoid closure allocations on the BindSyntaxTreeToId fast path
      
      * CS1628 error text mentions in parameters; fixes #24584
      
      * Small cleanup of completion logic.
      
      * Move to xunit.console for CoreClr tests
      
      Previously we were using xunit.console for desktop tests and dotnet-xunit for our
      CoreClr tests. This change unifies us on top of xunit.console (now that it has a
      netcoreapp2.0 version available).
      
      * Move unix builds to xunit.runner.console as well
      
      * Get actual directory name, not file
      
      * Fix dir name issue
      
      * fixed build break
      6e9d56a2
  21. 31 1月, 2018 4 次提交
    • J
      Added minimum version · e860ffb7
      Jared Parsons 提交于
      e860ffb7
    • J
      Comment about pre-release · 8eec1406
      Jared Parsons 提交于
      8eec1406
    • J
      Remove unneeded debugging line · f1f7ddd4
      Jared Parsons 提交于
      f1f7ddd4
    • J
      Verify MSBuild version in Developer CMD prompt · e9c0d8f3
      Jared Parsons 提交于
      Roslyn is designed to have the simplest possible contribution story:
      clone then build. Every pre-req needed is either located on the machine
      or bootstrapped via NuGet. All the way down to using an xcopy MSBuild if
      needed.
      
      The one case which causes a problem is the VS command prompt. In this
      case MSBuild is pre-installed on the machine and may or may not be
      suitable for building Roslyn.
      
      Previously when building from a VS command prompt we just used whatever
      MSBuild was provided. The assumption being a developer command prompt
      was an explicit statement of whath MSBuild you wanted to use. Based on
      all of our customer reports though this does not seem to be the
      assumption that consumers of our repo have. The build gave them no
      explicit errors about the provided toolset and hence when the build
      failed they assigned flakiness to our repo.
      
      Going forward we are applying the same version validation to MSBuild
      when provided via a developer command prompt. If it doesn't match we
      will refuse to build asking the user to upgrade VS or build from a
      normal command prompt.
      e9c0d8f3
  22. 12 12月, 2017 5 次提交
  23. 09 12月, 2017 1 次提交
  24. 01 12月, 2017 3 次提交
    • J
      Made runtime version configurable · 17d6bcf7
      Jared Parsons 提交于
      17d6bcf7
    • J
      Verifying shared runtime is the problem · f157f092
      Jared Parsons 提交于
      The abscence of the 2.0.0 shared runtime seems to be the cause of our
      CoreClr based suite failures. Hard coding the download of the runtime to
      verify this is the case. Will work on a better fix after it's verified.
      f157f092
    • J
      Check the SDK dir · c16d9301
      Jared Parsons 提交于
      When looking to see if we have the proper CLI installed for building
      need to check the SDK dir, not the CLI directory. This ensures that when
      we change SDK versions being used we download the appropriate SDK and
      don't accidentally used the previous install.
      c16d9301
  25. 28 11月, 2017 2 次提交
    • J
      Move to single toolset package · 6ab0b814
      Jared Parsons 提交于
      This merges the base and core toolset files into a single project file.
      It uses multi-targeting to achieve the effect of having multiple files.
      6ab0b814
    • J
      Restore toolset packages to Obj directory · 7b83426c
      Jared Parsons 提交于
      The toolset packages were all restoring to the source directory. This
      violates our build principal of builds should never write to the source
      directory.
      
      Changed to restore to the Obj directory as the rest of our code does.
      Temporarily went back to the old MSBuild syntax. This will move to the
      new MSbuild syntax with the rest of the repo.
      
      The general principal here is that source directories should be
      immutable. Ideally builds should be done with the write permissions set
      to deny on the entire source tree. Having an immutable source tree helps
      ensure that:
      
      - Builds are repeatable: Any mutation, even simply new files, means it's
      new input for the next build to see and potentially alter behavior.
      - Builds can run in parallel: The source tree is read many times during
      build. Any mutation to the tree can impact parallelization as order of
      reads and writes must now be taken into account.
      7b83426c
  26. 04 10月, 2017 1 次提交
  27. 01 9月, 2017 2 次提交