mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 11:09:54 +00:00
* Apply Central package management https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management (requires package source mapping https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping) * Microsoft.DiaSymReader.Converter.Xml from dotnet-tools, Microsoft.DiaSymReader.Native from nuget.org feed * Trying to sort what is on which feed for previews of Diasymreader packages * Parse the Roslyn version from Directory.packages.props * Use specific versions for Diasymreader from nuget.org to allow VS2022 addin to restore properly * Tests needs also locked references
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
|
<RootNamespace>ICSharpCode.Decompiler.PowerShell</RootNamespace>
|
|
<LangVersion>8.0</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="PowerShellStandard.Library" />
|
|
<PackageReference Include="Mono.Cecil" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ICSharpCode.Decompiler\ICSharpCode.Decompiler.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\ICSharpCode.ILSpyX\PdbProvider\MonoCecilDebugInfoProvider.cs" Link="MonoCecilDebugInfoProvider.cs" />
|
|
<Compile Include="..\ICSharpCode.ILSpyX\PdbProvider\PortableDebugInfoProvider.cs" Link="PortableDebugInfoProvider.cs" />
|
|
<Compile Include="..\ICSharpCode.ILSpyX\PdbProvider\DebugInfoUtils.cs" Link="DebugInfoUtils.cs" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
|
<Exec Condition=" '$(OS)' == 'Windows_NT' " Command="powershell -Command "Copy-Item $(ProjectDir)manifest.psd1 $(TargetDir)$(TargetName).psd1"" />
|
|
<Exec Condition=" '$(OS)' != 'Windows_NT' " Command="pwsh -Command "Copy-Item $(ProjectDir)manifest.psd1 $(TargetDir)$(TargetName).psd1"" />
|
|
</Target>
|
|
</Project>
|