|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk">
|
| 2 | + |
2 | 3 | <PropertyGroup>
|
| 4 | + <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)</TargetFrameworks> |
3 | 5 | <NoVbRuntimeReference>true</NoVbRuntimeReference>
|
4 | 6 | <VBRuntime>None</VBRuntime>
|
5 | 7 | <OptionStrict>On</OptionStrict>
|
6 | 8 | <OptionExplicit>On</OptionExplicit>
|
7 | 9 | <OptionInfer>Off</OptionInfer>
|
8 | 10 | <MyType>Empty</MyType>
|
9 | 11 | <OptionCompare>Binary</OptionCompare>
|
10 |
| - <WarningsNotAsErrors>42025</WarningsNotAsErrors> |
| 12 | + <WarningsNotAsErrors>$(WarningsNotAsErrors),42025</WarningsNotAsErrors> |
11 | 13 | <DefineConstants>$(DefineConstants),LATEBINDING=True</DefineConstants>
|
12 | 14 | <NoWarn>$(NoWarn),CA1052,CA1510,CA1810,CA1822,CA2200</NoWarn>
|
13 | 15 | <!-- Avoid unused fields warnings in Unix build -->
|
14 | 16 | <AssemblyName>Microsoft.VisualBasic.Core</AssemblyName>
|
15 | 17 | <RemoveIntegerChecks>false</RemoveIntegerChecks>
|
16 | 18 | <RootNamespace />
|
17 |
| - <TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppCurrent)-windows</TargetFrameworks> |
18 | 19 | <Nullable>disable</Nullable>
|
19 | 20 | <UseCompilerGeneratedDocXmlFile>false</UseCompilerGeneratedDocXmlFile>
|
20 | 21 | </PropertyGroup>
|
| 22 | + |
21 | 23 | <!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
|
22 | 24 | <PropertyGroup>
|
23 | 25 | <TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
|
24 | 26 | <ILLinkDescriptorsXml Condition="'$(TargetPlatformIdentifier)' == 'windows'">$(MSBuildProjectDirectory)\ILLink\ILLink.Descriptors.Windows.xml</ILLinkDescriptorsXml>
|
25 | 27 | <DefineConstants Condition="'$(TargetPlatformIdentifier)' == 'windows'">$(DefineConstants),TARGET_WINDOWS=True</DefineConstants>
|
26 | 28 | <NoWarn Condition="'$(TargetPlatformIdentifier)' != 'windows'">$(NoWarn);CA1823</NoWarn>
|
27 | 29 | </PropertyGroup>
|
| 30 | + |
28 | 31 | <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'">
|
29 | 32 | <Compile Include="Microsoft\VisualBasic\Helpers\NativeMethods.vb" />
|
30 | 33 | <Compile Include="Microsoft\VisualBasic\Helpers\NativeTypes.vb" />
|
31 | 34 | <Compile Include="Microsoft\VisualBasic\Helpers\SafeNativeMethods.vb" />
|
32 | 35 | <Compile Include="Microsoft\VisualBasic\Helpers\UnsafeNativeMethods.vb" />
|
33 | 36 | </ItemGroup>
|
| 37 | + |
34 | 38 | <ItemGroup>
|
35 | 39 | <Compile Include="Microsoft\VisualBasic\Collection.vb" />
|
36 | 40 | <Compile Include="Microsoft\VisualBasic\ComClassAttribute.vb" />
|
|
100 | 104 | <Compile Include="Microsoft\VisualBasic\VBFixedStringAttribute.vb" />
|
101 | 105 | <Compile Include="Microsoft\VisualBasic\VBMath.vb" />
|
102 | 106 | </ItemGroup>
|
| 107 | + |
103 | 108 | <ItemGroup>
|
104 |
| - <Reference Include="Microsoft.Win32.Primitives" /> |
105 |
| - <Reference Include="Microsoft.Win32.Registry" /> |
106 |
| - <Reference Include="System.Collections" /> |
107 |
| - <Reference Include="System.Collections.NonGeneric" /> |
108 |
| - <Reference Include="System.Collections.Specialized" /> |
109 |
| - <Reference Include="System.ComponentModel.Primitives" /> |
110 |
| - <Reference Include="System.Diagnostics.Process" /> |
111 |
| - <Reference Include="System.IO.FileSystem.DriveInfo" /> |
112 |
| - <Reference Include="System.Linq" /> |
113 |
| - <Reference Include="System.Linq.Expressions" /> |
114 |
| - <Reference Include="System.ObjectModel" /> |
115 |
| - <Reference Include="System.Reflection.Emit.ILGeneration" /> |
116 |
| - <Reference Include="System.Reflection.Emit.Lightweight" /> |
117 |
| - <Reference Include="System.Reflection.Primitives" /> |
118 |
| - <Reference Include="System.Runtime" /> |
119 |
| - <Reference Include="System.Runtime.InteropServices" /> |
120 |
| - <Reference Include="System.Text.RegularExpressions" /> |
121 |
| - <Reference Include="System.Threading" /> |
122 |
| - <Reference Include="System.Threading.Thread" /> |
| 109 | + <ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Win32.Primitives\src\Microsoft.Win32.Primitives.csproj" /> |
| 110 | + <ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Win32.Registry\src\Microsoft.Win32.Registry.csproj" /> |
| 111 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Collections.NonGeneric\src\System.Collections.NonGeneric.csproj" /> |
| 112 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Collections.Specialized\src\System.Collections.Specialized.csproj" /> |
| 113 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Collections\src\System.Collections.csproj" /> |
| 114 | + <ProjectReference Include="$(LibrariesProjectRoot)System.ComponentModel.Primitives\src\System.ComponentModel.Primitives.csproj" /> |
| 115 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Diagnostics.Process\src\System.Diagnostics.Process.csproj" /> |
| 116 | + <ProjectReference Include="$(LibrariesProjectRoot)System.IO.FileSystem.DriveInfo\src\System.IO.FileSystem.DriveInfo.csproj" /> |
| 117 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Linq.Expressions\src\System.Linq.Expressions.csproj" /> |
| 118 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Linq\src\System.Linq.csproj" /> |
| 119 | + <ProjectReference Include="$(LibrariesProjectRoot)System.ObjectModel\src\System.ObjectModel.csproj" /> |
| 120 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Reflection.Emit.ILGeneration\src\System.Reflection.Emit.ILGeneration.csproj" /> |
| 121 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Reflection.Emit.Lightweight\src\System.Reflection.Emit.Lightweight.csproj" /> |
| 122 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Reflection.Primitives\src\System.Reflection.Primitives.csproj" /> |
| 123 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Runtime.InteropServices\src\System.Runtime.InteropServices.csproj" /> |
| 124 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Runtime\src\System.Runtime.csproj" /> |
| 125 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Text.RegularExpressions\src\System.Text.RegularExpressions.csproj" /> |
| 126 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Threading.Thread\src\System.Threading.Thread.csproj" /> |
| 127 | + <ProjectReference Include="$(LibrariesProjectRoot)System.Threading\src\System.Threading.csproj" /> |
123 | 128 | </ItemGroup>
|
| 129 | + |
124 | 130 | </Project>
|
0 commit comments