File tree Expand file tree Collapse file tree 4 files changed +16
-35
lines changed Expand file tree Collapse file tree 4 files changed +16
-35
lines changed Original file line number Diff line number Diff line change 33
33
displayName : ' Build UI Tests'
34
34
inputs :
35
35
solution : src/SamplesApp/SamplesApp.UITests/SamplesApp.UITests.csproj
36
- msbuildArguments : /r /m /p:Configuration=Release /p:MicrosoftNetCompilerVersionOverride=4.0.1 / detailedsummary /m /bl:$(build.artifactstagingdirectory)\build.binlog
36
+ msbuildArguments : /r /m /p:Configuration=Release /detailedsummary /m /bl:$(build.artifactstagingdirectory)\build.binlog
37
37
38
38
- task : CopyFiles@2
39
39
displayName : ' Publish Wasm UITest binaries'
Original file line number Diff line number Diff line change 20
20
</PropertyGroup >
21
21
22
22
</Target >
23
-
24
- <!-- Import the override as the nuget tooling in VS is skipping ItemGroup conditions for legacy projects -->
25
- <Import Project =" roslyn-override.targets" Condition =" '$(MicrosoftNetCompilerVersionOverride)'!=''" />
26
-
27
23
</Project >
Original file line number Diff line number Diff line change 131
131
<MicrosoftNetCompilerVersionOverride >4.4.0-2.final</MicrosoftNetCompilerVersionOverride >
132
132
</PropertyGroup >
133
133
134
- <!-- Import the override as the nuget tooling in VS is skipping ItemGroup conditions for legacy projects -->
135
- <Import Project =" roslyn-override.targets" Condition =" '$(MicrosoftNetCompilerVersionOverride)'!=''" />
134
+ <PropertyGroup >
135
+ <!--
136
+ Disable shared compilation for the override to take place
137
+ https://github.com/dotnet/roslyn/blob/315c2e149ba7889b0937d872274c33fcbfe9af5f/src/NuGet/Microsoft.Net.Compilers/build/Microsoft.Net.Compilers.props#L36
138
+ -->
139
+ <UseSharedCompilation >false</UseSharedCompilation >
140
+ </PropertyGroup >
141
+
142
+ <ItemGroup >
143
+ <!-- This override is used to validate the use of specific version of the C# Compiler-->
144
+ <PackageReference Include =" Microsoft.Net.Compilers.Toolset" Version =" $(MicrosoftNetCompilerVersionOverride)" >
145
+ <PrivateAssets >all</PrivateAssets >
146
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
147
+ </PackageReference >
148
+ </ItemGroup >
136
149
137
150
<Target Name =" WorkaroundMissingWinAppSDKDLL"
138
151
BeforeTargets =" BinPlaceBootstrapDll" >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments