microsoft/TypeAgent
Publicmirrored fromhttps://github.com/microsoft/TypeAgentAvailable
dotnet/agentLauncher/src/AgentLauncher.csproj
58lines · modecode
| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | <PropertyGroup> |
| 3 | <OutputType>WinExe</OutputType> |
| 4 | <TargetFramework>net8.0-windows10.0.26100.0</TargetFramework> |
| 5 | <TargetPlatformMinVersion>10.0.26100.0</TargetPlatformMinVersion> |
| 6 | <RootNamespace>AgentLauncher</RootNamespace> |
| 7 | <RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers> |
| 8 | <UseWinUI>false</UseWinUI> |
| 9 | <EnableMsixTooling>true</EnableMsixTooling> |
| 10 | <WindowsPackageType>MSIX</WindowsPackageType> |
| 11 | <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> |
| 12 | <Platforms>x64;ARM64</Platforms> |
| 13 | <Nullable>enable</Nullable> |
| 14 | <ImplicitUsings>enable</ImplicitUsings> |
| 15 | |
| 16 | <!-- App Actions / Agent Launcher - using manual registration.json for URI protocol activation --> |
| 17 | <GenerateActionRegistrationManifest>false</GenerateActionRegistrationManifest> |
| 18 | <GenerateActionsWinRTComServer>false</GenerateActionsWinRTComServer> |
| 19 | |
| 20 | <!-- Use newer Windows SDK version (10.0.26100.81 provides assembly version 10.0.26100.79) --> |
| 21 | <WindowsSdkPackageVersion>10.0.26100.81</WindowsSdkPackageVersion> |
| 22 | <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
| 23 | <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> |
| 24 | </PropertyGroup> |
| 25 | |
| 26 | <!-- Completely disable the Windows SDK version check by overriding the target to do nothing --> |
| 27 | <Target Name="_ErrorOnUnresolvedWindowsSDKAssemblyConflict" BeforeTargets="CoreCompile" /> |
| 28 | |
| 29 | <ItemGroup> |
| 30 | <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.250401001" /> |
| 31 | <PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" /> |
| 32 | <PackageReference Include="Microsoft.AI.Actions" Version="0.1.0" /> |
| 33 | <PackageReference Include="Shmuelie.WinRTServer" Version="2.1.1" /> |
| 34 | <PackageReference Include="System.Text.Json" Version="8.0.5" /> |
| 35 | </ItemGroup> |
| 36 | |
| 37 | <PropertyGroup> |
| 38 | <!-- Suppress assembly version mismatch error --> |
| 39 | <NoWarn>$(NoWarn);CS1705</NoWarn> |
| 40 | <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch> |
| 41 | </PropertyGroup> |
| 42 | |
| 43 | <ItemGroup> |
| 44 | <AppxManifest Include="Package.appxmanifest"> |
| 45 | <SubType>Designer</SubType> |
| 46 | </AppxManifest> |
| 47 | </ItemGroup> |
| 48 | |
| 49 | <ItemGroup> |
| 50 | <None Include="app.config" /> |
| 51 | </ItemGroup> |
| 52 | |
| 53 | <ItemGroup> |
| 54 | <Content Include="Scripts\**\*"> |
| 55 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
| 56 | </Content> |
| 57 | </ItemGroup> |
| 58 | </Project> |
| 59 | |