|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
4 | 4 | <TargetFramework>netstandard2.0</TargetFramework> |
5 | 5 | <RootNamespace>AutoCtor</RootNamespace> |
6 | | - |
7 | | - <Version>0.0.0</Version> |
8 | | - <PackageProjectUrl>https://github.com/distantcam/AutoCtor</PackageProjectUrl> |
9 | | - |
10 | | - <GeneratePackageOnBuild Condition="$(Configuration) == 'Release'">true</GeneratePackageOnBuild> |
| 6 | + <IsPackable>true</IsPackable> |
| 7 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
11 | 8 | </PropertyGroup> |
12 | 9 |
|
13 | 10 | <PropertyGroup> |
14 | 11 | <PackageId>AutoCtor</PackageId> |
| 12 | + <Version>0.0.0</Version> |
15 | 13 | <Authors>Cameron MacFarland</Authors> |
16 | 14 | <Description>Source Generator to automatically create a constructor with all the readonly fields set.</Description> |
17 | 15 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
18 | 16 | <PackageReadmeFile>readme.md</PackageReadmeFile> |
19 | 17 | <PackageOutputPath>$(SolutionDir)nugets</PackageOutputPath> |
| 18 | + <PackageProjectUrl>https://github.com/distantcam/AutoCtor</PackageProjectUrl> |
20 | 19 | </PropertyGroup> |
21 | 20 |
|
22 | 21 | <ItemGroup> |
23 | 22 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" /> |
24 | 23 | </ItemGroup> |
25 | 24 |
|
26 | 25 | <ItemGroup> |
27 | | - <None Include="$(SolutionDir)\src\AutoCtor.Roslyn3.11\bin\Release\netstandard2.0\AutoCtor.dll"> |
28 | | - <Pack>true</Pack> |
29 | | - <Visible>false</Visible> |
30 | | - <PackagePath>analyzers/dotnet/roslyn3.11/cs</PackagePath> |
31 | | - </None> |
32 | | - |
33 | | - <None Include="$(SolutionDir)\src\AutoCtor.Roslyn4.0\bin\Release\netstandard2.0\AutoCtor.dll"> |
34 | | - <Pack>true</Pack> |
35 | | - <Visible>false</Visible> |
36 | | - <PackagePath>analyzers/dotnet/roslyn4.0/cs</PackagePath> |
37 | | - </None> |
38 | | - |
39 | | - <None Include="$(SolutionDir)\src\AutoCtor.Roslyn4.4\bin\Release\netstandard2.0\AutoCtor.dll"> |
40 | | - <Pack>true</Pack> |
41 | | - <Visible>false</Visible> |
42 | | - <PackagePath>analyzers/dotnet/roslyn4.4/cs</PackagePath> |
43 | | - </None> |
44 | | - |
45 | | - <None Include="$(SolutionDir)\readme.md" Pack="true" PackagePath="\" Visible="false" /> |
46 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.props" Pack="true" PackagePath="build" Visible="false" /> |
47 | | - |
48 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" Pack="true" PackagePath="buildTransitive\net8.0" Visible="false" /> |
49 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" Pack="true" PackagePath="buildTransitive\net462" Visible="false" /> |
50 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" Pack="true" PackagePath="buildTransitive\netstandard2.0" Visible="false" /> |
51 | | - |
52 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.badcompat.targets" Pack="true" PackagePath="buildTransitive\net461\AutoCtor.targets" Visible="false" /> |
53 | | - <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.badcompat.targets" Pack="true" PackagePath="buildTransitive\netcoreapp2.0\AutoCtor.targets" Visible="false" /> |
| 26 | + <ProjectReference Include="..\AutoCtor.Roslyn3.11\AutoCtor.Roslyn3.11.csproj" |
| 27 | + PrivateAssets="All" ReferenceOutputAssembly="false" /> |
| 28 | + <ProjectReference Include="..\AutoCtor.Roslyn4.0\AutoCtor.Roslyn4.0.csproj" |
| 29 | + PrivateAssets="All" ReferenceOutputAssembly="false" /> |
| 30 | + <ProjectReference Include="..\AutoCtor.Roslyn4.4\AutoCtor.Roslyn4.4.csproj" |
| 31 | + PrivateAssets="All" ReferenceOutputAssembly="false" /> |
| 32 | + </ItemGroup> |
| 33 | + |
| 34 | + <ItemGroup> |
| 35 | + <None Include="$(ArtifactsPath)\bin\AutoCtor.Roslyn3.11\$(ArtifactsPivots)\AutoCtor.dll" |
| 36 | + Pack="true" PackagePath="analyzers/dotnet/roslyn3.11/cs" Visible="false"/> |
| 37 | + |
| 38 | + <None Include="$(ArtifactsPath)\bin\AutoCtor.Roslyn4.0\$(ArtifactsPivots)\AutoCtor.dll" |
| 39 | + Pack="true" PackagePath="analyzers/dotnet/roslyn4.0/cs" Visible="false"/> |
| 40 | + |
| 41 | + <None Include="$(ArtifactsPath)\bin\AutoCtor.Roslyn4.4\$(ArtifactsPivots)\AutoCtor.dll" |
| 42 | + Pack="true" PackagePath="analyzers/dotnet/roslyn4.4/cs" Visible="false"/> |
| 43 | + |
| 44 | + <None Include="$(SolutionDir)\readme.md" |
| 45 | + Pack="true" PackagePath="\" Visible="false" /> |
| 46 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.props" |
| 47 | + Pack="true" PackagePath="build" Visible="false" /> |
| 48 | + |
| 49 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" |
| 50 | + Pack="true" PackagePath="buildTransitive\net8.0" Visible="false" /> |
| 51 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" |
| 52 | + Pack="true" PackagePath="buildTransitive\net462" Visible="false" /> |
| 53 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.targets" |
| 54 | + Pack="true" PackagePath="buildTransitive\netstandard2.0" Visible="false" /> |
| 55 | + |
| 56 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.badcompat.targets" |
| 57 | + Pack="true" PackagePath="buildTransitive\net461\AutoCtor.targets" Visible="false" /> |
| 58 | + <None Include="$(SolutionDir)\src\nugetfiles\AutoCtor.badcompat.targets" |
| 59 | + Pack="true" PackagePath="buildTransitive\netcoreapp2.0\AutoCtor.targets" Visible="false" /> |
54 | 60 | </ItemGroup> |
55 | 61 |
|
56 | 62 | </Project> |
0 commit comments