mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 02:15:58 +00:00
Switch to MSBuild.Sdk.Extras for WPF support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net46</TargetFramework>
|
||||
@@ -7,11 +7,9 @@
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Workaround for lack of XAML support in the new project system -->
|
||||
<LanguageTargets>$(MSBuildExtensionsPath)\$(VisualStudioVersion)\Bin\Microsoft.CSharp.targets</LanguageTargets>
|
||||
<ExtrasEnableWpfProjectSetup>true</ExtrasEnableWpfProjectSetup>
|
||||
<ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems>
|
||||
<ExtrasEnableDefaultResourceItems>false</ExtrasEnableDefaultResourceItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
@@ -99,8 +97,4 @@
|
||||
<None Include="app.config" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
+4
-17
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net46</TargetFramework>
|
||||
@@ -8,6 +8,9 @@
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<ExtrasEnableWpfProjectSetup>true</ExtrasEnableWpfProjectSetup>
|
||||
<ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems>
|
||||
<ExtrasEnableDefaultResourceItems>false</ExtrasEnableDefaultResourceItems>
|
||||
|
||||
<RootNamespace>ICSharpCode.ILSpy</RootNamespace>
|
||||
|
||||
@@ -34,11 +37,6 @@
|
||||
<CodeAnalysisRuleSet>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Workaround for lack of XAML support in the new project system -->
|
||||
<LanguageTargets>$(MSBuildExtensionsPath)\$(VisualStudioVersion)\Bin\Microsoft.CSharp.targets</LanguageTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
@@ -258,7 +256,6 @@
|
||||
<Resource Include="Images\Delete.png" />
|
||||
<Resource Include="Images\ILSpy.ico" />
|
||||
<Resource Include="Images\FindAssembly.png" />
|
||||
<None Include="app.config" />
|
||||
<EmbeddedResource Include="TextView\CSharp-Mode.xshd" />
|
||||
<Resource Include="Images\Breakpoint.png" />
|
||||
<Resource Include="Images\CurrentLine.png" />
|
||||
@@ -392,16 +389,6 @@
|
||||
<None Include="@(Resource)" />
|
||||
</ItemGroup>
|
||||
|
||||
<!--
|
||||
Work around to fix Intellisense file generation for XAML projects
|
||||
https://github.com/dotnet/project-system/issues/2488
|
||||
-->
|
||||
<Target Name="WorkaroundForXAMLIntellisenseBuildIssue" AfterTargets="_CheckCompileDesignTimePrerequisite">
|
||||
<PropertyGroup>
|
||||
<BuildingProject>false</BuildingProject>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
|
||||
<!--
|
||||
Workaround: nuget packages do not get added to the vsix automatically.
|
||||
Copy them to a local folder and then include them as Content-items in the AddIn.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net46</TargetFramework>
|
||||
@@ -7,6 +7,9 @@
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
|
||||
<EnableDefaultItems>false</EnableDefaultItems>
|
||||
<ExtrasEnableWpfProjectSetup>true</ExtrasEnableWpfProjectSetup>
|
||||
<ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems>
|
||||
<ExtrasEnableDefaultResourceItems>false</ExtrasEnableDefaultResourceItems>
|
||||
|
||||
<SignAssembly>True</SignAssembly>
|
||||
<AssemblyOriginatorKeyFile>..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.snk</AssemblyOriginatorKeyFile>
|
||||
@@ -22,11 +25,6 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Workaround for lack of XAML support in the new project system -->
|
||||
<LanguageTargets>$(MSBuildExtensionsPath)\$(VisualStudioVersion)\Bin\Microsoft.CSharp.targets</LanguageTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="MSBuild.Sdk.Extras">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net461</TargetFramework>
|
||||
@@ -8,6 +8,9 @@
|
||||
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
|
||||
|
||||
<EnableDefaultItems>False</EnableDefaultItems>
|
||||
<ExtrasEnableWpfProjectSetup>true</ExtrasEnableWpfProjectSetup>
|
||||
<ExtrasEnableDefaultPageItems>false</ExtrasEnableDefaultPageItems>
|
||||
<ExtrasEnableDefaultResourceItems>false</ExtrasEnableDefaultResourceItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
@@ -21,11 +24,6 @@
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Workaround for lack of XAML support in the new project system -->
|
||||
<LanguageTargets>$(MSBuildExtensionsPath)\$(VisualStudioVersion)\Bin\Microsoft.CSharp.targets</LanguageTargets>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"msbuild-sdks": {
|
||||
"MSBuild.Sdk.Extras": "1.6.65"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user