Skip to content

Commit

Permalink
Package updates.
Browse files Browse the repository at this point in the history
Project file cleanup.
  • Loading branch information
jp2masa committed Oct 28, 2018
1 parent 8bc79ca commit cafcb35
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
2 changes: 2 additions & 0 deletions build/Targets/Import.targets
Expand Up @@ -11,6 +11,8 @@
<!-- .NET Framework targets: reference assemblies -->
<Import Project="NETFramework.targets" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />

<Import Project="References.targets" />

<!-- Project types -->
<Import Project="MSBuildExtension.targets" Condition="'$(IsMSBuildExtensionProject)' == 'True'" />
<Import Project="Tests.targets" Condition="'$(IsTestProject)' == 'True'" />
Expand Down
14 changes: 14 additions & 0 deletions build/Targets/References.targets
@@ -0,0 +1,14 @@
<Project>

<ItemGroup Condition="'$(IncludeWpfReferences)' == 'True'">
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System.Xaml" />
<Reference Include="WindowsBase" />
</ItemGroup>

<ItemGroup Condition="'$(IncludeWindowsFormsReferences)' == 'True'">
<Reference Include="System.Windows.Forms" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion build/Targets/Versions.props
Expand Up @@ -5,7 +5,7 @@
<MicrosoftBuildVersion>15.8.166</MicrosoftBuildVersion>
<MicrosoftNETFrameworkReferenceAssembliesVersion>1.0.0-alpha-004</MicrosoftNETFrameworkReferenceAssembliesVersion>
<MicrosoftVisualStudioProjectSystemVersion>15.8.243</MicrosoftVisualStudioProjectSystemVersion>
<MicrosoftVisualStudioSdkEmbedInteropTypesVersion>15.0.21</MicrosoftVisualStudioSdkEmbedInteropTypesVersion>
<MicrosoftVisualStudioSdkEmbedInteropTypesVersion>15.0.27</MicrosoftVisualStudioSdkEmbedInteropTypesVersion>
<MicrosoftVisualStudioThreadingAnalyzersVersion>15.8.145</MicrosoftVisualStudioThreadingAnalyzersVersion>
<MicrosoftVSSDKBuildToolsVersion>15.8.3252</MicrosoftVSSDKBuildToolsVersion>
</PropertyGroup>
Expand Down
9 changes: 3 additions & 6 deletions source/XSharp.ProjectSystem/XSharp.ProjectSystem.csproj
Expand Up @@ -7,6 +7,8 @@
<TargetFramework>net471</TargetFramework>
<RootNamespace>XSharp.ProjectSystem</RootNamespace>
<IsVsixProject>True</IsVsixProject>
<IncludeWpfReferences>True</IncludeWpfReferences>
<IncludeWindowsFormsReferences>True</IncludeWindowsFormsReferences>
</PropertyGroup>

<ItemGroup>
Expand All @@ -16,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<Content Include="BuildSystem\**" InstallRoot="MSBuild" VSIXSubPath="XSharp\%(RecursiveDir)" />
<Content Include="BuildSystem\**" IncludeInVSIX="True" InstallRoot="MSBuild" VSIXSubPath="XSharp\%(RecursiveDir)" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -46,12 +48,7 @@
</ItemGroup>

<ItemGroup>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System.Management" />
<Reference Include="System.Xaml" />
<Reference Include="System.Windows.Forms" />
<Reference Include="WindowsBase" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit cafcb35

Please sign in to comment.