Skip to content

Commit

Permalink
Replace Roslyn Library with Rosyn dlls instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Eastrall committed May 21, 2023
1 parent 71c7994 commit f08b5a1
Show file tree
Hide file tree
Showing 23 changed files with 302 additions and 30 deletions.
Binary file added Editor/Plugins/Microsoft.CodeAnalysis.CSharp.dll
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Editor/Plugins/Microsoft.CodeAnalysis.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/Microsoft.CodeAnalysis.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed Editor/Plugins/Rosalina.RoslynLibrary.dll
Binary file not shown.
Binary file added Editor/Plugins/System.Buffers.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Buffers.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Editor/Plugins/System.Collections.Immutable.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Collections.Immutable.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Editor/Plugins/System.Memory.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Memory.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Editor/Plugins/System.Numerics.Vectors.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Numerics.Vectors.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Editor/Plugins/System.Reflection.Metadata.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Reflection.Metadata.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Runtime.CompilerServices.Unsafe.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Text.Encoding.CodePages.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
33 changes: 33 additions & 0 deletions Editor/Plugins/System.Threading.Tasks.Extensions.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Editor/com.eastlylabs.rosalina.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"overrideReferences": true,
"precompiledReferences": [
"Microsoft.Bcl.AsyncInterfaces.dll"
"Microsoft.CodeAnalysis.dll",
"Microsoft.CodeAnalysis.CSharp.dll"
],
"autoReferenced": true,
"defineConstraints": [],
Expand Down
28 changes: 1 addition & 27 deletions Tools~/Rosalina.Roslyn/Rosalina.Roslyn.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,37 +4,11 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Rosalina.RoslynLibrary</AssemblyName>
<CopyLocalLockFileAssemblies>True</CopyLocalLockFileAssemblies>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.18.2" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.2.0" />
</ItemGroup>

<Target Name="ILRepack" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<PropertyGroup>
<WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)</WorkingDirectory>
</PropertyGroup>
<ItemGroup>
<InputAssemblies Include="Microsoft.CodeAnalysis.CSharp.dll" />
<InputAssemblies Include="Microsoft.CodeAnalysis.dll" />
<InputAssemblies Include="System.Buffers.dll" />
<InputAssemblies Include="System.Collections.Immutable.dll" />
<InputAssemblies Include="System.Memory.dll" />
<InputAssemblies Include="System.Numerics.Vectors.dll" />
<InputAssemblies Include="System.Reflection.Metadata.dll" />
<InputAssemblies Include="System.Runtime.CompilerServices.Unsafe.dll" />
<InputAssemblies Include="System.Text.Encoding.CodePages.dll" />
<InputAssemblies Include="System.Threading.Tasks.Extensions.dll" />
</ItemGroup>

<ILRepack
OutputType="$(OutputType)"
MainAssembly="$(AssemblyName).dll"
OutputAssembly="$(AssemblyName).dll"
InputAssemblies="@(InputAssemblies)"
InternalizeExcludeAssemblies="@(InternalizeExcludeAssemblies)"
WorkingDirectory="$(WorkingDirectory)" />
</Target>

</Project>

0 comments on commit f08b5a1

Please sign in to comment.