-
Notifications
You must be signed in to change notification settings - Fork 3
Package props targets #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <ItemGroup> | ||
| <!-- Put the assets for this project in the correct package path --> | ||
| <!-- Rolsyn 4.0 + Rolsyn 4.9 --> | ||
| <None Include="$(PkgMintPlayer_ValueComparerGenerator_Attributes)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="true" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <PropertyGroup> | ||
| <GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPathsMapper</GetTargetPathDependsOn> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Het project dat deze package gebruikt, is geen source-generator |
||
| </PropertyGroup> | ||
|
|
||
| <Target Name="GetDependencyTargetPathsMapper"> | ||
| <!-- Include dependency DLLs and put them in the correct package path --> | ||
| <ItemGroup> | ||
| <TargetPathWithTargetPlatformMoniker Include="$(PkgMintPlayer_Mapper_Attributes)\lib\netstandard2.0\MintPlayer.Mapper.Attributes.dll" IncludeRuntimeDependency="true" /> | ||
| </ItemGroup> | ||
| </Target> | ||
|
|
||
| <Target Name="MapperGenerator_CheckGeneratePathProperty" BeforeTargets="CoreCompile" Condition="'$(DesignTimeBuild)' != 'true'"> | ||
| <Error Condition="'$(PkgMintPlayer_MapperGenerator_Attributes)' == ''" | ||
| Text="Please add GeneratePathProperty="true" on the MintPlayer.MapperGenerator.Attributes PackageReference." /> | ||
| </Target> | ||
| </Project> | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,6 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <ItemGroup Condition=" '$(ManagePackageVersionsCentrally)' == 'true' "> | ||
| <PackageReference Include="Newtonsoft.Json" PrivateAssets="all" GeneratePathProperty="true" /> | ||
| <PackageReference Include="MintPlayer.ValueComparers.NewtonsoftJson" GeneratePathProperty="true" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup Condition=" '$(ManagePackageVersionsCentrally)' != 'true' "> | ||
| <PackageReference Include="Newtonsoft.Json" Version="13.0.3" PrivateAssets="all" GeneratePathProperty="true" /> | ||
| <PackageReference Include="MintPlayer.ValueComparers.NewtonsoftJson" Version="5.3.0" PrivateAssets="all" GeneratePathProperty="true" /> | ||
| </ItemGroup> | ||
|
|
||
| <PropertyGroup> | ||
| <GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPathsNewtonsoftJson</GetTargetPathDependsOn> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Het project dat deze package gebruikt, is geen source-generator |
||
| </PropertyGroup> | ||
|
|
@@ -32,4 +22,11 @@ | |
| <TargetPathWithTargetPlatformMoniker Include="$(PkgMintPlayer_ValueComparers_NewtonsoftJson)\lib\netstandard2.0\MintPlayer.ValueComparers.NewtonsoftJson.dll" IncludeRuntimeDependency="false" /> | ||
| </ItemGroup> | ||
| </Target> | ||
|
|
||
| <Target Name="MintPlayer_NewtonsoftJson_CheckGeneratePathProperty" BeforeTargets="CoreCompile" Condition="'$(DesignTimeBuild)' != 'true'"> | ||
| <Error Condition="'$(PkgNewtonsoft_Json)' == ''" | ||
| Text="Please add GeneratePathProperty="true" on the Newtonsoft.Json PackageReference." /> | ||
| <Error Condition="'$(PkgMintPlayer_ValueComparers_NewtonsoftJson)' == ''" | ||
| Text="Please add GeneratePathProperty="true" on the MintPlayer.ValueComparers.NewtonsoftJson PackageReference." /> | ||
| </Target> | ||
| </Project> | ||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <ItemGroup> | ||
| <!-- Put the assets for this project in the correct package path --> | ||
| <!-- Rolsyn 4.0 + Rolsyn 4.9 --> | ||
| <None Include="$(PkgMintPlayer_ValueComparerGenerator_Attributes)\lib\netstandard2.0\*.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="true" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
|
||
| <PropertyGroup> | ||
| <GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPathsValueComparer</GetTargetPathDependsOn> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Het project dat deze package gebruikt, is geen source-generator |
||
| </PropertyGroup> | ||
|
|
||
| <Target Name="GetDependencyTargetPathsValueComparer"> | ||
| <!-- Include dependency DLLs and put them in the correct package path --> | ||
| <ItemGroup Condition="'$(PkgMintPlayer_ValueComparerGenerator_Attributes)' != ''"> | ||
| <TargetPathWithTargetPlatformMoniker Include="$(PkgMintPlayer_ValueComparerGenerator_Attributes)\lib\netstandard2.0\MintPlayer.ValueComparerGenerator.Attributes.dll" IncludeRuntimeDependency="true" /> | ||
| </ItemGroup> | ||
| <ItemGroup Condition="'$(PkgMintPlayer_ValueComparerGenerator_Attributes)' == '' and Exists('$(MSBuildThisFileDirectory)..\MintPlayer.ValueComparerGenerator.Attributes')"> | ||
| <TargetPathWithTargetPlatformMoniker Include="$(MSBuildThisFileDirectory)..\MintPlayer.ValueComparerGenerator.Attributes\bin\$(Configuration)\netstandard2.0\MintPlayer.ValueComparerGenerator.Attributes.dll" IncludeRuntimeDependency="true" /> | ||
| </ItemGroup> | ||
| </Target> | ||
|
|
||
| <Target Name="ValueComparerGenerator_CheckGeneratePathProperty" BeforeTargets="CoreCompile" Condition="'$(DesignTimeBuild)' != 'true'"> | ||
| <Error Condition="'$(PkgMintPlayer_ValueComparerGenerator_Attributes)' == ''" | ||
| Text="Please add GeneratePathProperty="true" on the MintPlayer.ValueComparerGenerator.Attributes PackageReference." /> | ||
| </Target> | ||
| </Project> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Het project dat deze package gebruikt, is geen source-generator