Skip to content

Commit b5b3633

Browse files
agockejaredpar
authored andcommitted
Require .NET 4.6 min runtime in app.config (#18018)
Fixes #17908 (cherry picked from commit 56ec8d1)
1 parent 3cb0b52 commit b5b3633

File tree

7 files changed

+27
-0
lines changed

7 files changed

+27
-0
lines changed

src/Compilers/CSharp/csc/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
33

44
<configuration>
5+
<startup>
6+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
7+
</startup>
58
<runtime>
69
<gcServer enabled="true" />
710
<gcConcurrent enabled="false"/>

src/Compilers/Server/VBCSCompiler/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
33

44
<configuration>
5+
<startup>
6+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
7+
</startup>
58
<runtime>
69
<gcServer enabled="true"/>
710
<gcConcurrent enabled="false"/>

src/Compilers/VisualBasic/vbc/App.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
33

44
<configuration>
5+
<startup>
6+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
7+
</startup>
58
<runtime>
69
<gcServer enabled="true" />
710
<gcConcurrent enabled="false"/>

src/Interactive/csi/App.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
3+
4+
<configuration>
5+
<startup>
6+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
7+
</startup>
8+
</configuration>

src/Interactive/csi/csi.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</ProjectReference>
3535
</ItemGroup>
3636
<ItemGroup>
37+
<None Include="App.config" />
3738
<None Include="csi.rsp">
3839
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3940
</None>

src/Interactive/vbi/App.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. -->
3+
4+
<configuration>
5+
<startup>
6+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
7+
</startup>
8+
</configuration>

src/Interactive/vbi/vbi.vbproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
</ProjectReference>
3535
</ItemGroup>
3636
<ItemGroup>
37+
<None Include="App.config" />
3738
<None Include="project.json" />
3839
<None Include="vbi.rsp">
3940
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)