/ src / modules / Workspaces / WorkspacesEditor / WorkspacesEditor.csproj
WorkspacesEditor.csproj
  1  <Project Sdk="Microsoft.NET.Sdk">
  2    <!-- Look at Directory.Build.props in root for common stuff as well -->
  3    <Import Project="$(RepoRoot)src\Common.Dotnet.CsWinRT.props" />
  4    <Import Project="$(RepoRoot)src\Common.SelfContained.props" />
  5  
  6    <PropertyGroup>
  7      <AssemblyTitle>PowerToys.WorkspacesEditor</AssemblyTitle>
  8      <AssemblyDescription>PowerToys Workspaces Editor</AssemblyDescription>
  9      <Description>PowerToys Workspaces Editor</Description>
 10      <OutputType>WinExe</OutputType>
 11      <UseWPF>true</UseWPF>
 12      <UseWindowsForms>true</UseWindowsForms>
 13      <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
 14      <AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
 15      <GenerateSatelliteAssembliesForCore>true</GenerateSatelliteAssembliesForCore>
 16      <OutputPath>$(RepoRoot)$(Platform)\$(Configuration)</OutputPath>
 17    </PropertyGroup>
 18  
 19    <PropertyGroup>
 20      <ProjectGuid>{367D7543-7DBA-4381-99F1-BF6142A996C4}</ProjectGuid>
 21      <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
 22      <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
 23    </PropertyGroup>
 24  
 25    <PropertyGroup>
 26      <ApplicationIcon>..\Assets\Workspaces\Workspaces.ico</ApplicationIcon>
 27    </PropertyGroup>
 28    <PropertyGroup>
 29      <ApplicationManifest>app.manifest</ApplicationManifest>
 30      <AssemblyName>PowerToys.WorkspacesEditor</AssemblyName>
 31    </PropertyGroup>
 32    <ItemGroup>
 33      <COMReference Include="IWshRuntimeLibrary">
 34        <WrapperTool>tlbimp</WrapperTool>
 35        <VersionMinor>0</VersionMinor>
 36        <VersionMajor>1</VersionMajor>
 37        <Guid>f935dc20-1cf0-11d0-adb9-00c04fd58a0b</Guid>
 38        <Lcid>0</Lcid>
 39        <Isolated>false</Isolated>
 40        <EmbedInteropTypes>true</EmbedInteropTypes>
 41      </COMReference>
 42      <COMReference Include="Shell32">
 43        <WrapperTool>tlbimp</WrapperTool>
 44        <VersionMinor>0</VersionMinor>
 45        <VersionMajor>1</VersionMajor>
 46        <Guid>50a7e9b0-70ef-11d1-b75a-00a0c90564fe</Guid>
 47        <Lcid>0</Lcid>
 48        <Isolated>false</Isolated>
 49        <EmbedInteropTypes>true</EmbedInteropTypes>
 50      </COMReference>
 51    </ItemGroup>
 52    <ItemGroup>
 53      <Content Include="..\Assets\**\*.*">
 54        <Link>Assets\Workspaces\%(Filename)%(Extension)</Link>
 55        <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 56      </Content>
 57    </ItemGroup>
 58   
 59    <ItemGroup>
 60      <EmbeddedResource Update="Properties\Resources.resx">
 61        <Generator>PublicResXFileCodeGenerator</Generator>
 62        <LastGenOutput>Resources.Designer.cs</LastGenOutput>
 63      </EmbeddedResource>
 64      <None Include="app.manifest" />
 65    </ItemGroup>
 66  
 67    <ItemGroup>
 68      <PackageReference Include="ModernWpfUI" />
 69      <PackageReference Include="System.IO.Abstractions" />
 70    </ItemGroup>
 71  
 72    <ItemGroup>
 73      <ProjectReference Include="..\..\..\common\Common.UI\Common.UI.csproj" />
 74      <ProjectReference Include="..\..\..\common\GPOWrapperProjection\GPOWrapperProjection.csproj" />
 75      <ProjectReference Include="..\..\..\common\interop\PowerToys.Interop.vcxproj" />
 76      <ProjectReference Include="..\..\..\common\ManagedCommon\ManagedCommon.csproj" />
 77      <ProjectReference Include="..\..\..\common\ManagedTelemetry\Telemetry\ManagedTelemetry.csproj" />
 78      <ProjectReference Include="..\..\..\settings-ui\Settings.UI.Library\Settings.UI.Library.csproj" />
 79      <ProjectReference Include="..\WorkspacesCsharpLibrary\WorkspacesCsharpLibrary.csproj" />
 80    </ItemGroup>
 81    <ItemGroup>
 82      <Compile Remove="Data\WorkspacesData.cs" />
 83      <Compile Remove="Data\ProjectData.cs" />
 84      <Compile Remove="Data\WorkspacesEditorData`1.cs" />
 85      <Compile Remove="Utils\IOUtils.cs" />
 86      <Compile Remove="Utils\FolderUtils.cs" />
 87      <Compile Remove="Utils\DashCaseNamingPolicy.cs" />
 88    </ItemGroup>
 89  
 90    <ItemGroup>
 91      <Compile Update="Properties\Resources.Designer.cs">
 92        <DesignTime>True</DesignTime>
 93        <AutoGen>True</AutoGen>
 94        <DependentUpon>Resources.resx</DependentUpon>
 95      </Compile>
 96      <Compile Update="Properties\Settings.Designer.cs">
 97        <DesignTimeSharedInput>True</DesignTimeSharedInput>
 98        <AutoGen>True</AutoGen>
 99        <DependentUpon>Settings.settings</DependentUpon>
100      </Compile>
101    </ItemGroup>
102    <ItemGroup>
103      <None Update="Properties\Settings.settings">
104        <Generator>SettingsSingleFileGenerator</Generator>
105        <LastGenOutput>Settings.Designer.cs</LastGenOutput>
106      </None>
107    </ItemGroup>
108  </Project>