Skip to content
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

feat: Remove AssemblyProcessor unused option #2481

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion samples/Tests/Stride.Samples.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<TargetFramework>$(StrideEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
<StrideSkipAutoPack>false</StrideSkipAutoPack>
<IsPackable>true</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<TargetFrameworks>$(StrideXplatEditorTargetFramework);$(StrideEditorTargetFramework)</TargetFrameworks>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Mono.Options" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>$(StrideEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
</PropertyGroup>
<PropertyGroup>
<StartupObject>xunit.runner.stride.Program</StartupObject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NuGet.Protocol" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<SchemaVersion>2.0</SchemaVersion>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ServiceWire" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<TargetFramework>$(StrideEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>WindowsTools</StrideBuildTags>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<PlatformTarget>x86</PlatformTarget>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<TargetFramework>$(StrideEditorTargetFramework)</TargetFramework>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ public static AssemblyProcessorApp CreateAssemblyProcessorApp(string[] args, Tex
{ "p|platform=", "The platform (Windows, Android, iOS)", v => app.Platform = (PlatformType)Enum.Parse(typeof(PlatformType), v) },
{ "parameter-key", "Automatically initialize parameter keys in module static constructor", v => app.ParameterKey = true },
{ "rename-assembly=", "Rename assembly", v => app.NewAssemblyName = v },
{ "auto-module-initializer", "Execute function tagged with [ModuleInitializer] at module initialization (automatically enabled)", v => app.ModuleInitializer = true },
{ "serialization", "Generate serialiation assembly", v => app.SerializationAssembly = true },
{ "docfile=", "Generate user documentation from XML file", v => app.DocumentationFile = v },
{ "d|directory=", "Additional search directory for assemblies", app.SearchDirectories.Add },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
<StrideBuildTags>Windows;Android;iOS</StrideBuildTags>
<LangVersion>preview</LangVersion>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\targets\Stride.UnitTests.props" />
<PropertyGroup>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<TargetFramework>$(StrideEditorTargetFramework)</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideBuildTags>WindowsTools</StrideBuildTags>
Expand Down
2 changes: 1 addition & 1 deletion sources/core/Stride.Core.Design/Stride.Core.Design.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<SchemaVersion>2.0</SchemaVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideBuildTags>WindowsTools</StrideBuildTags>
<RestorePackages>true</RestorePackages>
Expand Down
1 change: 0 additions & 1 deletion sources/core/Stride.Core.IO/Stride.Core.IO.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<PropertyGroup>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
<StridePlatformDependent>true</StridePlatformDependent>
<StrideBuildTags>*</StrideBuildTags>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>Windows</StrideBuildTags>
</PropertyGroup>
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideBuildTags>*</StrideBuildTags>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StridePublicApi>true</StridePublicApi>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideBuildTags>*</StrideBuildTags>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer</StrideAssemblyProcessorOptions>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideBuildTags>*</StrideBuildTags>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideCodeAnalysis>true</StrideCodeAnalysis>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<AssemblyName>Stride.Core.Tests</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>Windows;Android;iOS</StrideBuildTags>
<StrideOutputFolder>Tests\$(AssemblyName)</StrideOutputFolder>
<StrideCompilerTargetsEnable Condition="'$(StridePackageBuild)' == 'true'">false</StrideCompilerTargetsEnable>
Expand Down
2 changes: 1 addition & 1 deletion sources/core/Stride.Core.Tests/Stride.Core.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>Windows;Android;iOS</StrideBuildTags>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<AssemblyName>StrideCoreTests</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>Windows;Android;iOS</StrideBuildTags>
<StrideOutputFolder>Tests\$(AssemblyName)</StrideOutputFolder>
<StrideCompilerTargetsEnable Condition="'$(StridePackageBuild)' == 'true'">false</StrideCompilerTargetsEnable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<TargetFramework>$(StrideXplatEditorTargetFramework)</TargetFramework>
<StrideBuildTags>WindowsTools</StrideBuildTags>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Import Project="..\..\targets\Stride.UnitTests.props" />
<PropertyGroup>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<StrideBuildTags>WindowsTools</StrideBuildTags>
Expand Down
2 changes: 1 addition & 1 deletion sources/core/Stride.Core/Stride.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<PropertyGroup>
<StrideAssemblyProcessor>true</StrideAssemblyProcessor>
<StrideAssemblyProcessorOptions>--auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions>--serialization</StrideAssemblyProcessorOptions>
<StrideBuildTags>*</StrideBuildTags>
<RestorePackages>true</RestorePackages>
<ExtrasUwpMetaPackageVersion>6.2.12</ExtrasUwpMetaPackageVersion>
Expand Down
2 changes: 1 addition & 1 deletion sources/core/Stride.Core/build/Stride.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<StrideAddReference Include="@(ReferencePath)" Condition="'%(ReferencePath.NuGetPackageId)' == ''"/>
</ItemGroup>
<PropertyGroup>
<StrideAssemblyProcessorOptions Condition="'$(StrideAssemblyProcessorOptions)' == ''">--parameter-key --auto-module-initializer --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions Condition="'$(StrideAssemblyProcessorOptions)' == ''">--parameter-key --serialization</StrideAssemblyProcessorOptions>
<StrideAssemblyProcessorOptions Condition="'$(DocumentationFile)' != ''">$(StrideAssemblyProcessorOptions) --docfile="$(DocumentationFile)"</StrideAssemblyProcessorOptions>
<!-- Physics, Particles and SpriteStudio assembly is actually hard coded/referenced here, remove once a better system is in place! -->
<!-- Please keep in sync with AssemblyRecompiler.cs -->
Expand Down
Empty file modified sources/core/deps/AssemblyProcessor/net8.0/Mono.Cecil.Mdb.dll
100644 → 100755
Empty file.
Empty file modified sources/core/deps/AssemblyProcessor/net8.0/Mono.Cecil.Pdb.dll
100644 → 100755
Empty file.
Empty file modified sources/core/deps/AssemblyProcessor/net8.0/Mono.Cecil.Rocks.dll
100644 → 100755
Empty file.
Empty file modified sources/core/deps/AssemblyProcessor/net8.0/Mono.Cecil.dll
100644 → 100755
Empty file.
Empty file modified sources/core/deps/AssemblyProcessor/net8.0/Mono.Options.dll
100644 → 100755
Empty file.
Loading