11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.-->
3- <Project Sdk =" Microsoft.NET.Sdk" >
3+ <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop " >
44
55 <PropertyGroup >
66 <OutputType >Library</OutputType >
77 <NoWarn >$(NoWarn);1591</NoWarn >
88 <RootNamespace >Microsoft.VisualStudio.FSharp.UIResources</RootNamespace >
99 <GeneratePkgDefFile >false</GeneratePkgDefFile >
10+ <UseWpf >true</UseWpf >
1011 </PropertyGroup >
1112
1213 <ItemGroup >
1819 <InternalsVisibleTo Include =" VisualFSharp.UnitTests" />
1920 </ItemGroup >
2021
21- <ItemGroup >
22- <Reference Include =" System.Xaml" />
23- <Reference Include =" PresentationCore" />
24- <Reference Include =" PresentationFramework" />
25- <Reference Include =" WindowsBase" />
26- </ItemGroup >
27-
28- <ItemGroup >
29- <Compile Update =" Strings.Designer.cs" >
30- <DesignTime >True</DesignTime >
31- <AutoGen >True</AutoGen >
32- <DependentUpon >Strings.resx</DependentUpon >
33- </Compile >
34- <Compile Update =" FormattingOptionsControl.xaml.cs" >
35- <DependentUpon >FormattingOptionsControl.xaml</DependentUpon >
36- </Compile >
37- </ItemGroup >
38- <ItemGroup >
39- <EmbeddedResource Update =" Strings.resx" >
40- <Generator >PublicResXFileCodeGenerator</Generator >
41- <LastGenOutput >Strings.Designer.cs</LastGenOutput >
42- </EmbeddedResource >
43- </ItemGroup >
44-
45- <!-- The following are hacks to allow WPF to build. -->
46- <ItemGroup >
47- <Page Include =" **\*.xaml" SubType =" Designer" Generator =" MSBuild:Compile" />
48- <None Include =" @(Page)" />
49- <None Include =" @(Resource)" />
50- <Compile Update =" **\*.xaml.cs" SubType =" Code" DependentUpon =" %(Filename)" />
51- <!-- <Compile Update="$(IntermediateOutputPath)**\*.g.cs" Visible="false" />-->
52- <UpToDateCheckInput Include =" **\*.xaml" />
53- </ItemGroup >
54-
55- <PropertyGroup >
56- <VSMSBuildBinDir >$(VS150COMNTOOLS)\..\..\MSBuild\$(VisualStudioVersion)\Bin</VSMSBuildBinDir >
57- <LanguageTargets Condition =" Exists('$(VSMSBuildBinDir)')" >$(VSMSBuildBinDir)\Microsoft.CSharp.targets</LanguageTargets >
58- </PropertyGroup >
59- <Target Name =" CoreCompile" />
60- <Target Name =" WorkaroundForXAMLIntellisenseBuildIssue" AfterTargets =" _CheckCompileDesignTimePrerequisite" >
61- <PropertyGroup >
62- <BuildingProject >false</BuildingProject >
63- </PropertyGroup >
64- </Target >
65-
66- <Target Name =" CoreCompile" >
67- </Target >
68- </Project >
22+ </Project >
0 commit comments