Files
Kyle Reed 924a28ed8d Update for .NET Core 8 (#267)
* Update for .NET Core 8
Clean up the netcore vcxproj files

* Update test assembly path

* Don't define a runtime lib in release builds (this is how it was before)

* Remove assemblyDebug from release builds

* Remember to actually save file after changing it
2025-11-19 16:47:22 -08:00

47 lines
1.9 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>ManagedExamples</RootNamespace>
<AssemblyName>ManagedExamples</AssemblyName>
<TargetFrameworks>net462;net8.0-windows</TargetFrameworks>
<Company>Microsoft Corporation</Company>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<Configurations>Debug;DebugSigning;Release;ReleaseSigning</Configurations>
<Platforms>AnyCPU;x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<SelfContained>false</SelfContained>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'x64'">
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)' == 'ARM64'">
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
<PlatformTarget>ARM64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'DebugSigning'">
<DebugSymbols>true</DebugSymbols>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'ReleaseSigning'">
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net462' ">
<ProjectReference Include="..\..\Microsoft.O365.Security.Native.ETW\Microsoft.O365.Security.Native.ETW.vcxproj" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0-windows' ">
<ProjectReference Include="..\..\Microsoft.O365.Security.Native.ETW.NetCore\Microsoft.O365.Security.Native.ETW.NetCore.vcxproj" />
</ItemGroup>
</Project>