80 lines
4.0 KiB
XML
80 lines
4.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<Version>0.0.32</Version>
|
|
<TargetFramework>netstandard2.0</TargetFramework>
|
|
<ProjectGuid>{12344228-91F4-4502-9595-39584E5ABB34}</ProjectGuid>
|
|
<LangVersion>10</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<Authors>Stef Heyenrath</Authors>
|
|
<Description></Description>
|
|
<Title>ProxyInterfaceGenerator</Title>
|
|
<PackageId>ProxyInterfaceGenerator</PackageId>
|
|
<Description>This project uses Source Generation to generate an interface and a Proxy class for classes. This makes it possible to wrap external classes which do not have an interface, in a Proxy class which makes it easier to Mock and use DI.</Description>
|
|
<PackageTags>class;interface;proxy;SourceGenerator;Analyzer;Generation;Generate;wrap</PackageTags>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageReleaseNotes>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../../PackageReleaseNotes.txt"))</PackageReleaseNotes>
|
|
<PackageProjectUrl>https://github.com/StefH/ProxyInterfaceGenerator</PackageProjectUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
<RepositoryUrl>https://github.com/StefH/ProxyInterfaceGenerator</RepositoryUrl>
|
|
<PackageReadmeFile>PackageReadme.md</PackageReadmeFile>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
|
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
|
|
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)Generated</CompilerGeneratedFilesOutputPath>
|
|
<DevelopmentDependency>true</DevelopmentDependency>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Configurations>Debug;Release;DebugAttach</Configurations>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="../../resources/icon.png" Pack="true" PackagePath="" />
|
|
<None Include="../../PackageReadme.md" Pack="true" PackagePath="" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="IsExternalInit" Version="1.0.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.1.0" PrivateAssets="all" />
|
|
<PackageReference Include="Nullable" Version="1.3.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<!--<ItemGroup>
|
|
<ProjectCapability Include="DynamicDependentFile" />
|
|
<ProjectCapability Include="DynamicFileNesting" />
|
|
</ItemGroup>-->
|
|
|
|
<ItemGroup>
|
|
<Compile Update="ProxyClassesGenerator.AutoMapper.cs">
|
|
<DependentUpon>ProxyClassesGenerator.cs</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
|
|
</ItemGroup>
|
|
|
|
<!-- https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm -->
|
|
<ItemGroup>
|
|
<!--<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>ProxyInterfaceSourceGeneratorTests</_Parameter1>
|
|
</AssemblyAttribute>-->
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleToAttribute">
|
|
<_Parameter1>DynamicProxyGenAssembly2</_Parameter1>
|
|
</AssemblyAttribute>
|
|
</ItemGroup>
|
|
|
|
</Project> |