mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 19:10:41 -10:00
* fixing the vs * Update System.Runtime.Serialization.Formatters.Tests.csproj Co-authored-by: Viktor Hofer <[email protected]>
86 lines
7.7 KiB
XML
86 lines
7.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AllowUnsafeBlocks Condition="'$(TargetsWindows)' == 'true'">true</AllowUnsafeBlocks>
|
|
<IsPartialFacadeAssembly Condition="'$(TargetsNetFx)' == 'true'">true</IsPartialFacadeAssembly>
|
|
<GeneratePlatformNotSupportedAssemblyMessage Condition="'$(TargetsWindows)' != 'true'">SR.PlatformNotSupported_AccessControl</GeneratePlatformNotSupportedAssemblyMessage>
|
|
<TargetFrameworks>$(NetCoreAppCurrent)-Windows_NT;netstandard2.0;netstandard2.0-Windows_NT;net461-Windows_NT;$(NetFrameworkCurrent)-Windows_NT</TargetFrameworks>
|
|
<ExcludeCurrentNetCoreAppFromPackage>true</ExcludeCurrentNetCoreAppFromPackage>
|
|
<ExcludeCurrentFullFrameworkFromPackage>true</ExcludeCurrentFullFrameworkFromPackage>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition="'$(TargetsNetCoreApp)' != 'true'">
|
|
<Compile Include="$(CommonPath)System\Runtime\InteropServices\SuppressGCTransitionAttribute.internal.cs" />
|
|
</ItemGroup>
|
|
<!-- Source includes -->
|
|
<ItemGroup Condition="'$(TargetsWindows)' == 'true' and '$(TargetsNetFx)' != 'true'">
|
|
<Compile Include="$(CommonPath)Interop\Windows\Interop.Errors.cs" Link="Common\Interop\Windows\Interop.Errors.cs" />
|
|
<Compile Include="$(CommonPath)System\NotImplemented.cs" Link="Common\System\NotImplemented.cs" />
|
|
<Compile Include="System\IO\FileSystemAclExtensions.cs" />
|
|
<Compile Include="System\Security\AccessControl\DirectoryObjectSecurity.cs" />
|
|
<Compile Include="System\Security\AccessControl\DirectorySecurity.cs" />
|
|
<Compile Include="System\Security\AccessControl\FileSecurity.cs" />
|
|
<Compile Include="System\Security\AccessControl\FileSystemAccessRule.cs" />
|
|
<Compile Include="System\Security\AccessControl\FileSystemAuditRule.cs" />
|
|
<Compile Include="System\Security\AccessControl\FileSystemRights.cs" />
|
|
<Compile Include="System\Security\AccessControl\FileSystemSecurity.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Interop.BOOL.cs" Link="Common\Interop\Windows\Interop.BOOL.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.CreateFile.cs" Link="Common\Interop\Windows\Interop.CreateFile.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FILE_TIME.cs" Link="Common\Interop\Windows\Interop.FILE_TIME.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FileAttributes.cs" Link="Common\Interop\Windows\Interop.FileAttributes.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FileTypes.cs" Link="Common\Interop\Windows\Interop.FileTypes.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FindClose.cs" Link="Common\Interop\Windows\Interop.FindClose.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FindFirstFileEx.cs" Link="Common\Interop\Windows\Interop.FindFirstFileEx.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FormatMessage.cs" Link="Common\Interop\Windows\Interop.FormatMessage.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GenericOperations.cs" Link="Common\Interop\Windows\Interop.GenericOperations.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GET_FILEEX_INFO_LEVELS.cs" Link="Common\Interop\Windows\Interop.GET_FILEEX_INFO_LEVELS.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetFileAttributesEx.cs" Link="Common\Interop\Windows\Interop.GetFileAttributesEx.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetFileType_SafeHandle.cs" Link="Common\Interop\Windows\Interop.GetFileType_SafeHandle.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetFullPathNameW.cs" Link="Common\Interop\Windows\Interop.GetFullPathNameW.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetLongPathNameW.cs" Link="Common\Interop\Windows\Interop.GetLongPathNameW.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.GetLogicalDrives.cs" Link="Common\Interop\Windows\Interop.GetLogicalDrives.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.MAX_PATH.cs" Link="Common\Interop\Windows\Interop.MAX_PATH.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.SecurityOptions.cs" Link="Common\Interop\Windows\Interop.SecurityOptions.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.SECURITY_ATTRIBUTES.cs" Link="Common\Interop\Windows\Interop.SECURITY_ATTRIBUTES.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.SetThreadErrorMode.cs" Link="Common\Interop\Windows\Interop.SetThreadErrorMode.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.WIN32_FILE_ATTRIBUTE_DATA.cs" Link="Common\Interop\Windows\Interop.WIN32_FILE_ATTRIBUTE_DATA.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.WIN32_FIND_DATA.cs" Link="Common\Interop\Windows\Interop.WIN32_FIND_DATA.cs" />
|
|
<Compile Include="$(CoreLibSharedDir)System\IO\DisableMediaInsertionPrompt.cs" Link="Common\System\IO\DisableMediaInsertionPrompt.cs" />
|
|
<Compile Include="$(CoreLibSharedDir)System\IO\PathHelper.Windows.cs" Link="System\IO\PathHelper.Windows.cs" />
|
|
<Compile Include="$(CoreLibSharedDir)System\IO\PathInternal.cs" Link="System\IO\PathInternal.cs" />
|
|
<Compile Include="$(CoreLibSharedDir)System\IO\PathInternal.Windows.cs" Link="System\IO\PathInternal.Windows.cs" />
|
|
<Compile Include="$(CommonPath)System\IO\Win32Marshal.cs" Link="Common\System\IO\Win32Marshal.cs" />
|
|
<Compile Include="$(CommonPath)System\Text\ValueStringBuilder.cs" Link="Common\System\Text\ValueStringBuilder.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Interop.Libraries.cs" Link="Common\Interop\Windows\Interop.Libraries.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Interop.LongFileTime.cs" Link="Common\Interop\Windows\Interop.LongFileTime.cs" />
|
|
<Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.CreateDirectory.cs" Link="Common\Interop\Windows\Interop.CreateDirectory.cs" />
|
|
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeFindHandle.Windows.cs" Link="Common\Microsoft\Win32\SafeHandles\SafeFindHandle.Windows.cs" />
|
|
<Compile Include="$(CommonPath)System\IO\FileSystem.Attributes.Windows.cs" Link="Common\System\IO\FileSystem.Attributes.Windows.cs" />
|
|
<Compile Include="$(CommonPath)System\IO\FileSystem.DirectoryCreation.Windows.cs" Link="Common\System\IO\FileSystem.DirectoryCreation.Windows.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
|
|
<Compile Include="System\IO\FileSystemAclExtensions.net46.cs" />
|
|
</ItemGroup>
|
|
<!-- Reference includes -->
|
|
<ItemGroup Condition="'$(TargetsWindows)' == 'true' and '$(TargetsNetFx)' != 'true'">
|
|
<Reference Include="System.Buffers" />
|
|
<Reference Include="System.Collections" />
|
|
<Reference Include="System.Memory" />
|
|
<Reference Include="System.Runtime.InteropServices" />
|
|
<Reference Include="System.Threading.Tasks" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetsNetFx)' == 'true'">
|
|
<Reference Include="mscorlib" />
|
|
<Reference Include="System.Runtime" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetsNetFx)' != 'true'">
|
|
<Reference Include="System.Collections.NonGeneric" />
|
|
<Reference Include="System.Diagnostics.Debug" />
|
|
<Reference Include="System.IO.FileSystem" />
|
|
<Reference Include="System.Resources.ResourceManager" />
|
|
<Reference Include="System.Runtime" />
|
|
<Reference Include="System.Runtime.Extensions" />
|
|
<Reference Include="System.Runtime.Handles" />
|
|
<Reference Include="System.Security.AccessControl" />
|
|
<Reference Include="System.Security.Principal.Windows" />
|
|
</ItemGroup>
|
|
</Project> |