Skip to content
Merged
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
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# <img src='/src/icon.png' height='30px'> Alias

[![Build status](https://ci.appveyor.com/api/projects/status/s3agb6fiax7pgwls/branch/main?svg=true)](https://ci.appveyor.com/project/SimonCropp/dotnet-assembly-alias)
[![NuGet Status](https://img.shields.io/nuget/v/Alias.svg?label=Alias%20nuget)](https://www.nuget.org/packages/Alias/)
[![NuGet Status](https://img.shields.io/nuget/v/Alias.Lib.svg?label=Alias.Lib%20nuget)](https://www.nuget.org/packages/Alias.Lib/)
[![NuGet Status](https://img.shields.io/nuget/v/Sentry.AssemblyAlias.svg?label=Sentry.AssemblyAlias%20nuget)](https://www.nuget.org/packages/Sentry.AssemblyAlias/)
[![NuGet Status](https://img.shields.io/nuget/v/Sentry.AssemblyAlias.Lib.svg?label=Sentry.AssemblyAlias.Lib%20nuget)](https://www.nuget.org/packages/Sentry.AssemblyAlias.Lib/)
[![NuGet Status](https://img.shields.io/nuget/v/Sentry.AssemblyAlias.MsBuild.svg?label=Sentry.AssemblyAlias.MsBuild%20nuget)](https://www.nuget.org/packages/Sentry.AssemblyAlias.MsBuild/)

Renames assemblies and fixes references. Designed as an alternative to [Costura](https://github.com/Fody/Costura), [ILMerge](https://github.com/dotnet/ILMerge), and [ILRepack](https://github.com/gluck/il-repack).

Expand All @@ -15,7 +15,7 @@ This project works around this problem by renaming references and preventing nam

## dotnet tool

https://www.nuget.org/packages/Alias/
https://www.nuget.org/packages/Sentry.AssemblyAlias/

**[.NET 10](https://dotnet.microsoft.com/download/dotnet/10.0) or higher is required to run this tool.**

Expand All @@ -30,10 +30,10 @@ For a given directory and a subset of assemblies, it:

Ensure [dotnet CLI is installed](https://docs.microsoft.com/en-us/dotnet/core/tools/).

Install [Alias](https://nuget.org/packages/Alias/)
Install [Sentry.AssemblyAlias](https://nuget.org/packages/Sentry.AssemblyAlias/)

```ps
dotnet tool install --global Alias
dotnet tool install --global Sentry.AssemblyAlias
```


Expand Down
1 change: 1 addition & 0 deletions src/Alias.Lib/Alias.Lib.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>Sentry.AssemblyAlias.Lib</PackageId>
<TargetFrameworks>net10.0;net48;netstandard2.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GeneratePackageOnBuild Condition="$(Configuration) == 'Release'">true</GeneratePackageOnBuild>
Expand Down
3 changes: 2 additions & 1 deletion src/Alias.MsBuild/Alias.MsBuild.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageId>Sentry.AssemblyAlias.MsBuild</PackageId>
Comment thread
cursor[bot] marked this conversation as resolved.
<TargetFramework>netstandard2.0</TargetFramework>
Comment thread
sentry[bot] marked this conversation as resolved.
<Description></Description>
<DevelopmentDependency>true</DevelopmentDependency>
Expand All @@ -22,7 +23,7 @@
<Pack>true</Pack>
<PackagePath>task</PackagePath>
</Content>
<Content Include="build\Alias.MsBuild.targets">
<Content Include="build\Sentry.AssemblyAlias.MsBuild.targets">
<Pack>true</Pack>
<PackagePath>build</PackagePath>
</Content>
Expand Down
1 change: 1 addition & 0 deletions src/Alias/Alias.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<PackageId>Sentry.AssemblyAlias</PackageId>
<ToolCommandName>assemblyalias</ToolCommandName>
<PackAsTool>True</PackAsTool>
<DebugType>embedded</DebugType>
Expand Down
2 changes: 1 addition & 1 deletion src/AssemblyToProcess/AssemblyToProcess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
<ProjectReference Include="..\AssemblyToInclude\AssemblyToInclude.csproj" />
<Alias_AssembliesToSkipRename Include="AssemblyToInclude" />
</ItemGroup>
<Import Condition="$(Configuration) == 'IncludeAliasTask'" Project="$(ProjectDir)..\Alias.MsBuild\build\Alias.MsBuild.targets" />
<Import Condition="$(Configuration) == 'IncludeAliasTask'" Project="$(ProjectDir)..\Alias.MsBuild\build\Sentry.AssemblyAlias.MsBuild.targets" />
</Project>
Loading