|
56 | 56 | <RepositoryReference Include="efcore" /> |
57 | 57 | </ItemGroup> |
58 | 58 |
|
| 59 | + <!-- Temporarily use N-1 version for Roslyn across both official and non-official builds. |
| 60 | + See https://github.com/dotnet/source-build/issues/5355 --> |
| 61 | + |
59 | 62 | <ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true' and '$(OfficialBuild)' == 'true'"> |
60 | 63 | <!-- |
61 | 64 | From aspnetcore Versions.props: |
|
64 | 67 | In source-build these don't need to be pinned and can use the source-built versions since it doesn't |
65 | 68 | need to support VS 2019. |
66 | 69 | --> |
67 | | - <ExtraPackageVersionPropsPackageInfo Include="Analyzer_MicrosoftCodeAnalysisCSharpVersion" Version="%24(MicrosoftCodeAnalysisCSharpVersion)" /> |
| 70 | + <!-- <ExtraPackageVersionPropsPackageInfo Include="Analyzer_MicrosoftCodeAnalysisCSharpVersion" Version="%24(MicrosoftCodeAnalysisCSharpVersion)" /> |
68 | 71 | <ExtraPackageVersionPropsPackageInfo Include="Analyzer_MicrosoftCodeAnalysisCSharpWorkspacesVersion" Version="%24(MicrosoftCodeAnalysisCSharpWorkspacesVersion)" /> |
69 | | - <ExtraPackageVersionPropsPackageInfo Include="MicrosoftCodeAnalysisVersion_LatestVS" Version="%24(MicrosoftCodeAnalysisCommonVersion)" /> |
| 72 | + <ExtraPackageVersionPropsPackageInfo Include="MicrosoftCodeAnalysisVersion_LatestVS" Version="%24(MicrosoftCodeAnalysisCommonVersion)" /> --> |
70 | 73 | </ItemGroup> |
71 | 74 |
|
72 | 75 | <!-- For non-official builds, use the Roslyn version contained in the N-1 build because ASP.NET Core needs to build and execute |
|
78 | 81 | By not lifting the M.CA version to the current version and instead using the N-1 version, we guarantee that it will match the version |
79 | 82 | containing in the executed SDK and avoiding this error. |
80 | 83 | --> |
81 | | - <ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true' and '$(OfficialBuild)' != 'true'"> |
| 84 | + <!-- <ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true' and '$(OfficialBuild)' != 'true'"> --> |
| 85 | + <ItemGroup Condition="'$(DotNetBuildSourceOnly)' == 'true'"> |
82 | 86 | <ExtraPackageVersionPropsPackageInfo Include="Analyzer_MicrosoftCodeAnalysisCSharpVersion" Version="%24(MicrosoftCodeAnalysisCSharpPreviousVersion)" /> |
83 | 87 | <ExtraPackageVersionPropsPackageInfo Include="Analyzer_MicrosoftCodeAnalysisCSharpWorkspacesVersion" Version="%24(MicrosoftCodeAnalysisCSharpWorkspacesPreviousVersion)" /> |
84 | 88 | <ExtraPackageVersionPropsPackageInfo Include="MicrosoftCodeAnalysisVersion_LatestVS" Version="%24(MicrosoftCodeAnalysisCommonPreviousVersion)" /> |
|
0 commit comments