|
@@ -1,23 +1,25 @@
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
- <PropertyGroup>
|
|
|
|
- <TargetFramework>net8.0</TargetFramework>
|
|
|
|
- <ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
- <Nullable>disable</Nullable>
|
|
|
|
- </PropertyGroup>
|
|
|
|
|
|
+ <PropertyGroup>
|
|
|
|
+ <TargetFramework>net8.0</TargetFramework>
|
|
|
|
+ <ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
+ <Nullable>disable</Nullable>
|
|
|
|
+ <PackageId>PixiEditor.Extensions.CommonApi</PackageId>
|
|
|
|
+ <PackageVersion>0.0.1-dev</PackageVersion>
|
|
|
|
+ </PropertyGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
|
- <Folder Include="Preferences\" />
|
|
|
|
- </ItemGroup>
|
|
|
|
|
|
+ <ItemGroup>
|
|
|
|
+ <Folder Include="Preferences\"/>
|
|
|
|
+ </ItemGroup>
|
|
|
|
+
|
|
|
|
+ <ItemGroup>
|
|
|
|
+ <PackageReference Include="protobuf-net" Version="3.2.52"/>
|
|
|
|
+ </ItemGroup>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
|
- <PackageReference Include="protobuf-net" Version="3.2.52" />
|
|
|
|
- </ItemGroup>
|
|
|
|
-
|
|
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
<ProtogenVersion>3.2.52</ProtogenVersion>
|
|
<ProtogenVersion>3.2.52</ProtogenVersion>
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
-
|
|
|
|
|
|
+
|
|
<Target Name="ProtogenCheck" BeforeTargets="GenerateProtoContracts">
|
|
<Target Name="ProtogenCheck" BeforeTargets="GenerateProtoContracts">
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
<ProtogenExists>false</ProtogenExists>
|
|
<ProtogenExists>false</ProtogenExists>
|
|
@@ -29,7 +31,7 @@
|
|
<ProtogenExists Condition="'$(ProtogenExitCode)' == '0'">true</ProtogenExists>
|
|
<ProtogenExists Condition="'$(ProtogenExitCode)' == '0'">true</ProtogenExists>
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
</Target>
|
|
</Target>
|
|
-
|
|
|
|
|
|
+
|
|
<Target Name="InstallProtogen" BeforeTargets="GenerateProtoContracts"
|
|
<Target Name="InstallProtogen" BeforeTargets="GenerateProtoContracts"
|
|
Condition="'$(ProtogenExists)' != 'true'">
|
|
Condition="'$(ProtogenExists)' != 'true'">
|
|
<Message Text="Downloading protogen v$(ProtogenVersion)..." Importance="high"/>
|
|
<Message Text="Downloading protogen v$(ProtogenVersion)..." Importance="high"/>
|
|
@@ -37,11 +39,11 @@
|
|
<PropertyGroup>
|
|
<PropertyGroup>
|
|
<ProtogenExists>true</ProtogenExists>
|
|
<ProtogenExists>true</ProtogenExists>
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
-
|
|
|
|
|
|
+
|
|
<Message Text="protogen installed successfully." Importance="high"/>
|
|
<Message Text="protogen installed successfully." Importance="high"/>
|
|
</Target>
|
|
</Target>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
<Target Name="GenerateProtoContracts" BeforeTargets="BeforeCompile"
|
|
<Target Name="GenerateProtoContracts" BeforeTargets="BeforeCompile"
|
|
Inputs="$(MSBuildProjectDirectory)\DataContracts\*.proto"
|
|
Inputs="$(MSBuildProjectDirectory)\DataContracts\*.proto"
|
|
Outputs="$(MSBuildProjectDirectory)\ProtoAutogen\*.cs">
|
|
Outputs="$(MSBuildProjectDirectory)\ProtoAutogen\*.cs">
|
|
@@ -53,7 +55,7 @@
|
|
|
|
|
|
</Target>
|
|
</Target>
|
|
|
|
|
|
- <ItemGroup>
|
|
|
|
- <ProjectReference Include="..\PixiEditor.Extensions.CommonApi.Diagnostics\PixiEditor.Extensions.CommonApi.Diagnostics.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
|
|
|
|
- </ItemGroup>
|
|
|
|
|
|
+ <ItemGroup>
|
|
|
|
+ <ProjectReference Include="..\PixiEditor.Extensions.CommonApi.Diagnostics\PixiEditor.Extensions.CommonApi.Diagnostics.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
|
|
|
|
+ </ItemGroup>
|
|
</Project>
|
|
</Project>
|