microsoft/TypeAgent

Public

mirrored fromhttps://github.com/microsoft/TypeAgentAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/fix-shell-and-cli-windows-job

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

dotnet/autoShell/autoShell.csproj

45lines · modecode

1<Project Sdk="Microsoft.NET.Sdk">
2 <PropertyGroup>
3 <TargetFramework>net8.0-windows</TargetFramework>
4 <OutputType>Exe</OutputType>
5 <UseWindowsForms>true</UseWindowsForms>
6 <UseWPF>true</UseWPF>
7 <ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
8 <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9 <OutputPath>bin\$(Configuration)</OutputPath>
10 <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
11 <!-- Suppress interop warnings that are by-design for Win32/COM P/Invoke code -->
12 <NoWarn>$(NoWarn);SYSLIB1054;SYSLIB1096;CA1712;CA2101;CA1838</NoWarn>
13 <!-- Write source-generated files to Generated/ for easy inspection -->
14 <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
15 <CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
16 </PropertyGroup>
17 <ItemGroup>
18 <!-- Exclude emitted generated files from regular compilation (already compiled as source-generated) -->
19 <Compile Remove="Generated/**" />
20 <!-- But keep them visible in Solution Explorer for inspection -->
21 <None Include="Generated/**" LinkBase="Generated" />
22 </ItemGroup>
23 <ItemGroup>
24 <InternalsVisibleTo Include="autoShell.Tests" />
25 <InternalsVisibleTo Include="DynamicProxyGenAssembly2" />
26 </ItemGroup>
27 <ItemGroup>
28 <PackageReference Include="Interop.UIAutomationClient" Version="10.19041.0" />
29 <PackageReference Include="Microsoft-WindowsAPICodePack-Core" Version="1.1.5" />
30 <PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.5" />
31
32 <PackageReference Include="System.Management" Version="8.0.0" />
33 </ItemGroup>
34 <ItemGroup>
35 <!-- Source generator for typed action parameter records -->
36 <ProjectReference Include="..\autoShell.Generators\autoShell.Generators.csproj"
37 OutputItemType="Analyzer"
38 ReferenceOutputAssembly="false" />
39 </ItemGroup>
40 <ItemGroup>
41 <!-- Schema files generated by the TS action-schema-compiler (asc).
42 Build the TS desktop package first: pnpm run -C ts/packages/agents/desktop build -->
43 <AdditionalFiles Include="..\..\ts\packages\agents\desktop\dist\*.pas.json" LinkBase="Schemas" />
44 </ItemGroup>
45</Project>