11<Project Sdk =" Microsoft.NET.Sdk" >
2- <PropertyGroup >
3- <TargetFramework >net472</TargetFramework >
4- <Authors >Denis Zykov</Authors >
5- <Version >1.0.7 </Version >
6- <PackageProjectUrl >https://github.com/deniszykov/code-contracts-remover</PackageProjectUrl >
7- <PackageLicenseUrl >https://raw.githubusercontent.com/deniszykov/code-contracts-remover/master/LICENSE</PackageLicenseUrl >
8- <Copyright >(c) Denis Zykov, GameDevWare 2019 </Copyright >
9- <RepositoryUrl >https://github.com/deniszykov/code-contracts-remover</RepositoryUrl >
10- <RepositoryType >git</RepositoryType >
11- <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
12- <PackageTags >code contracts tool</PackageTags >
13- <PackageReleaseNotes />
14- <ApplicationIcon />
15- <OutputType >Exe</OutputType >
16- <StartupObject />
17- <IsTool >true</IsTool >
18- </ PropertyGroup >
19- < Target Name = " Repack " AfterTargets = " BuiltProjectOutputGroup " Condition = " ' $(TargetFramework)' != '' AND '$(GeneratePackageOnBuild)' == 'true' " >
20- < GetFrameworkPath >
21- < Output TaskParameter = " Path " PropertyName = " FrameworkPath " / >
22- </ GetFrameworkPath >
23- < ItemGroup >
24- < NetPlatformFolders Include = " $(NuGetPackageFolders.Split(';')) " / >
25- </ ItemGroup >
26- < ItemGroup >
27- < AllowDup Include = " JetBrains.%2A " / >
28- </ ItemGroup >
29- < ItemGroup >
30- < RapackTarget Include = " $(TargetDir)Microsoft.Build.Framework.dll " / >
31- < RapackTarget Include =" $(TargetDir)Microsoft.Build .dll" />
32- < RapackTarget Include =" $(TargetDir)Microsoft.Build.Framework .dll" />
33- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.CSharp .dll" />
34- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.CSharp.Workspaces .dll" />
35- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis .dll" />
36- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.VisualBasic .dll" />
37- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.dll" />
38- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.VisualBasic .dll" />
39- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.VisualBasic.Workspaces .dll" />
40- < RapackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.Workspaces.dll" />
41- < RapackTarget Include =" $(TargetDir)System.Buffers .dll" />
42- < RapackTarget Include =" $(TargetDir)System.Collections.Immutable .dll" />
43- < RapackTarget Include =" $(TargetDir)System.Composition.AttributedModel .dll" />
44- < RapackTarget Include =" $(TargetDir)System.Composition.Convention .dll" />
45- < RapackTarget Include =" $(TargetDir)System.Composition.Hosting .dll" />
46- < RapackTarget Include =" $(TargetDir)System.Composition.Runtime .dll" />
47- < RapackTarget Include =" $(TargetDir)System.Composition.TypedParts .dll" />
48- < RapackTarget Include =" $(TargetDir)System.Memory .dll" />
49- < RapackTarget Include =" $(TargetDir)System.Numerics.Vectors .dll" />
50- < RapackTarget Include =" $(TargetDir)System.Reflection.Metadata .dll" />
51- < RapackTarget Include =" $(TargetDir)System.Text.Encoding.CodePages .dll" />
52- < RapackTarget Include =" $(TargetDir)System.Threading.Tasks.Dataflow .dll" />
53- < RapackTarget Include =" $(TargetDir)System.Threading.Tasks.Extensions .dll" />
54- < RapackTarget Include =" $(TargetDir)ConsoleApp.CommandLine .dll" />
55- < RapackTarget Include =" $(TargetDir)Microsoft.VisualStudio.Setup.Configuration.Interop .dll" />
56- < RapackTarget Include =" $(TargetDir)System.Runtime.CompilerServices.Unsafe .dll" />
57- </ItemGroup >
58- <PropertyGroup >
59- <ILRepack Condition =" '$(ILRepack)' == ''" >$(NuGetPackageRoot)ilrepack\2.1.0-beta1\tools\ILRepack.exe</ILRepack >
60- <ILRepackTargetPlatform >v4,$(FrameworkPath)</ILRepackTargetPlatform >
61- <IlRepackSignKey >$(ProjectDir)sign.snk</IlRepackSignKey >
62- <IlRepackAllowDup >@(AllowDup->'"/allowdup:%(Identity)"', ' ')</IlRepackAllowDup >
63- <IlRepackTargets >@(RapackTarget ->'"%(Identity)"', ' ')</IlRepackTargets >
64- </PropertyGroup >
65- <Exec Command =" " $(ILRepack)" /target:exe " /targetplatform:$(ILRepackTargetPlatform)" " /keyfile:$(IlRepackSignKey)" /xmldocs /union /parallel /internalize $(IlRepackAllowDup) " /out:$(TargetPath)" " $(TargetPath)" $(IlRepackTargets)" WorkingDirectory =" $(ProjectDir)" />
66- <Delete Files =" @(RapackTarget )" />
67- </Target >
68- <ItemGroup >
69- <Compile Remove =" Temp\**" />
70- <EmbeddedResource Remove =" Temp\**" />
71- <None Remove =" Temp\**" />
72- </ItemGroup >
73- <ItemGroup >
74- <PackageReference Include =" ConsoleApp.CommandLine" Version =" 1.3.2 " />
75- <PackageReference Include =" Microsoft.Build" Version =" 16.0.461 " />
76- <PackageReference Include =" Microsoft.CodeAnalysis" Version =" 3.0 .0" />
77- <PackageReference Include =" ILRepack" Version =" 2.1.0-beta1" />
78- </ItemGroup >
79- <ItemGroup >
80- <Service Include =" {508349b6-6b84-4df5-91f0-309beebad82d}" />
81- </ItemGroup >
82- <ItemGroup >
83- <Folder Include =" Properties\" />
84- </ItemGroup >
85- </Project >
2+ <PropertyGroup >
3+ <TargetFramework >net472</TargetFramework >
4+ <Authors >Denis Zykov, ishatalkin, mgaffigan </Authors >
5+ <Version >1.0.8 </Version >
6+ <PackageProjectUrl >https://github.com/deniszykov/code-contracts-remover</PackageProjectUrl >
7+ <PackageLicenseUrl >https://raw.githubusercontent.com/deniszykov/code-contracts-remover/master/LICENSE</PackageLicenseUrl >
8+ <Copyright >(c) Denis Zykov, ishatalkin, mgaffigan </Copyright >
9+ <RepositoryUrl >https://github.com/deniszykov/code-contracts-remover</RepositoryUrl >
10+ <RepositoryType >git</RepositoryType >
11+ <CopyLocalLockFileAssemblies >true</CopyLocalLockFileAssemblies >
12+ <PackageTags >code contracts tool</PackageTags >
13+ <PackageReleaseNotes />
14+ <ApplicationIcon />
15+ <OutputType >Exe</OutputType >
16+ <StartupObject />
17+ <IsTool >true</IsTool >
18+
19+ </ PropertyGroup >
20+ < Target Name = " Repack " AfterTargets = " BuiltProjectOutputGroup " Condition = " '$(TargetFramework)' != '' AND '$(GeneratePackageOnBuild)' != '' " >
21+ < GetFrameworkPath >
22+ < Output TaskParameter = " Path " PropertyName = " FrameworkPath " / >
23+ </ GetFrameworkPath >
24+ < ItemGroup >
25+ < NetPlatformFolders Include = " $(NuGetPackageFolders.Split(';')) " / >
26+ </ ItemGroup >
27+ < ItemGroup >
28+ < AllowDup Include = " JetBrains.%2A " / >
29+ </ ItemGroup >
30+ < ItemGroup >
31+ < RepackTarget Include =" $(TargetDir)ConsoleApp.CommandLine .dll" />
32+ < RepackTarget Include =" $(TargetDir)Humanizer .dll" />
33+ < RepackTarget Include =" $(TargetDir)Microsoft.Bcl.AsyncInterfaces .dll" />
34+ < RepackTarget Include =" $(TargetDir)Microsoft.Build .dll" />
35+ < RepackTarget Include =" $(TargetDir)Microsoft.Build.Framework .dll" />
36+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.CSharp .dll" />
37+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.CSharp.Workspaces .dll" />
38+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.dll" />
39+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.VisualBasic.dll" />
40+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.VisualBasic .Workspaces.dll" />
41+ < RepackTarget Include =" $(TargetDir)Microsoft.CodeAnalysis.Workspaces .dll" />
42+ < RepackTarget Include =" $(TargetDir)Microsoft.VisualStudio.Setup.Configuration.Interop .dll" />
43+ < RepackTarget Include =" $(TargetDir)System.Buffers .dll" />
44+ < RepackTarget Include =" $(TargetDir)System.Collections.Immutable .dll" />
45+ < RepackTarget Include =" $(TargetDir)System.Composition.AttributedModel .dll" />
46+ < RepackTarget Include =" $(TargetDir)System.Composition.Convention .dll" />
47+ < RepackTarget Include =" $(TargetDir)System.Composition.Hosting .dll" />
48+ < RepackTarget Include =" $(TargetDir)System.Composition.Runtime .dll" />
49+ < RepackTarget Include =" $(TargetDir)System.Composition.TypedParts .dll" />
50+ < RepackTarget Include =" $(TargetDir)System.Memory .dll" />
51+ < RepackTarget Include =" $(TargetDir)System.Numerics.Vectors .dll" />
52+ < RepackTarget Include =" $(TargetDir)System.Reflection.Metadata .dll" />
53+ < RepackTarget Include =" $(TargetDir)System.Runtime.CompilerServices.Unsafe .dll" />
54+ < RepackTarget Include =" $(TargetDir)System.Text.Encoding.CodePages .dll" />
55+ < RepackTarget Include =" $(TargetDir)System.Threading.Tasks.Dataflow .dll" />
56+ < RepackTarget Include =" $(TargetDir)System.Threading.Tasks.Extensions .dll" />
57+ </ItemGroup >
58+ <PropertyGroup >
59+ <ILRepack Condition =" '$(ILRepack)' == ''" >$(NuGetPackageRoot)ilrepack\2.1.0-beta1\tools\ILRepack.exe</ILRepack >
60+ <ILRepackTargetPlatform >v4,$(FrameworkPath)</ILRepackTargetPlatform >
61+ <IlRepackSignKey >$(ProjectDir)sign.snk</IlRepackSignKey >
62+ <IlRepackAllowDup >@(AllowDup->'"/allowdup:%(Identity)"', ' ')</IlRepackAllowDup >
63+ <IlRepackTargets >@(RepackTarget ->'"%(Identity)"', ' ')</IlRepackTargets >
64+ </PropertyGroup >
65+ <Exec Command =" " $(ILRepack)" /target:exe " /targetplatform:$(ILRepackTargetPlatform)" " /keyfile:$(IlRepackSignKey)" /xmldocs /union /parallel /internalize $(IlRepackAllowDup) " /out:$(TargetPath)" " $(TargetPath)" $(IlRepackTargets)" WorkingDirectory =" $(ProjectDir)" />
66+ <Delete Files =" @(RepackTarget )" />
67+ </Target >
68+ <ItemGroup >
69+ <Compile Remove =" Temp\**" />
70+ <EmbeddedResource Remove =" Temp\**" />
71+ <None Remove =" Temp\**" />
72+ </ItemGroup >
73+ <ItemGroup >
74+ <PackageReference Include =" ConsoleApp.CommandLine" Version =" 1.3.4 " />
75+ <PackageReference Include =" Microsoft.Build" Version =" 16.6.0 " />
76+ <PackageReference Include =" Microsoft.CodeAnalysis" Version =" 3.7 .0" />
77+ <PackageReference Include =" ILRepack" Version =" 2.1.0-beta1" PrivateAssets = " all " />
78+ </ItemGroup >
79+ <ItemGroup >
80+ <Service Include =" {508349b6-6b84-4df5-91f0-309beebad82d}" />
81+ </ItemGroup >
82+ <ItemGroup >
83+ <Folder Include =" Properties\" />
84+ </ItemGroup >
85+ </Project >
0 commit comments