Questions tagged [al.exe]

The Assembly Linker (al.exe) in .NET generates a file that has an assembly manifest from one or more files that are either modules or resource files.

13 questions
6
votes
2 answers

MS Build task cannot find AL.EXE

The issue is the following: C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2863,5): error MSB3086: Task could not find "AL.exe" using the SdkToolsPath "" or the registry key…
Alex MAN
  • 111
  • 1
  • 6
6
votes
2 answers

Error -1073741819 (0xC0000005) when executing AL.EXE from Post-Build event in Visual Studio 2015 Update 1

Using Visual Studio 2015 Update 1, I'm experimenting a problem (that didn't happened with Visual Studio 2015) in a Visual C++ CLR class library project (C++/CLI) when running the command AL.EXE in Post-Build Event: The AL.EXE application crashed and…
joseangelmt
  • 2,018
  • 18
  • 32
5
votes
4 answers

Linking .Net Assemblies

This is all hypothetical, so please bear with me. Say I'm writing a tool in C# called Foo. The output is foo.exe. I've found some really great library that I like to use called Bar, which I can reference as bar.dll in my project. When I build my…
user6202
  • 63
  • 4
4
votes
1 answer

Azure Devops pipeline cannot find al.exe

I'm migrating an on-prem build onto Azure Devops. I am using a default Azure build agent with nothing specified over the default agent config. Here is the part of the build pipeline YAML that is throwing an error: - task: NuGetCommand@2 …
Badgerspot
  • 2,301
  • 3
  • 28
  • 42
3
votes
0 answers

When do I need al.exe (Assembly Linker)?

I'm reading about localization and there is one subject I don't really get. In the book I'm reading (Developing ASP.Net MVC 4 Web Applications) it says I can use Assembly Linker (al.exe) to create satellite assemblies from .resx files so that the…
Andreas
  • 2,336
  • 2
  • 28
  • 45
2
votes
1 answer

al.exe parameter too long

I am trying to create localized satellite assemblies for a product i'm working on. I'm using the resgen.exe tool to compile the .resx files in my project into .resource files. I then use the following command to embed the resource file into a new…
sangers
  • 176
  • 1
  • 6
2
votes
1 answer

Problem compiling resource file to library

I have a web application built in asp.net, which uses resource files to support multiple languages. The problem I have is that I can only add a new language file in Visual Studio, and I have to rebuild the whole application to have a the new…
Zoliqa
  • 1,015
  • 2
  • 15
  • 36
1
vote
0 answers

How do I localize images in my ASP.NET site outside of visual studio?

I have a culture neutral resources.resx file which contains text strings and images. This compiles into "controls.web.dll". The requirement is that I generate satellite assemblies (eg. \fr\controls.web.resources.dll for french) post code-freeze…
0
votes
1 answer

Strong Named satellite assemblies using ResGen & AL with multiple resx / resources files

For whatever reason, when compiling multiple .resources files into a single satellite assembly (.dll) the resources will not show. Compiling a single resource will work. Here are the steps I used... We have a project called "Report Viewer". This…
MPavlak
  • 2,133
  • 1
  • 23
  • 38
0
votes
1 answer

MSBuild AL (assembly linker) timing issue?

I'm attempting to use the AL task in my MSBuild script and each time I run it I get different results. $([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))
adamwtiko
  • 2,865
  • 8
  • 39
  • 47
0
votes
1 answer

Visual Studio and msbuild produces .net 4 resources dlls instead of 3.5

If you follow the instructions on Access resx resource files from another project to create translations using resx files, when the project is .net 3.5 it is not working and it seems to ignore specified culture. It seems that the problem is specific…
Panagiotis Lefas
  • 1,113
  • 2
  • 12
  • 24
0
votes
1 answer

How to embed .NET modules into an independent assembly?

I'm trying to automate assembly generation from netmodules. I tried to use "al.exe" tool with this commande line : al module1.netmodule module2.netmodule /target:library /out:assembly.dll. My problem is that my assembly does not embed my netmodules…
Azul
  • 1
0
votes
1 answer

Does AL.exe work with X.509 Certificates

I would like to delaySign and later fully sign .NET assemblies with X.509 Certificates. How would I do this?
wkada
  • 207
  • 1
  • 2
  • 9